gws.plugin.tile_layer.provider¶
XYZ tile service provider.
Source code: gws.plugin.tile_layer.provider
Module Contents¶
- class gws.plugin.tile_layer.provider.Config(*args, **kwargs)¶
Bases:
gws.ConfigXYZ tile service.
- grid: gws.lib.grid.Config | None¶
Tile grid of the source. (changed in 8.5)
- class gws.plugin.tile_layer.provider.Object¶
Bases:
gws.NodeXYZ tile service.
- grid: gws.MapGrid¶
Tile grid of the source, web mercator by default.
- cache_hash()¶
Compute a hash of the provider settings.
- Returns:
Hash string, built from the URL and the grid.
- configure()¶
Configuration hook.
Called when the node is initialized. Raising an exception here aborts the creation of the node.