mapshader.core.get_legend#
- mapshader.core.get_legend(source: MapSource)[source]#
Get the MapSource legend.
- Parameters:
source (mapshader.sources.MapSource) – The input datasource.
- Returns:
legend
- Return type:
list of dict
Get the MapSource legend.
source (mapshader.sources.MapSource) – The input datasource.
legend
list of dict