mapbox / leaflet-omnivore

universal format parser for Leaflet & Mapbox.js
https://www.mapbox.com/mapbox.js/example/v1.0.0/omnivore-gpx/
Other
651 stars 126 forks source link

Fix the KML to GeoJSON conversion not setting up the correct feature styles in Leaflet for LineStrings #121

Open qzminski opened 3 years ago

qzminski commented 3 years ago

The problem is that for LineString geometry type the stroke property contains a hex color, whereas Leaflet expects it to be a color and stroke to be a boolean value. Please correct me if I'm wrong.