$(function () { var returnsValue; // Type: number // Parameters var lonLat1; // Type: Point var longLat2; // Type: Point returnsValue = $(".selector").wijmaps("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.