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
Post a Comment