Components | All | New | MacOS | Windows | Linux | iOS | ||||
Examples | Mac & Win | Server | Client | Guides | Statistic | FMM | Blog | Deprecated | Old |
MapView.SetZoomEnabled
Enables or disables zoom.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
MapView | 9.0 | ✅ Yes | ❌ No | ❌ No | ❌ No | ✅ Yes |
MBS( "MapView.SetZoomEnabled"; 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 zoom.A Boolean value that determines whether the user may use pinch gestures to zoom in and out of the map.
See also
- MapView.GetPitchEnabled
- MapView.GetRotateEnabled
- MapView.GetScrollEnabled
- MapView.GetZoomEnabled
- MapView.SetPitchEnabled
- MapView.SetRotateEnabled
- MapView.SetScrollEnabled
Example Databases
Created 14th January 2019, last changed 15th January 2019