snappedLocation property

CurrentLocation? snappedLocation
getter/setter pair

Current snapped location of the user, this is the location snapped to the route This value will stable if the user is not moving The location is always on the route, if the user is off route, the location will be snapped to the nearest point on the route

Implementation

CurrentLocation? snappedLocation;