react-leaflet-kml
react-leaflet-kml copied to clipboard
Style with leaflet kml
I am trying to change the fillColor of the kml component.
{Kml && <ReactLeafletKml kml={Kml}
style={{fillColor:'green',
fillOpacity: 0.1}}
/>}
But it does not work like geojson.
<GeoJSON key="my-geojson" data={geojsonLondon}
style={{fillColor:'blue',
fillOpacity: 0.1}}/>
Are there any solves?