enableTracking method
this method will enabled tracking user location,enableStopFollow
is true ,
the map will follow the user location when it change,
to disable rotation of user marker, change disableUserMarkerRotation
to true (default : false)
Implementation
Future<void> enableTracking({
bool enableStopFollow = false,
bool disableUserMarkerRotation = false,
Anchor anchor = Anchor.center,
}) async {
await osmBaseController.enableTracking(
enableStopFollow: enableStopFollow,
disableMarkerRotation: disableUserMarkerRotation,
anchor: anchor,
);
}