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.2
12.3
12.4
12.5
13.0
13.1
13.2
13.3
13.4
13.5
Statistic
FMM
Blog
Sets visible map rectangle.
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 |
Rect | The map rectangle. A JSON with x, y, width and height. |
Returns OK or error.
Sets visible rect:
MBS( "MapView.SetVisibleMapRect"; $$MapView; "{ \"x\" : 140455603.74390683, \"height\" : 799234.62509903312, \"y\" : 86194618.191567183, \"width\" : 1501801.5633610785}" )
This function is free to use.
Created 14th January 2019, last changed 15th January 2019