ReplayLocationManager
open class ReplayLocationManager : NavigationLocationManager
ReplayLocationManager replays an array of locations exactly as they were
recorded with the single exception of the location’s timestamp which will be
adjusted by interval between locations.
-
speedMultiplieradjusts the speed of the replay.Declaration
Swift
public var speedMultiplier: TimeInterval -
locationsto be replayed.Declaration
Swift
public var locations: [CLLocation] { get set } -
Events listener that will receive history events if replaying a
History.Declaration
Swift
public weak var eventsListener: ReplayManagerHistoryEventsListener? -
simulatesLocationused to indicate whether the location manager is providing simulated locations.Seealso
NavigationMapView.simulatesLocationDeclaration
Swift
public override var simulatesLocation: Bool { get set } -
Declaration
Swift
override open var location: CLLocation? { get set } -
A handler that is called when
ReplayLocationManagerfinished replayinglocations. Return true to start replay from the beginning.Declaration
Swift
public var replayCompletionHandler: ((ReplayLocationManager) -> Bool)? -
Declaration
Swift
public init(locations: [CLLocation]) -
Declaration
Swift
public init(history: History) -
Declaration
Swift
public convenience init(history: History, listener: ReplayManagerHistoryEventsListener?) -
Declaration
Swift
override open func startUpdatingLocation() -
Declaration
Swift
override open func stopUpdatingLocation()
Install in Dash
ReplayLocationManager Class Reference