MapController constructor

MapController({
  1. UserTrackingOption? initMapWithUserPosition,
  2. GeoPoint? initPosition,
  3. BoundingBox? areaLimit = const BoundingBox.world(),
  4. bool useExternalTracking = false,
})

Implementation

MapController({
  super.initMapWithUserPosition,
  super.initPosition,
  super.areaLimit = const BoundingBox.world(),
  super.useExternalTracking,
})  : assert(
        (initMapWithUserPosition != null) ^ (initPosition != null),
      ),
      super(
        customTile: null,
      );