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

layer.getPopup is not a function #15

Open
gisveld opened this issue Feb 27, 2017 · 0 comments
Open

layer.getPopup is not a function #15

gisveld opened this issue Feb 27, 2017 · 0 comments

Comments

@gisveld
Copy link

gisveld commented Feb 27, 2017

Hello Antoine,

I have downloaded the fusesearch source files and added it to my map. But i can't get it working. The browser console gives my this error: layer.getPopup is not a function (line 282). I dont get it. Your CultureNantes-map has also this line and works fine. When i change line 282 in: return layer.openPopup(); the fusesearch is working but the popup is directly opening by typing. This is not what i want. (See also #14 whitch includes my map in ZIP).

Could u please explain me why i get this error (is it my main.js or a bug in the leaflet-fusesearch.js)? I spend so many hours but cant fix it, only by changing (way) to many in the source files! The way it works on your CultureNantes-map is what i like to use on my map.

Please help me with this awesom plugin!

Greatings,
Hein

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