SYRoutePositionSimulator Class Reference

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>

Inheritance diagram for SYRoutePositionSimulator:
Collaboration diagram for SYRoutePositionSimulator:

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...
 

Detailed Description

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.

Method Documentation

◆ initWithRoute:

- (nullable instancetype) initWithRoute: (nonnull SYRoute *)  route

Initialize with route.

Parameters
routeSYRoute object.

The documentation for this class was generated from the following file: