1 résultat trouvé
- 08 nov. 2021, 18:54
- Forum : Javascript
- Sujet : How to optimize leaflet eachLayer method - javascript
- Réponses : 1
- Vues : 6309
Re: How to optimize leaflet eachLayer method - javascript
You can try this code and check if it is working or not! function linkDropDown(){ // Remove any previous legend d3.select('#linkLegendSvg').remove(); if (linkSelector.value ==="lanes"){ var data = geo_json_6e3c60c8b0b046c1a06eb56942730a3a.toGeoJSON().features var Roads = geo_json_6e3c60c8b0b046c1a06...