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:
11.0
11.1
11.2
11.3
11.4
11.5
12.0
12.1
12.2
12.3
Statistic
FMM
Blog
MapView.CoordinateForPoint
Queries coordinate for a point.
Component | Version | macOS | Windows | Linux | Server | iOS SDK | License |
MapView | 11.5 | ✅ Yes | ❌ No | ❌ No | ❌ No | ✅ Yes | Free |
Parameters
Parameter | Description | Example |
---|---|---|
MapView | The map view reference number. | $$MapView |
X | The x coordinate relative to the map view. | 5 |
Y | The y coordinate relative to the map view. | 5 |
Result
Returns JSON or error.
Description
Queries coordinate for a point.Returns JSON, which contains longitude, latitude, x and y numbers.
Examples
Query top left coordinate:
MBS( "MapView.CoordinateForPoint"; $$MapView; 0; 0 )
Example result:
{
"y" : 0,
"latitude" : 50.562339495914216,
"x" : 0,
"longitude" : 6.4818784225510342
}
Query bottom right coordinate:
MBS( "MapView.CoordinateForPoint"; $$MapView; MBS( "MapView.GetWidth"; $$MapView); MBS( "MapView.GetHeight"; $$MapView) )
Example result:
{
"y" : 463,
"latitude" : 50.233777453829191,
"x" : 870,
"longitude" : 7.4504055550006285
}
See also
Release notes
- Version 11.5
- Added MapView.CoordinateForPoint and MapView.PointForCoordinate functions.
Blog Entries
- Neues MBS FileMaker Plugin 11.5 - Über 6600 Funktionen in einem Plugin
- MBS FileMaker Plugin 11.5
- MBS FileMaker Plugin, version 11.5pr3
Created 13th October 2021, last changed 13th October 2021
MapView.Annotations - MapView.CreateWithControl
Feedback: Report problem or ask question.
