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: 10.1   10.2   10.3   10.4   10.5   11.0   11.1   11.2   11.3   11.4    Statistic    FMM    Blog  

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

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


MapView.GetOverlayLineWidth - MapView.GetOverlayStrokeColor

Feedback: Report problem or ask question.