onLocationUpdated method - LocationListener class - core library - Dart API
onLocationUpdated
onLocationUpdated abstract method
- Location location
Called each time a new location is available.
In a navigation context while using the Navigator or VisualNavigator,
it's required to set the Location.time parameter for each Location
object so that the HERE SDK can map-match the locations properly.
If the Location.time parameter is missing, the location will be ignored.
For navigation, it is also recommended to provide the bearing and speed
parameters for each Location object.
Invoked on the main thread.
locationCurrent location.
Implementation
void onLocationUpdated(Location location);