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

Cannot read properties of undefined (reading 'baseVal') #289

Open
JiahaoXia opened this issue Feb 18, 2022 · 1 comment
Open

Cannot read properties of undefined (reading 'baseVal') #289

JiahaoXia opened this issue Feb 18, 2022 · 1 comment

Comments

@JiahaoXia
Copy link

I am working with Leaflet 1.7.1 and sidebar-v2. When I add the sidebar following the example, I have the following error:
image
and the sidebar cannot function correctly, could anyone help me with this?

@JackLidge
Copy link

I was having identical errors to this - I switched to using leaflet-sidebar.js and leaflet-sidebar.css from this leaflet only repository https://github.com/noerw/leaflet-sidebar-v2 and the error went away.

I did also install jQuery and bootstrap as well, so if the error persists switching to this repository, perhaps consider installing them as well.

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

2 participants