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>
|
| BOOL | repeat |
| | Repeat simulation after reaching the destination. More...
|
| |
| CGFloat | speedMultiplier |
| | Speed multiplier for simulator. More...
|
| |
| BOOL | isPaused |
| | Represents if the simulation is paused. More...
|
| |
| 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.
◆ createWithRoute:completion:
| + (void) createWithRoute: |
|
(nonnull SYRoute *) |
route |
| completion: |
|
(nonnull SYRoutePositionSimulatorBlock) |
completion |
|
|
| |
Asynchronously create instance.
- Parameters
-
| route | SYRoute object. |
| completion | Completion block which is called when instance is created. |
◆ __attribute__ [1/2]
| - ((unavailable("Use) createWithRoute: |
|
|
|
◆ __attribute__ [2/2]
| + ((unavailable("Use) createWithRoute: |
|
|
|
The documentation for this class was generated from the following file: