Topics   All   MacOS (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server   Client   Old   Deprecated   Guides   Examples   Videos
New in version: 9.5   10.0   10.1   10.2   10.3   10.4   10.5   11.0   11.1   11.2    Statistic    FMM    Blog  

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

Example Databases

Created 14th January 2019, last changed 15th January 2019


MapView.SetRegion - MapView.SetScript

Feedback: Report problem or ask question.