Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] [Layer] When I set layerType = 'base', all layers will be loaded at first time #341

Open
pinkcao opened this issue Aug 14, 2023 · 0 comments

Comments

@pinkcao
Copy link

pinkcao commented Aug 14, 2023

I checked the demo "Layers", it got the same problem.

https://leafletjs.com/examples/layers-control/ according to leaflet doc, you will see this:
problem1
only one layer is added when the page got loaded.

but in vue-leaflet, all layers will be loaded:
problem2

and when I click one of these layer you can see this:
problem3

so I'm sure this is a bug related with vue-leaflet.

anything I can do to fix the bug temporarily?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant