MrMufflon / Leaflet.Elevation

Leaflet plugin to view height profile of GeoJSON- and GPX polylines using d3
http://mrmufflon.github.io/Leaflet.Elevation
MIT License
276 stars 83 forks source link

Add ability to have different themes in multiple instances #42

Closed grmpfhmbl closed 8 years ago

grmpfhmbl commented 8 years ago

When instantiating more than one elevation control they all had to have the same theme. I moved the theme class from body to the control container. So when the control is instantiated now, one can choose a theme for every instance.

I also added fitting icons for the steelblue and purple theme.

I also changed the version of "grunt-contrib-jasmine" to 0.9 as I got a build error with version 0.6.

MrMufflon commented 8 years ago

Thanks for your contribution! Really makes sense to do the themeing on container and not body level.