Outdoor tile source: vector MVT or raster imagery. More...
Public Member Functions | |
| TileProvider (String mbtiles, int attribution) | |
| Default constructor. | |
Public Attributes | |
| TileSchema | schema |
Tile schema TileSchema. Used when kind is vector. | |
| HttpTileSource | http |
| Remote XYZ source HttpTileSource. Ignored when mbtiles is set. | |
| MbtilesTileSource | mbtiles |
| Local MBTiles pack MbtilesTileSource. | |
| int | minZoom |
| Minimum source zoom. Default: 0. | |
| int | maxZoom |
| Maximum source zoom (camera overzooms above this). Default: 14. | |
| String | attribution |
Attribution overlay text. Null on a vector source: © OpenStreetMap contributors. | |
| TileKind | kind |
| Vector MVT or raster imagery TileKind. Default: vector. | |
Outdoor tile source: vector MVT or raster imagery.
Set either http or mbtiles. When mbtiles is set, tiles are read only from that file — no network. kind selects the payload. For vector, schema must match the tiles. For raster, schema is ignored. Null LocationWindow.tileProvider keeps the default OSM Shortbread endpoint.
Referenced from LocationWindow tileProvider.
Definition at line 31 of file tile_provider.dart.
| TileProvider.TileProvider | ( | String | mbtiles, |
| int | attribution ) |
Default constructor.
| String TileProvider.attribution |
Attribution overlay text. Null on a vector source: © OpenStreetMap contributors.
Definition at line 63 of file tile_provider.dart.
| HttpTileSource TileProvider.http |
Remote XYZ source HttpTileSource. Ignored when mbtiles is set.
Definition at line 47 of file tile_provider.dart.
| TileKind TileProvider.kind |
Vector MVT or raster imagery TileKind. Default: vector.
Definition at line 67 of file tile_provider.dart.
| int TileProvider.maxZoom |
Maximum source zoom (camera overzooms above this). Default: 14.
Definition at line 59 of file tile_provider.dart.
| MbtilesTileSource TileProvider.mbtiles |
Local MBTiles pack MbtilesTileSource.
Definition at line 51 of file tile_provider.dart.
| int TileProvider.minZoom |
Minimum source zoom. Default: 0.
Definition at line 55 of file tile_provider.dart.
| TileSchema TileProvider.schema |
Tile schema TileSchema. Used when kind is vector.
Dart code snippet:
Definition at line 43 of file tile_provider.dart.