RoutingTraceDependantSpeed
class RoutingTraceDependantSpeed<T, O : RoutingServiceOptions<O>?, S : RoutingService<GeoPosition, O>?> : AbstractTraceDependantSpeed<T, O, S> (source)
This AbstractTraceDependantSpeed strategy computes the remaining distance by relying on maps data for the selected RoutingServiceOptions.
Parameters
Constructors
Link copied to clipboard
constructor(environment: MapEnvironment<T, O, S>, node: Node<T>, reaction: NodeReaction<T>, options: O)
Builds a new strategy estimating distances along routes computed with the given options.
Functions
Link copied to clipboard
open fun cloneIfNeeded(@Nonnull destination: Node<T>, @Nonnull reaction: NodeReaction<T>): RoutingTraceDependantSpeed<T, O, S>
Link copied to clipboard