distanceTo abstract method

double? distanceTo(
  1. RoutePosition to
)

Distance to another point on the route. Return none if point on another route. May be less 0 if position "to" stay before this position.

Implementation

core.double? distanceTo(RoutePosition to);