-
-
Notifications
You must be signed in to change notification settings - Fork 275
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
map.on(click) #148
Comments
I have this problem too. Quite annoying. Anyone figured out a solution ? |
Any quick solution for this issue? |
Wanted to check in and see if anyone had found a solution for this issue, it's driving me crazy. |
This is still the case. Any update on this? |
Is there an updated reproduction available? |
I'm unable to reproduce this. Please let me know if you're able to create a reproduction based on this pen, so we can reopen and fix if I'm missing something. |
I'm using Vue2Leaflet with this wrapper for your package: https://www.npmjs.com/package/vue2-leaflet-geosearch |
Following #92, and reading #138 and #129 i got myself a working version with draggable markers, updating location variables and almost completely as i want, but..
I'd still like to have the ability to add a marker onto the same map without using the searchplugin..
When i implement map.on('click') the bug of a marker being placed when clicking inside the searchbar re-appears.
I guess the map.on('click') even bypasses the disableHandlers and restoreHandlers wich fixed #138 ?
As i'v got this far in getting this to work i'd be ashamed for not getting this to work.
For my code see https://codepen.io/netforcenl/pen/xXQMrb or https://jsfiddle.net/netforcenl/0a4b3ufg/11/
Now i'm creating the jsfiddle from my original code i'm noticing that when i click the "close search results" x, i also lose my result (marker), and the searchbar does not close when selecting one result..
I'm seriously overlooking something it seems and any help is appreciated.
unpkg [email protected]
unpkg [email protected]
The text was updated successfully, but these errors were encountered: