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: RouteSegment.Type)
Parameters
coordinates
Array of coordinates.
type
Route segment type.
-
Route segment type.
See moreDeclaration
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