routingDistance

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

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


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(source)

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]