SYRoutePositionSimulator is for demonstration purposes. It simulates position along the route with the average speed of road element. It replaces gps source of location and it will affect all map view instances. More...
#import <SYRouting.h>
Instance Methods | |
(nullable instancetype) | - initWithRoute: |
Initialize with route. More... | |
Instance Methods inherited from SYSimulatorPositionSource | |
(void) | - pause |
Pause simulation. More... | |
(void) | - seekTo: |
Seek the simulation up to some percentage value. More... | |
Instance Methods inherited from SYPositionDataSource | |
(void) | - start |
Notifies the data source that position updates should start. More... | |
(void) | - stop |
Notifies the data source that position updates should stop. More... | |
Additional Inherited Members | |
Properties inherited from SYSimulatorPositionSource | |
BOOL | repeat |
Repeat simulation after reaching the destination. More... | |
CGFloat | speedMultiplier |
Speed multiplier for simulator. More... | |
BOOL | isPaused |
Represents if the simulation is paused, returns no if isnt. More... | |
Properties inherited from SYPositionDataSource | |
BOOL | backgroundUpdatesEnabled |
Indicates whether or not position updates should continue when the app is sent to the background. Default value is NO; The position data source in use must support background updates in order to use positioning-dependent features such as navigation in the background. More... | |
SYRoutePositionSimulator is for demonstration purposes. It simulates position along the route with the average speed of road element. It replaces gps source of location and it will affect all map view instances.
- (nullable instancetype) initWithRoute: | (nonnull SYRoute *) | route |
Initialize with route.
route | SYRoute object. |