Closed Raruto closed 1 year ago
@hupe13 let me know what you think about it
In principle it works. But I need to test more. Some things do not seem to work properly.
Some things do not seem to work properly.
Maybe it is my special code. It works not correct, if there are more than one map on a page. However, I cannot establish a rule under which conditions what happens, it is not always the same result.
@hupe13 since dynamic imports are in use here, it is possible that this code still suffers from what is described within: https://github.com/Raruto/leaflet-elevation/pull/253
Basically, all the functions listed here below should first wait for the modules_loaded
event before triggering / listening events themselves (with reference to elechart_init
and elechart_axis
event listeners used within the src/handlers/labels.js
)
If so, within your tests, try applying that patch https://github.com/Raruto/leaflet-elevation/pull/253 as well.
👋 Raruto
Sample usage:
Closes: https://github.com/Raruto/leaflet-elevation/issues/211