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

Option for metric/US display #35

Open jimmyangel opened 9 years ago

jimmyangel commented 9 years ago

Thank you much for a very cool and useful plugin.

It would be nice to have the option to display US units for distance in milles and elevation in feet on the control display. Is this something that is already supported but I somehow missed it?

If you don't have time, I could try and take a crack at it.

Regards

MrMufflon commented 9 years ago

Thanks, there is already an open pull reqest for that feature. Unfotunately yI don´t have much time at hand right now.. https://github.com/MrMufflon/Leaflet.Elevation/pull/33

brentrobbins commented 8 years ago

Hi @MrMufflon Any update on the having the option to use US units?

Thanks

jimmyangel commented 8 years ago

I implemented that change in my fork https://github.com/jimmyangel/Leaflet.Elevation

brentrobbins commented 8 years ago

Sweet! Works great. Thanks @jimmyangel