-
Notifications
You must be signed in to change notification settings - Fork 85
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ruler on leaflet-elevation_hoverable-tracks.html #290
Comments
Hi @hupe13, basically the control doesn't redraw the Ruler after calling leaflet-elevation/libs/leaflet-gpxgroup.js Lines 279 to 301 in bd9316b
leaflet-elevation/src/control.js Lines 1201 to 1217 in bd9316b
leaflet-elevation/src/components/d3.js Lines 602 to 641 in bd9316b
Below some offending lines:
leaflet-elevation/src/control.js Line 248 in bd9316b
leaflet-elevation/src/control.js Line 1207 in bd9316b
leaflet-elevation/src/control.js Line 1211 in bd9316b
leaflet-elevation/src/components/d3.js Lines 629 to 631 in bd9316b
leaflet-elevation/src/components/d3.js Line 646 in bd9316b
👋 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?
The text was updated successfully, but these errors were encountered: