locations property

List<ArcGISLocation> locations

A collection of locations that are iterated sequentially.

As the collection is iterated, the LocationDataSource.updateLocation is fired for each location. The frequency at which LocationDataSource.updateLocation is called is determined by SimulatedLocationDataSource.iterationRate. Populate the collection by calling SimulatedLocationDataSource.setLocationsWithPolyline or by directly assigning a collection of ArcGISLocation to this property.

Implementation

List<ArcGISLocation> get locations => _locations.value;