| The centering of the map |
setCenterPos function centering the current map view with respect to point of the given geographical coordinates.
Available parameters:
| lonLat | {EMAPI.LonLat} EMAPI.LonLat object representing geographical coordinates of desired point. |
| zoom | {Integer} The requested increase (value from the range 0-17). |
map.setCenterPos(new EMAPI.LonLat(19.4384569767695,51.761249510014),12);
EMAPI.LonLat(lon,lat);
where:
| lon | {Number} Longitude. |
| lat | {Number} Latitude. |
An example of the action: