startLocationUpdating method
Starts receiving the user’s current location.
use this method to start only receiving the user location without controlling the map which you can do that manually
Implementation
Future<void> startLocationUpdating({
bool enableStopFollow = false,
bool disableUserMarkerRotation = false,
Anchor anchor = Anchor.center,
bool useDirectionMarker = false,
}) async {
Permission.location
.onGrantedCallback(() async {
await osmBaseController.startLocationUpdating();
})
.onLimitedCallback(() async {
await osmBaseController.startLocationUpdating();
})
.onLimitedCallback(() async {
await osmBaseController.startLocationUpdating();
})
.request();
}