leaflet-geosearch icon indicating copy to clipboard operation
leaflet-geosearch copied to clipboard

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

Open pedjas opened this issue 3 years ago • 0 comments
trafficstars

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.

pedjas avatar Jun 01 '22 07:06 pedjas