Comments (3)
A similar bug was recently reported and their pull request should have fixed this issue as well. Try the latest code out and let me know if it solves your issue.
from leaflet-groupedlayercontrol.
if the fix was the recent change submitted by blomm then that isnt the fix for the issue I have raised above (blomm and I are working on the same project)
from leaflet-groupedlayercontrol.
I can confirm that these two lines of code are necessary if you are adding/removing layers to the layer control after the layer control has initially been built. The two lines of code are made necessary because of the unique way the overlay container is built taking groups into consideration
from leaflet-groupedlayercontrol.
Related Issues (20)
- make the repo name and package name consistent HOT 5
- unecessary checkbox HOT 1
- Error when removing all layers from a group HOT 1
- removeLayer method throws an error HOT 6
- Double click on the legend propagates to the map in Chrome HOT 5
- Nested groups, ungrouped layers HOT 1
- Uncaught Type Error HOT 2
- Unable to control the order in which grouped layers appear in the control HOT 5
- Merge with sidebar v2 HOT 2
- Grouped Layer Control with R HOT 2
- Deslectable exclusive layers HOT 4
- Unable to scroll layer list with scroll wheel HOT 3
- Cannot add a single layer
- @types Definitions for leaflet-groupedlayercontrol Feature Request HOT 3
- change position
- MAINTAINER NEEDED
- How do I extend the control? HOT 1
- How to call Tabletop data in L.control.groupedLayers ? HOT 1
- How to implement with python HOT 4
- How to add this to an existing leaflet map.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from leaflet-groupedlayercontrol.