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:
12.2
12.3
12.4
12.5
13.0
13.1
13.2
13.3
13.4
13.5
Statistic
FMM
Blog
Returns the distance (in meters) of the two locations.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
CLGeocoder | 6.1 | ✅ Yes | ❌ No | ❌ No | ❌ No | ✅ Yes |
Parameter | Description | Example |
---|---|---|
latitude1 | The latitude value for the geo coordinate. | 51.50939 |
longitude1 | The latitude value for the geo coordinate. | -0.11832 |
latitude2 | The latitude value for the geo coordinate. | 52.518611 |
longitude2 | The latitude value for the geo coordinate. | 13.408333 |
Returns number or error.
Returns distance between London and Berlin:
MBS( "CLGeocoder.Distance"; 51.50939; -0.11832; 52.518611; 13.408333)
This function checks for a license.
Created 18th February 2016, last changed 9th November 2021