API DOCUMENTATION

Flyto

Set the longitude, latitude, map size to zoom, and speed to fly. Combination the set values and flies as if they were flying to the specified coordinates.

mapInstance.flyTo(obj);

 

Parameter : Flyto
Parameter Description
Lat Set the latitude. Type is numeric type
Ing Set the longitude. Type is numeric type
zoom Set the map's zoom level. Type is numeric type
speed (optional) Set the flying speed. Type is numeric type,
Default value is 2.5

 

Example
mapInstance.flyTo ({
lat: 37.553749,
lng: 126.808706,
zoom: 15,
speed: 4
})