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
Adds a circle overlay.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
MapView | 9.4 | ✅ Yes | ❌ No | ❌ No | ❌ No | ✅ Yes |
Parameter | Description | Example |
---|---|---|
MapView | The map view reference number. | $$MapView |
JSON | The JSON to describe the circle. | { "address": "Nickenich", "radius": 500, "title": "Monkeybread Software", "subtitle": "MBS is here", "color": "#FF000077" } |
Returns identifier or error.
latitude | The latitude of the coordinate. |
longitude | The longitude of the coordinate. |
address | The address to lookup to find latitude or longitude. |
radius | The radius in meter. |
title | The title for the circle. |
subtitle | The subtitle for the item. |
strokeColor | The stroke color as name or hex notation. |
fillColor | The fill color as name or hex notation. |
identifier | The identifier to use. Can be empty to get new identifier auto assigned. |
Add circle for MBS with address string:
Set Variable [ $r ; Value: MBS( "MapView.AddCircle"; $$MapView; "{ \"address\": \"Nickenich\", \"radius\": 500, \"title\": \"Monkeybread Software\", \"subtitle\": \"MBS is here\", \"color\": \"#FF000077\" }") ]
Add circle for MBS with coordinates:
Set Variable [ $r ; Value: MBS( "MapView.AddCircle"; $$MapView; "{ \"longitude\": 7.329722, \"latitude\": 50.413333, \"radius\": 500, \"title\": \"Monkeybread Software\", \"subtitle\": \"MBS is here\", \"color\": \"#FF000077\" }") ]
This function is free to use.
Created 7th September 2019, last changed 11st September 2019