react-leaflet-kml icon indicating copy to clipboard operation
react-leaflet-kml copied to clipboard

Style with leaflet kml

Open zcemycl opened this issue 3 years ago • 7 comments

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?

zcemycl avatar May 19 '21 22:05 zcemycl