On Streets
class OnStreets<T, O : RoutingServiceOptions<O>?, S : RoutingService<GeoPosition, O>?> : RoutingStrategy<T, GeoPosition>
Content copied to clipboard
This strategy computes a route along streets allowed for a selected RoutingServiceOptions connecting the starting and ending point.
Parameters
Constructors
Functions
Link copied to clipboard
open fun cloneIfNeeded(destination: Node<T>, reaction: Reaction<T>): RoutingStrategy<T, P>
Content copied to clipboard
Link copied to clipboard
open fun computeRoute(currentPos: GeoPosition, finalPos: GeoPosition): Route<GeoPosition>
Content copied to clipboard