OnStreets

This strategy computes a route along streets allowed for a selected RoutingServiceOptions connecting the starting and ending point.

Parameters

<T>

Concentration type

Constructors

Link copied to clipboard
constructor(environment: MapEnvironment<T, O, S>, options: O)
Builds a new strategy computing routes on streets with the given options.

Functions

Link copied to clipboard
open fun cloneIfNeeded(destination: Node<T>, reaction: NodeReaction<T>): RoutingStrategy<T, P>

Returns a copy for destination and reaction when this strategy is stateful, or this object otherwise.

Link copied to clipboard
Computes a route from currentPos to finalPos.