What event will be fired when Google Map repaints?
1 answer
I think you could use the tilesloaded event , but if you want to know exactly when the scale is changed, you can use the zoomend event.
GEvent.addListener(map, "tilesloaded", function() {
//...
});
GEvent.addListener(map, "zoomend", function (oldZoom, newZoom) {
//...
});
Check out this example .
+3
source to share