distanceTo

Deprecated

This API will be made internal in the next major release.

Replace with

this.coordinate.distanceTo(that)

Calculates the geographical distance from this RoutePoint.coordinate to the GeoPoint given as an argument.

Return

Calculated distance.