Tilt

setTilt

mapInstance.setTilt(value);

Parameters

Parameters (Required)
Description
Remark

value

Sets the slope/tilt of the map view. The parameter ranges from 0 to 60. If the value is closer to 0, then the map appears to be 2D. If the value is close to 60, the map appears to be 3D.

Numeric (0-60)

Returns

Parameter
Describe
Remark

Example

mapInstance.setTilt(40);

getTilt

mapInstance.getTilt();

Parameters

Parameter (Required)
Description
Remark

Returns

Parameter
Description
Remark

Example

mapInstance.getTilt();
return : 40

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

Last updated