开发者

event when a google maps InfoWindow is closed?

Is there way to set an event on an InfoWindow that will notify me when that window is closed? I've managed to find a hack that works: after setting the content of the InfoWindow by dom node, get the parentNode.previousSibling to that element (which will be the close button)开发者_Python百科, and assign it an onclick. However this is relying on behavior that could change, so obviously that's not so good. Is there a proper way to do it?


There is closeclick event if i get this right

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜