You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Change the colour of the poly lines (not the icons):
constmyCustomColour='#ff4f00'constcustomLayer=L.geoJson(null,{// http://leafletjs.com/reference.html#geojson-stylestyle: function(feature){return{color: myCustomColour};}});// this can be any kind of omnivore layerconstrunLayer=omnivore.kml(kml,null,customLayer)runLayer.addTo(w.map)
Polygons/lines have only standard blue colors. Individually styling every polygon is hard and i'm 100% sure there's an easier way to this.
The text was updated successfully, but these errors were encountered: