CustomTile.osm constructor

CustomTile.osm({
  1. int maxZoomLevel = 19,
  2. int minZoomLevel = 2,
})

Implementation

CustomTile.osm({
  this.maxZoomLevel = 19,
  this.minZoomLevel = 2,
})  : urlsServers = [
        TileURLs(
          url: "https://{s}.tile.openstreetmap.org/",
          subdomains: [
            "a",
            "b",
            "c",
          ],
        ),
      ],
      tileExtension = ".png",
      sourceName = "mapnik",
      tileSize = 256,
      keyApi = null;