Closed Raruto closed 1 year ago
@jtpio it's definitely not perfect (performances ?), but please let me know if you already see any room for improvement.
do you confirm that this is the patch you proposed in here? 👉 https://github.com/Raruto/leaflet-elevation/issues/232
Yes it works right now on Chrome and Safari.
But this problem still exists on Safari:
This is your /examples/leaflet-elevation.html. I set preferCanvas: true,
.
@jtpio it's definitely not perfect (performances ?), but please let me know if you already see any room for improvement.
Thanks @Raruto this is looking pretty good already!
Just a minor note on the screenshot posted above. It looks like the red color should probably be associated with the steeper sections of the elevation graph?
Feature released in v2.5.0
Nice thanks @Raruto!
Preview
Add support for graduated chart profiles colors:
Sample usage:
Further information:
<linearGradient>
👉 whenpreferCanvas: false
CanvasGradient
👉 whenpreferCanvas: true
Closes: https://github.com/Raruto/leaflet-elevation/issues/251 Partially handles: https://github.com/Raruto/leaflet-elevation/issues/232