pbuckner
unread,Nov 7, 2011, 12:46:48 PM11/7/11Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Google Maps JavaScript API v3
On Chrome Mac, I'm looping doing animated overlays by doing something
like
... newOverlay.setMap(map);
... prevOverlay.setMap(null);
prevOverlay = newOverlay;
I'm not seeing white flash, but I do see that it takes nearly a second
for the newOverlay.setMap(map) to "work", and the result is that the
previousOverlay is removed first which results in very choppy
animation (i.e., "image1", blank, "image2", blank,...)
No problem with firefox or safari... If I delay removing prevOverlay
using setTimeout(..., 800) it give appearance of smooth updates, but
what happened to Overlay.setMap(map) which is causing it to fail to
update?