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

Uncaught (in promise) TypeError: can't convert undefined to object - SearchControl.ts:412:27 #326

Open
pedjas opened this issue Jun 1, 2022 · 0 comments

Comments

@pedjas
Copy link

pedjas commented Jun 1, 2022

I am trying to use this plugin but have an issue.

Search does work but when I click Enter or click on offered found address I get error

Uncaught (in promise) TypeError: can't convert undefined to object - SearchControl.ts:412:27

After that I cannot navigate map, I have to do hard reload of page.

I also noticed that when I click on loupe button to open search and then just click in edit box navigation on map is disabled, cannot scroll or zoom.

Page uses
https://unpkg.com/[email protected]/dist/leaflet.js
https://unpkg.com/[email protected]/dist/geosearch.umd.js

Page that has an issue is http://ue.cache.osmsrbija.iz.rs so it can be checked online.

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