开发者

Google Maps API v3 - list all open Infowindows

is it possible to get a list of all open infowindows?开发者_如何学Go ie. like we can get for markers.

thank you in advance!


You can't get a list of all markers in V3. A map has no idea about what markers are on it, only the marker knows which map it is bound to.

What you should do is create a array that you add the infowindows to when you open them and remove them when you close it.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜