Skip to content

Button events problem after using leaflet-image #136

@borjaevo

Description

@borjaevo

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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions