Home > @magiclane/maps-sdk > RouteTrafficEvent > distanceToDestination
RouteTrafficEvent.distanceToDestination property
Get the distance in meters from starting point on current route of the traffic event to the destination.
Signature:
get distanceToDestination(): number;