Leaflet.FileLayer
Leaflet.FileLayer copied to clipboard
KML styling
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