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

Button events problem after using leaflet-image #136

Open
borjaevo opened this issue Sep 7, 2020 · 0 comments
Open

Button events problem after using leaflet-image #136

borjaevo opened this issue Sep 7, 2020 · 0 comments

Comments

@borjaevo
Copy link

borjaevo commented Sep 7, 2020

Hello,

Im not completely sure if the problem is related to leaflet-image, but it happens only when i use it. Im using it for print the map so i put a new print button on screen that is not any leaflet control component or plugin or is inside default leaflet zones. Its an html button with a jquery event.
When click on that button it opens a dialog where you select page size and other options. If you open and close this dialog nothing happens, everything is fine. But if you open the dialog and do a print (that works very well) after closing the dialog you cannot open it again. Button event is not working anymore until you refresh the page.
So leaflet-image is hiding components like zoom buttons and other to do the printing, i would like to know if this could related to the problem and if i have to do something to re-enable the buttons.

Thanks!

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