Commit graph

22 commits

Author SHA1 Message Date
Norbert Renner
72588f3fd9 Only use Canvas for routing segments
Routing trailers are lagging behind and Canvas by default might have side effects (Plugins)
2022-05-04 22:21:51 +02:00
Norbert Renner
47f3a06be6 Improve route interactivity by using canvas 2021-05-20 13:11:18 +02:00
Gautier P
845a3f0378
Add message if no elevation data is available (#373) 2021-03-01 20:05:29 +01:00
alexcojocaru
3c1f5d0d6d Merge remote-tracking branch 'upstream/master' into heightgraph-transpiled 2020-12-21 21:26:53 -08:00
alexcojocaru
63d080d14b Move the GeoJSON building functionality into separate module, and reference it 2020-12-20 22:51:19 -08:00
alexcojocaru
d83fddd4ed Set elevation on points without it (workaround for bug in Leaflet.Heightgraph) 2020-11-11 13:27:31 -08:00
alexcojocaru
f1d2855dca Add back the collapse/expand and resize improvements 2020-11-04 20:09:40 -08:00
alexcojocaru
0a67545e63 Clean up logging 2020-11-03 19:56:55 -08:00
alexcojocaru
dd3c9921e2 More testing... 2020-11-03 19:34:26 -08:00
alexcojocaru
0fd13b0e8f Testing... 2020-11-02 22:42:27 -08:00
alexcojocaru
6bb769c2da Handle undefined altitude coordinate on latLng points 2020-11-02 21:14:49 -08:00
alexcojocaru
6b5912e16a clean up; prod ready 2020-10-26 22:19:38 -07:00
alexcojocaru
73ad89e727 improvements to gradient normalization 2020-10-26 22:19:38 -07:00
alexcojocaru
0adc28d5df normalize gradient 2020-10-26 22:19:38 -07:00
alexcojocaru
75b68ebfe1 add comments; clean up 2020-10-26 22:19:38 -07:00
alexcojocaru
bd0679d15c Fix conflicts in Heightgraph integration 2020-10-26 22:19:37 -07:00
alexcojocaru
77ed28cb76 Use Heightgraph transpiled 2020-10-26 22:19:37 -07:00
alexcojocaru
5fd3977768 Use Heightgraph in lieu of Elevation (part V)
- fix the grade calculation
- don't show the grade labels, as they are all over (should be normalized)
- fix the display issues by overridding the heightgraph CSS
2020-10-26 22:19:37 -07:00
alexcojocaru
8fcec8ec86 Use Heightgraph in lieu of Elevation (part IV)
Build the GeoJSON object manually.
2020-10-26 22:19:37 -07:00
alexcojocaru
37a0f9b972 Use Heightgraph in lieu of Elevation (part III)
- remove old comments and unusable commented out code
2020-10-26 22:19:36 -07:00
alexcojocaru
c17e6ed711 Use Heightgraph in lieu of Elevation (part II)
- Heightgraph supports resizing; remove the Elevation specific
  workaround which was readding the data
- resize the elevation chart on window resize and chart show
2020-10-26 22:19:36 -07:00
alexcojocaru
840f4daf72 Use Heightgraph in lieu of Elevation 2020-10-26 22:19:36 -07:00