开发者

Google Maps v3 - marker and overlay map type load event?

开发者 https://www.devze.com 2023-02-06 05:12 出处:网络
I need to detect when all markers and overlay map types are loaded to the map. I was searching for proper events, but I couldn\'t find any.

I need to detect when all markers and overlay map types are loaded to the map. I was searching for proper events, but I couldn't find any.

Is there an event triggered when marker is fully loaded?

And similarly, is there an event triggered when overlay map type is loaded? I know that there's actually tilesloaded event for google.maps.Map开发者_如何学JAVA, but it seems to work only for the base map types.


I use google.maps.event.addListenerOnce(this.map,'idle',callback) to determine when everything is loaded.

0

精彩评论

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

关注公众号