Leaflet: Popup does not have close method.

Created on 23 Apr 2013  路  1Comment  路  Source: Leaflet/Leaflet

Popup seems have no public method which can be used to close the shown popup, there is only a private method _close() which is avaliable for me to close popup without clicking the close button in the right-top corner.

Most helpful comment

Use map.closePopup();

>All comments

Use map.closePopup();

Was this page helpful?
0 / 5 - 0 ratings

Related issues

Ceremony64 picture Ceremony64  路  30Comments

colm-quinn picture colm-quinn  路  30Comments

zzolo picture zzolo  路  31Comments

shiro900 picture shiro900  路  21Comments

tmcw picture tmcw  路  22Comments