var instance; // Type: wijmo.maps.ICoordConverter; var value; // Type: number // Parameters var lonLat1; // Type: IPoint var longLat2; // Type: IPoint value = instance.distance(lonLat1, longLat2);
Parameters
- lonLat1
- The coordinate of first point, in geographic unit.
- longLat2
- The coordinate of second point, in geographic unit.
Return Value
The distance between to points, in meters.