ProjectedRouteSection

public struct ProjectedRouteSection

Describes part of the ProjectedRoute.

Important

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

Lifecycle

  • Initializer

    Declaration

    Swift

    public init(
        mapPositions: [MapPosition],
        startBoundary: Boundary,
        endBoundary: Boundary
    )

    Parameters

    mapPositions

    Map positions that describe the section.

    startBoundary

    Start boundary of the section.

    endBoundary

    End boundary of the section.

Public

  • Indicates if the ProjectedRouteSection is on the map.

    Important

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

    Declaration

    Swift

    public enum Boundary : Int
  • Map positions that describe the section.

    Declaration

    Swift

    public let mapPositions: [MapPosition]
  • Start boundary of the projected route section.

    Declaration

    Swift

    public let startBoundary: Boundary
  • End boundary of the projected route section.

    Declaration

    Swift

    public let endBoundary: Boundary