LocationSimulator.withTrack constructor
- GPXTrack gpxTrack,
- LocationSimulatorOptions options
Create a location simulator
-
gpxTrackThe GPX track to travel. -
optionsThe options to specify how the location simulator will behave.
Throws InstantiationException. Indicates what went wrong when the instantiation was attempted.
Implementation
factory LocationSimulator.withTrack(GPXTrack gpxTrack, LocationSimulatorOptions options) => $prototype.withTrack(gpxTrack, options);