RouteSegment
public struct RouteSegment
Route segment.
Important
This is a Public Preview API. It may be changed or removed at any time.-
Initialization of the polyline object.
Declaration
Swift
public init(coordinates: [CLLocationCoordinate2D], type: RouteSegmentType)
Parameters
coordinates
Array of coordinates.
type
Route segment type.
-
Array of coordinates.
Declaration
Swift
public let coordinates: [CLLocationCoordinate2D]
-
Route segment type.
Declaration
Swift
public let type: RouteSegmentType