Components All New MacOS Windows Linux iOS
Examples Mac & Win Server Client Guides Statistic FMM Blog Deprecated Old


Sets the coordinate for the annotation (or overlay).

Component Version macOS Windows Linux Server iOS SDK
MapView 9.4 ✅ Yes ❌ No ❌ No ❌ No ✅ Yes
MBS( "MapView.SetAnnotationCoordinate"; MapView; Annotation Identifier; JSON )   More


Parameter Description Example
MapView The map view reference number. $$MapView
Annotation Identifier The identifier for the annotation to remove. "82001"
JSON The JSON to describe the coordinate.
Can include keys longitude and latitude with values or a key address with address string.
"{ \"address\": \"Restaurant Waldfrieden, Nickenich\" }"


Returns OK or error.


Sets the coordinate for the annotation (or overlay).


Changes position of Pin:

Set Variable [ $json ; Value: "{ \"address\": \"Restaurant Waldfrieden, Nickenich\" }" ]
Set Variable [ $r ; Value: MBS( "MapView.SetAnnotationCoordinate"; $$MapView; "82001"; $JSON) ]

See also

Release notes

Blog Entries

This function is free to use.

Created 12nd September 2019, last changed 12nd September 2019

MapView.SelectedAnnotations - MapView.SetAnnotationDragImage