Skip to content

X button doesn't close manually added Popups #423

@JasonSanford

Description

@JasonSanford

If you manually create a Popup with myPopup = new L.Popup() it's impossible to close it with the close button at the top right. Using myMap.removeLayer(myPopup) does seem to work though.

I made a quick example to show what's happening.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions