merge from Leaflet.Elevation upstream