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.
-
speedMultiplier
adjusts the speed of the replay.Declaration
Swift
public var speedMultiplier: TimeInterval
-
locations
to 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?
-
simulatesLocation
used to indicate whether the location manager is providing simulated locations.Seealso
NavigationMapView.simulatesLocation
Declaration
Swift
public override var simulatesLocation: Bool { get set }
-
Declaration
Swift
override open var location: CLLocation? { get set }
-
A handler that is called when
ReplayLocationManager
finished 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()