Components | All | New | MacOS | Windows | Linux | iOS | ||||
Examples | Mac & Win | Server | Client | Guides | Statistic | FMM | Blog | Deprecated | Old |
Sets new overlay points.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
MapView | 9.5 | ✅ Yes | ❌ No | ❌ No | ❌ No | ✅ Yes |
Parameter | Description | Example |
---|---|---|
MapView | The map view reference number. | $$MapView |
Overlay Identifier | The identifier for the overlay. | "82001" |
JSON | The JSON array with points. Can be given with objects for the coordinates. Each entry can contain either longitude & latitude pair, x and y pair or address value. |
"[ { \"latitude\" : 50.4, \"longitude\" : 7.3 }, { \"latitude\" : 50.5, \"longitude\" : 7.3 }, { \"latitude\" : 50.49, \"longitude\" : 7.4 }, { \"latitude\" : 50.4, \"longitude\" : 7.4 }]" |
Returns OK or error.
Change coordiantes for a polygon:
MBS( "MapView.SetOverlayPoints"; $$MapView; 82002; $NewCoordinates )
This function is free to use.
Created 20th September 2019, last changed 20th September 2019