MapController.withUserPosition constructor

MapController.withUserPosition({
  1. BoundingBox? areaLimit = const BoundingBox.world(),
  2. bool useExternalTracking = false,
  3. UserTrackingOption trackUserLocation = const UserTrackingOption(enableTracking: false, unFollowUser: false),
})

Implementation

MapController.withUserPosition({
  super.areaLimit = const BoundingBox.world(),
  super.useExternalTracking = false,
  UserTrackingOption trackUserLocation = const UserTrackingOption(
    enableTracking: false,
    unFollowUser: false,
  ),
}) : super(
        initMapWithUserPosition: trackUserLocation,
        initPosition: null,
        customTile: null,
      );