Google Map v3地图加载事件

有没有任何听众处理地图完全加载?

在我的情况下,我需要从地图上得到界限,所以我这样做了:

google.maps.event.addListener(this.map, "bounds_changed", this.mapLoaded); mapLoaded: function() { google.maps.event.clearListeners(this.map, "bounds_changed"); var bounds = this.map.getBounds(); this.collection.setBounds(bounds.getNorthEast(), bounds.getSouthWest()); this.collection.fetch(); }, 

有没有黑客的方式?

尝试像这样:

 google.maps.event.addListenerOnce(map, 'idle', function(){ //loaded fully }); 

tilesloaded事件呢?

 google.maps.event.addListener(map, 'tilesloaded', function() { // Visible tiles loaded! });