enableTracking method

Future<void> enableTracking({
  1. bool enableStopFollow = false,
  2. bool disableUserMarkerRotation = false,
  3. Anchor anchor = Anchor.center,
})

enableTracking

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,
  );
}