Components | All | New | MacOS | Windows | Linux | iOS | ||||
Examples | Mac & Win | Server | Client | Guides | Statistic | FMM | Blog | Deprecated | Old |
MapView.SetRotateEnabled
Enables or disables rotation.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
MapView | 9.0 | ✅ Yes | ❌ No | ❌ No | ❌ No | ✅ Yes |
MBS( "MapView.SetRotateEnabled"; MapView; Value ) More
Parameters
Parameter | Description | Example |
---|---|---|
MapView | The map view reference number. | $$MapView |
Value | The new setting. Pass 1 to enable or 0 to disable. |
1 |
Result
Returns OK or error.
Description
Enables or disables rotation.A Boolean value indicating whether the map camera’s heading information is used.
When this property is set to 1 and a valid camera is associated with the map, the camera’s heading angle is used to rotate the plane of the map around its center point. When this property is set to false, the camera’s heading angle is ignored and the map is always oriented so that true north is situated at the top of the map view.
See also
- MapView.GetPitchEnabled
- MapView.GetRotateEnabled
- MapView.GetScrollEnabled
- MapView.GetZoomEnabled
- MapView.SetPitchEnabled
- MapView.SetScrollEnabled
- MapView.SetZoomEnabled
Example Databases
Created 14th January 2019, last changed 15th January 2019