Leaflet.FileLayer icon indicating copy to clipboard operation
Leaflet.FileLayer copied to clipboard

KML styling

Open johnd0e opened this issue 5 years ago • 0 comments

togeojson library converts KML styles to geojson simplestyle (spec). It is not explicitly mentioned in docs, but it's just mapbox standard. You can see it in code, e.g. search for 'stroke': (https://github.com/mapbox/togeojson/blob/master/togeojson.js#L267 etc).

It would be great if FileLayer provide corresponding function for styling. Sample: https://github.com/mapbox/mapbox.js/blob/publisher-production/src/simplestyle.js

johnd0e avatar Apr 20 '19 08:04 johnd0e