Tile Layers#
- class RasterWebTile(url: str, options: dict[str, str | bool | int | float] | None = None, kind: str = 'raster_web_tile')[source]#
A class for the background tile layer of Leaflet map that uses a raster tile server as the source of the tiles.
The available options can be found at: https://leafletjs.com/reference.html#tilelayer
- classmethod from_xyzservices(provider: TileProvider) RasterWebTile [source]#
Create a RasterWebTile from an xyzservices TileProvider.
- Parameters:
provider – The xyzservices TileProvider to use.
- Returns:
A RasterWebTile instance.
- class WMSWebTile(url: str, options: dict[str, str | bool | int | float] | None = None, kind: str = 'wms_web_tile')[source]#
A class for the background tile layer of Leaflet map that uses a WMS service as the source of the tiles.
The available options can be found at: https://leafletjs.com/reference.html#tilelayer-wms
- classmethod from_xyzservices(provider: TileProvider) RasterWebTile #
Create a RasterWebTile from an xyzservices TileProvider.
- Parameters:
provider – The xyzservices TileProvider to use.
- Returns:
A RasterWebTile instance.