DistanceAlongRouteCalculatorError

public enum DistanceAlongRouteCalculatorError : Error

Defines the error cases that can occur while calculating the current distance along a route.

Important

This is a Public Preview API. It may be changed or removed at any time.
  • Occurs when there is no valid current segment on a route.

    Declaration

    Swift

    case invalidCurrentSegment