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.SetOverlayPoints
Sets new overlay points.
| Component | Version | macOS | Windows | Linux | Server | FileMaker iOS SDK |
| MapView | 9.5 | Yes | No | No | No | Yes |
MBS( "MapView.SetOverlayPoints"; MapView; Overlay Identifier; JSON ) More
Parameters
| 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 }]" |
Result
Returns OK or error.
Description
Sets new overlay points.Only for polygon and poly line overlays.
Examples
Change coordiantes for a polygon:
MBS( "MapView.SetOverlayPoints"; $$MapView; 82002; $NewCoordinates )
See also
Example Databases
Blog Entries
Release notes
- Version 9.5
- Added MapView.GetAnnotationImage, MapView.GetOverlayPoints, MapView.SetAnnotationImage and MapView.SetOverlayPoints functions.
Created 20th September 2019, last changed 20th September 2019
MapView.SetOverlayLineWidth - MapView.SetOverlayStrokeColor
Feedback: Report problem or ask question.
Links
MBS FileMaker blog