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:
12.1
12.2
12.3
12.4
12.5
13.0
13.1
13.2
13.3
13.4
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}")
This function is free to use.
Created 14th January 2019, last changed 15th January 2019