Open hupe13 opened 3 months ago
Hi @hupe13,
basically the control doesn't redraw the Ruler after calling remove()
→ addTo(map)
Below some offending lines:
eleDiv
may never change on subsequent call to addTo(map)
opts.ruler
may be undefined👋 Raruto
Hi Raruto,
please see your example loading multiple .gpx tracks (hover to toggle ). You move with the mouse over a track, the chart and the ruler appear. Now you click on any track on the map, the chart disappears. Next you move with the mouse over a track again, the chart appears, the ruler doesn't.
How to fix this?