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.3   10.4   10.5   11.0   11.1   11.2   11.3   11.4   11.5   11.6    Statistic    FMM    Blog  

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

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


MapView.PlanRoute - MapView.Release

Feedback: Report problem or ask question.




Links
MBS FileMaker Plugins

Start Chat