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

ttback picture ttback  路  4Comments

jblarsen picture jblarsen  路  3Comments

CallMarl picture CallMarl  路  3Comments

timwis picture timwis  路  3Comments

pgeyman picture pgeyman  路  3Comments