dataSource property
The location data source used for generating location updates.
LocationDisplay uses a location data source to provide the current position of the device. To start receiving location updates, and display the current location, you must start the location data source.
By default the location data source obtains locations from the device's operating system.
Alternative location data sources include:
- SimulatedLocationDataSource
NmeaLocationDataSource
IndoorsLocationDataSource
RouteTrackerLocationDataSource
Implementation
LocationDataSource get dataSource => _dataSource.value;
Implementation
set dataSource(LocationDataSource value) => _dataSource.value = value;