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
Sets the current region.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
MapView | 9.0 | ✅ Yes | ❌ No | ❌ No | ❌ No | ✅ Yes |
Parameter | Description | Example |
---|---|---|
MapView | The map view reference number. | $$MapView |
Value | An JSON with region details. Can be degree or meter based for span. latitude and longitude to define center coordinate. Add latitudeMeters/longitudeMeters or latitudeDelta/longitudeDelta to define span. If there is an address key, we query coordiantes of the given address string instead of using coordinates. |
Returns OK or error.
Sets region:
MBS( "MapView.SetRegion"; $$MapView; "{ \"longitude\" : 9.3726796999999955, \"longitudeDelta\" : 2.0140728459134323, \"latitude\" : 53.679886299999907, \"latitudeDelta\" : 0.63485953767546732}")
Created 14th January 2019, last changed 15th January 2019
MapView.SetPitchEnabled - MapView.SetRotateEnabled
Feedback: Report problem or ask question.