Topics   All   Mac OS X (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server   Client   Old   Guides   Examples
New in version: 8.2   8.3   8.4   8.5   9.0   9.1   9.2   9.3   9.4   9.5    Statistic  

MapView.GetOverlayPoints

Queries overlay points.

Component Version macOS Windows Server FileMaker Cloud FileMaker iOS SDK
MapView 9.5 Yes No No No Yes
MBS( "MapView.GetOverlayPoints"; MapView; Overlay Identifier )   More

Parameters

Parameter Description Example value
MapView The map view reference number. $$MapView
Overlay Identifier The identifier for the overlay. "82001"

Result

Returns JSON or error.

Description

Queries overlay points.
Only for polygon and poly line overlays.
Returns JSON with points (x/y) and coordinates (longitude/latitude).

Examples

Queries points for an overlay:

MBS( "MapView.GetOverlayPoints"; $$MapView; 82002 )

Example result:
{
"points" : [
{
"y" : 90572524.642136484,
"latitude" : 50.399999999999984,
"x" : 139661002.52444446,
"longitude" : 7.3000000000000114
},
{
"y" : 90455421.722824365,
"latitude" : 50.499999999999993,
"x" : 139661002.52444446,
"longitude" : 7.3000000000000114
},
{
"y" : 90455421.722824365,
"latitude" : 50.499999999999993,
"x" : 139735567.92888889,
"longitude" : 7.4000000000000057
},
{
"y" : 90572524.642136484,
"latitude" : 50.399999999999984,
"x" : 139735567.92888889,
"longitude" : 7.4000000000000057
}
],
"pointCount" : 4
}

See also

Example Databases

Blog Entries

Release notes

Created 20th September 2019, last changed 20th September 2019


MapView.GetOverlayLineWidth   -   MapView.GetOverlayStrokeColor

Feedback: Report problem or ask question.




Links
MBS FileMaker tutorial videos