Flyto

Move the map to an arbitrary point by animated action.

flyTo

mapInstance.flyTo(lat, lon, zoom, speed);

Parameters

Parameter (Required)
Description
Remark

lat

Latitude

Numeric

lng

Longitude

Numeric

zoom

Zoom level of the map

Numeric

Parameter (Optional)
Description
Remark

speed

Determines flying animation speed

(Default : 2.5)

Numeric

Returns

Parameter
Description
Remark

Example

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

The MOGOS Maps API requires an API Key, which can be obtained from the MOGOS Console website or contact [email protected].

Last updated