LaneSectionRoutePoint

public struct LaneSectionRoutePoint

Represents CLLocationCoordinate2D on the Route with information about the distance from the start and the position of the start coordinate.

Important

This is a Public Preview API. It may be changed or removed at any time.

Lifecycle

  • Initializer

    Declaration

    Swift

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

    Parameters

    coordinate

    The coordinate of the start point of the lane section.

    distance

    The distance from the start of the route.

Public

  • The coordinate of the start point of the lane section.

    Declaration

    Swift

    public let coordinate: CLLocationCoordinate2D
  • The distance from the start of the route.

    Declaration

    Swift

    public let distance: Measurement<UnitLength>