mapbox-layer-control icon indicating copy to clipboard operation
mapbox-layer-control copied to clipboard

Difficulties integrating the module into a sidebar

Open sylvain258 opened this issue 2 years ago • 0 comments

Hello,

I tried this module today and encountered a few difficulties. I had no trouble adapting the module for MapLibre. It works in the same way.

I'm having trouble inserting this module into a javascript-generated div.

My mapping application is developed with Maplibre, in which I have a Leaflet sidebar.

The latter is written entirely in JS, and I'd like to be able to write the module in the sidebar.

The "config" part of the code systematically gives me an error saying that it can't find the selector.

Do you have a solution to this problem?

Thanks

Sylvain BECQUAERT

sylvain258 avatar Jul 05 '23 10:07 sylvain258