mapshader.core.render_geojson#
- mapshader.core.render_geojson(source: MapSource, simplify=None)[source]#
Export a MapSource object to a geojson object.
- Parameters:
source (mapshader.sources.MapSource) – The input datasource.
simplify (int, default=None) – Get the simplified representation of each geometry according to the toleranced distance.
- Returns:
geojson
- Return type:
string