MapController.customLayer constructor

MapController.customLayer({
  1. UserTrackingOption? initMapWithUserPosition,
  2. GeoPoint? initPosition,
  3. BoundingBox? areaLimit = const BoundingBox.world(),
  4. required CustomTile customTile,
})

Implementation

MapController.customLayer({
  super.initMapWithUserPosition,
  super.initPosition,
  super.areaLimit = const BoundingBox.world(),
  required CustomTile customTile,
})  : assert(
        (initMapWithUserPosition != null) || initPosition != null,
      ),
      super(
        customTile: customTile,
      );