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.SetAnnotationCoordinate
Sets the coordinate for the annotation (or overlay).
| Component | Version | macOS | Windows | Linux | Server | FileMaker iOS SDK |
| MapView | 9.4 | Yes | No | No | No | Yes |
Parameters
| 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\" }" |
Result
Returns OK or error.
Description
Sets the coordinate for the annotation (or overlay).Examples
Changes position of Pin:
Set Variable [ $json ; Value: "{ \"address\": \"Restaurant Waldfrieden, Nickenich\" }" ]
Set Variable [ $r ; Value: MBS( "MapView.SetAnnotationCoordinate"; $$MapView; "82001"; $JSON) ]
See also
Blog Entries
Release notes
- Version 9.4
Created 12nd September 2019, last changed 12nd September 2019
MapView.SelectedAnnotations - MapView.SetAnnotationDragImage
Feedback: Report problem or ask question.
Links
MBS Xojo Plugins