pan()
The function moves the map by the given number of steps
Synopsis
void pan(int horizontalSteps, int verticalSteps)
Parameter
Parameter | Description |
---|---|
horizontalSteps |
Specifies the number of steps in horizontal direction. A positive value moves the map to the right, negative values to the left, 0 results in no horizontal movement. |
verticalSteps |
Specifies the number of steps in vertical direction. A positive value moves the map up, negative values down, 0 results in no vertical movement. |
Description
This function moves the visible map area by a specified number of steps in horizontal and vertical direction. It can be used to build a custom navigation menu for the Maps EWO.
Maps_ewo1.pan(-1, 1);
Assignment
See also