routingDistance

open fun routingDistance(dest: Node<Any>): Double

Computes the distance along a map. Requires a MapEnvironment.

Return

the distance on a map

Parameters

dest

the destination, in form of a destination node


open fun routingDistance(dest: Number): Double

Computes the distance along a map. Requires a MapEnvironment.

Return

the distance on a map

Parameters

dest

the destination, in form of Node ID. Non integer numbers will be cast to integers by intValue.


Computes the distance along a map. Requires a MapEnvironment.

Return

the distance on a map

Parameters

dest

the destination


open fun routingDistance(dest: Tuple): Double

Computes the distance along a map. Requires a MapEnvironment.

Return

the distance on a map

Parameters

dest

the destination, as a Tuple of two values: [latitude, longitude]