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

Support for older browsers? #27

Open karussell opened 9 years ago

karussell commented 9 years ago

When viewing the elevation on older browsers like the Android one I get: Uncaught TypeError: Cannot call method 'setProperty' of null in d3.min.js:1 and Cannot call method 'selectAll' of undefined in Leaflet.Elevation-0.0.2.min.js:2 (example)

(You can enable debugging there via about:debug)

Do you have an idea on what could be wrong? I found a similar issue here

MrMufflon commented 9 years ago

I´m not sure if d3 supports these Browsers. I never tested on Android browsers, my mobile has Chrome as browser. Maybe try it with a newer version of d3?

karussell commented 9 years ago

Hmmh, d3 should support android too but maybe I need an older d3 version ;)

karussell commented 9 years ago

Ok, I missread the post. Will look into canvas vs. svg support of d3