Closed AHAAAAAAA closed 2 years ago
We load main.js
before the groupedcontrollayer
and side-by-side
scripts which extend Leaflet classes. main.js
immediately attempts to construct the map before the latter two scripts are loaded which results in missing functions. Possible solution is to bundle the 2 scripts into main.js with webpack (or cljs interop magic) and load them before we call the init-map function.
Website works fine going to https://mapbh.org but not https://mapbh.org/en/map. Error given is leaflet.groupedcontrollayers failed to load