javascript - Google Map event bounds_changed triggered multiple times when dragging -


i have google map markers. want markers refreshed when map moved/zoomed...

google recommend use event bounds_changed that, when move map, the event triggered each pixel move map. want map refreshed when user stopped moving map, i.e. when released mouse button after dragging.

how can ?

thanks

it turns out reported bug: http://code.google.com/p/gmaps-api-issues/issues/detail?id=1371.

the google team recommend use event "idle". example :

google.maps.event.addlistener(map, 'idle', function() { }); 

Comments

Popular posts from this blog

asp.net - repeatedly call AddImageUrl(url) to assemble pdf document -

java - Android recognize cell phone with keyboard or not? -

iphone - How would you achieve a LED Scrolling effect? -