InstructionPoint

public struct InstructionPoint

Represents the route instruction coordinate and its distance offset along the route.

  • Creates an instance with the specified coordinate and route offset.

    Declaration

    Swift

    public init(coordinate: CLLocationCoordinate2D, routeOffset: Measurement<UnitLength>)

    Parameters

    coordinate

    CLLocationCoordinate2D from the Route polyline.

    routeOffset

    The distance offset along the route.

  • CLLocationCoordinate2D from the Route polyline.

    Declaration

    Swift

    public let coordinate: CLLocationCoordinate2D
  • The distance offset along the route.

    Declaration

    Swift

    public let routeOffset: Measurement<UnitLength>