RouteSegment

public struct RouteSegment

Route segment.

Important

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

Lifecycle

  • Initialization of the polyline object.

    Declaration

    Swift

    public init(coordinates: [CLLocationCoordinate2D], type: RouteSegment.Type)

    Parameters

    coordinates

    Array of coordinates.

    type

    Route segment type.

RouteSegmentType

  • Route segment type.

    See more

    Declaration

    Swift

    public enum RouteSegment.`Type` : Int
  • Array of coordinates.

    Declaration

    Swift

    public let coordinates: [CLLocationCoordinate2D]
  • Route segment type.

    Declaration

    Swift

    public let type: RouteSegment.Type