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.3
9.4
9.5
10.0
10.1
10.2
10.3
10.4
10.5
10.6
Statistic
FMM
Blog
MapView.SetRegion
Sets the current region.
| Component | Version | macOS | Windows | Linux | Server | FileMaker iOS SDK |
| MapView | 9.0 | Yes | No | No | No | Yes |
Parameters
| 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. |
Result
Returns OK or error.
Description
Sets the current region.Examples
Sets region:
MBS( "MapView.SetRegion"; $$MapView; "{ \"longitude\" : 9.3726796999999955, \"longitudeDelta\" : 2.0140728459134323, \"latitude\" : 53.679886299999907, \"latitudeDelta\" : 0.63485953767546732}")
See also
Created 14th January 2019, last changed 15th January 2019
MapView.SetPitchEnabled - MapView.SetRotateEnabled
Feedback: Report problem or ask question.
Links
MBS Xojo tutorial videos