It Mehod of Map External Object, gets the distance in meters between two locations.
| Name |
Type |
Description |
| FromLocation |
GeoPoint |
Specifies the first of the two locations to calculate the distance. |
| ToLocation |
GeoPoint |
Specifies the second location to calculate the distance between. |
- Distance:
type: Numeric
The distance between the two location points in meters.
- The result might differ on each platform because they use different reference models provided by its built-in functions.
If it is critical to get the same result, the developers can write their own function.
- The same method is apllied to the, deprecated, Geolocation External Object. However, in this case, the pameters change to Geolocation domain:
| Name |
Type |
Description |
| FromLocation |
Geolocation domain |
Specifies the first of the two locations to calculate the distance. |
| ToLocation |
Geolocation domain |
Specifies the second location to calculate the distance between. |