3 ms·
This is great! Thanks for sharing! Can I ask you how calculated the slope gradients (if I'm reading that right? like red = steep?)
by solardev 4y ago
This is great! Thanks for sharing!
Can I ask you how calculated the slope gradients (if I'm reading that right? like red = steep?)
- jameal 4y agoI wish I had time to have built that part myself! I'm leaning heavily on open source plugins like these [1][2]. The gradients are representative of elevation. So red = highest points along the trail and green = lowest points. Where you see sharp gradients from green to red is where the steepest slopes are. There is slope graph that can be setup in the plugin configuration. [1] https://github.com/Raruto/leaflet-elevation https://github.com/Raruto/leaflet-elevation [2] https://github.com/iosphere/Leaflet.hotline https://github.com/iosphere/Leaflet.hotline