Closed tbone closed 7 years ago
If a geojson has style attributes (fill, outline, opacity, etc.) in the geojson itself, possible for map-maker to read those? This question via Chris. Example of SVG/CSS style in geojson:
{ "type": "Feature", "geometry": { "type": "Polygon", "coordinates": [[ [-180.0, 10.0], [20.0, 90.0], [180.0, -5.0], [-30.0, -90.0] ]] } "style":{ //all SVG styles allowed "fill":"red", "stroke-width":"3", "fill-opacity":0.6 } "className":{ "baseVal":"A class name" } }
Wrapped into https://github.com/datadesk/web-map-maker/issues/72
If a geojson has style attributes (fill, outline, opacity, etc.) in the geojson itself, possible for map-maker to read those? This question via Chris. Example of SVG/CSS style in geojson: