updateLocationAndCamera method - LocationIndicator class - mapview library - Dart API
updateLocationAndCamera
updateLocationAndCamera abstract method
- Location location,
- MapCameraUpdate cameraUpdate
Updates the indicator to a new location and applies a camera update at the same time.
Does nothing if the indicator instance is not enabled.
If accuracy visualized is set to true the field Location.horizontalAccuracyInMeters
determines the size of the accuracy indicator halo.
The altitude of the location is ignored.
-
locationThe updated location of the user. -
cameraUpdateThe update to apply to the camera.
Implementation
void updateLocationAndCamera(Location location, MapCameraUpdate cameraUpdate);