gws.plugin.mbtiles_layer.provider¶
MBTiles provider.
Source code: gws.plugin.mbtiles_layer.provider
Module Contents¶
- class gws.plugin.mbtiles_layer.provider.Config(*args, **kwargs)¶
Bases:
gws.ConfigAccess to an MBTiles file.
- path: gws.FilePath¶
Path to the MBTiles file.
- class gws.plugin.mbtiles_layer.provider.Object¶
Bases:
gws.NodeMBTiles file provider.
- cache_hash()¶
Return a hash that identifies the data of the provider.
- Returns:
A hash of the file path.
- configure()¶
Configuration hook.
Called when the node is initialized. Raising an exception here aborts the creation of the node.