RouteStop
public struct RouteStop
Route stop that should be used together with import route functionality. It specifies location index within provided route locations track. Route stop can have additional stop delay, which will be included in expected time to arrival. During navigation the stop will be treated as stopover and will be reported as milestone when passing-by. Only available for the Navigate licence.
-
Index of location, used for route stop. Index should be >= 1, which prevents user from using origin location as route stop.
Declaration
Swift
public var locationIndex: Int32 -
Time that will be spent on route stop.
Declaration
Swift
public var stopDuration: TimeInterval -
Creates a new instance.
Declaration
Swift
public init(locationIndex: Int32, stopDuration: TimeInterval = 0)