Focal point for rotating a map view
Last updated 4 years ago
Takes an angle value (in degree) and sets "heading" (focal point) to rotate the map in the desired direction or angle. The default is 0 degree (North)
mapInstance.setHeading(value);
mapInstance.setHeading(90);
Gets the current focal point (heading) value in angle.
mapInstance.getHeading();
The angle in degree.
mapInstance.getHeading(); return : 90
Required Parameter
Description
Type
value
Angle in degree from 0 to 360
Numeric