Route
class Route : NSObject, Decodable
Represents a route through (potentially multiple) waypoints.
-
distance traveled by the route, in meters
Declaration
Swift
internal(set) open var distanceInM: Double { get }
-
estimated travel time, in number of seconds
Declaration
Swift
internal(set) open var durationInSeconds: Double { get }
-
navigation mode of the route
Declaration
Swift
internal(set) open var navigationMode: POIKit.NavigationMode { get }
-
coordinate representation of the route
Declaration
Swift
open var coordinates: [CLLocationCoordinate2D] { get }