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

Error when trying to create Popup #173

Closed
kengreim opened this issue May 17, 2024 · 1 comment
Closed

Error when trying to create Popup #173

kengreim opened this issue May 17, 2024 · 1 comment

Comments

@kengreim
Copy link

I get the following error in the console when I try to create a popup: Uncaught TypeError: can't access property "Popup", window.MAPLIB is undefined

Possibly because the Popup component is using window.MAPLIB (all caps) while the rest of the library uses window.MapLib?

popup = new window.MAPLIB.Popup({

@KaiHuebner
Copy link
Contributor

Thanks for finding this. Should be fixed in the latest release (v1.11.3).

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