Replies: 1 comment
-
Yes. The map's |
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
-
I just want to verify that I'm not wrong to state the Map's
removeLayer
only works at the top (default) group level, and if I have additional layer groups then I have to recurse through each layer group and use the collection'sremove
to find the matching layer?Update: I found that tracking the parent collection is easier for our application, but now I also wonder if the map's
change:layerGroup
event is recursive? I can't seem to get that event to trigger at all, let alone for sub layer groups.Beta Was this translation helpful? Give feedback.
All reactions