Rotate

setRotate

mapInstance.setRotate(value);

Parameters

Parameter (Required)
Description
Remark

value

Angle in degree from 0 to 360

Numeric

Returns

Parameter
Description
Remark

Example

mapInstance.setRotate(90);

getRotate

mapInstance.getHeading();

Parameters

Parameter (Required)
Description
Remark

Returns

Parameter
Description
Remark

The angle in degree.

Example

mapInstance.getHeading();
return : 90

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

Last updated