addControl in a defined DIV #2805
Unanswered
sylvain258
asked this question in
Q&A
Replies: 1 comment
-
I don't think it is. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
I found few layer trees on github for MapBox/MapLibre. I have a problem about positions of panels. Effect, addControl asks a parameter 'position' defined with 4 values ('top-left', 'top-right', 'bottom-left', 'bottom-right').
In my mapping app, I have a sidebar with tabs.
I want put this addControl in a div inside a tab.
I would like to know if it's possible.
Thanks
Sylvain
Example Mapbox GL JS Layer-Tree from Gartrell-Group Github.

Beta Was this translation helpful? Give feedback.
All reactions