SimulatedLocationDataSource.withPolylineAndSimulationParameters constructor
- Polyline polyline, {
- SimulationParameters? parameters,
Creates a simulated location data source which derives its collection of locations along an input polyline, optionally based on simulation parameters.
Parameters:
polyline
— A polyline that defines a simulated travel path.parameters
— Parameters to control how locations are created.