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

MapView.PointForCoordinate

Queries point for a coordinate.

Component Version macOS Windows Linux Server iOS SDK
MapView 11.5 ✅ Yes ❌ No ❌ No ❌ No ✅ Yes
MBS( "MapView.PointForCoordinate"; MapView; Latitude; Longitude )   More

Parameters

Parameter Description Example
MapView The map view reference number. $$MapView
Latitude The latitude of the coordinate.
Longitude The longitude of the coordinate.

Result

Returns JSON or error.

Description

Queries point for a coordinate.
Returns JSON, which contains longitude, latitude, x and y numbers.

Warning: X and Y coordinates can be outside the visible area of the map view!

Examples

Queries

MBS( "MapView.PointForCoordinate"; $$MapView; 50.41373; 7.31630 )

Example result:
{ "y" : 209.81376546738292, "latitude" : 50.413730000000001, "x" : 749.53684626735276, "longitude" : 7.3163 }

Release notes

Blog Entries

This function is free to use.

Created 13th October 2021, last changed 13th October 2021


MapView.PlanRoute - MapView.Release