MapController.publicTransportationLayer constructor

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

Implementation

MapController.publicTransportationLayer({
  super.initMapWithUserPosition,
  super.initPosition,
  super.areaLimit = const BoundingBox.world(),
})  : assert(
        (initMapWithUserPosition != null) || initPosition != null,
      ),
      super(
        customTile: CustomTile(
          urlsServers: [
            TileURLs(url: "https://tile.memomaps.de/tilegen/"),
          ],
          tileExtension: ".png",
          sourceName: "memomapsMapnik",
          tileSize: 256,
        ),
      );