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

MapView.GetOverlayPoints

Queries overlay points.

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

Parameters

Parameter Description Example
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

Release notes

Example Databases

Blog Entries

This function is free to use.

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


MapView.GetOverlayLineWidth - MapView.GetOverlayStrokeColor