SimulatedLocationManager
open class SimulatedLocationManager : NavigationLocationManager
The SimulatedLocationManager class simulates location updates along a given route.
The route will be replaced upon a RouteControllerDidReroute notification.
-
Specify the multiplier to use when calculating speed based on the RouteLeg’s
expectedSegmentTravelTimes.Declaration
Swift
public var speedMultiplier: Double -
Initalizes a new
SimulatedLocationManagerwith the given route.Declaration
Swift
public init(route: Route)Parameters
routeThe initial route.
Return Value
A
SimulatedLocationManager -
Initalizes a new
SimulatedLocationManagerwith the given routeProgress.Declaration
Swift
public init(routeProgress: RouteProgress)Parameters
routeProgressThe routeProgress of the current route.
Return Value
A
SimulatedLocationManager
Install in Dash
SimulatedLocationManager Class Reference