Jerome03
Jerome03
You use Leaflet 1.02, I had the same problem as you. My solution was to replace L.Browser.touch by L.Browser.mobile in leaflet.elevation-0.0.4.min.js.
For information I solved the problem. There is a detection error with L.Browser for some browsers, especially Chrome. You must delete the conditions on L.Browser.touch; In any case modern devices...
I reply again. My first solution is not compatible with all browsers. In my case on Windows 10 L.Browser.touch is true for Chrome and false for Firefox. The best solution...
Here is what I did The plugin is only compatible with gpx files. I think it is not difficult to extend to geojson data. Use "L.control.elevation ({distance_time: true})" to display...
If your answer is for my post, I have no problem. I just wanted to say that I made changes to get the display I wanted and that javascript code...