Closed KamilDwo closed 5 years ago
How to change style of GeoJSON element using Leaflet.
for example set this style: let style = { radius: 8, fillColor: "#ff7800", color: "#000", weight: 1, opacity: 1, fillOpacity: 0.8 };
let style = { radius: 8, fillColor: "#ff7800", color: "#000", weight: 1, opacity: 1, fillOpacity: 0.8 };
Oups, I forget this options...
Thanks for your PR! I added an example: https://github.com/tcoupin/leaflet-paintpolygon/blob/master/examples/4_style.html
How to change style of GeoJSON element using Leaflet.
for example set this style:
let style = { radius: 8, fillColor: "#ff7800", color: "#000", weight: 1, opacity: 1, fillOpacity: 0.8 };