Thanks for all the replies above. Maybe I didn't express the problem
clearly :)

The first link is my demo, while the second one is the code from
google examples that it's based on.

The problem is only on ie(7 I used)
Open the first url on ie7, then you can see a rectangle with
transparent background. Change the zoom
level to 10, just once, then the background is opaque. You can zoom
out to check it.

The only thing I do in redraw is resetting the div's left, top, width,
and height, just what the example does.
No new and delete actions:(

On 9月9日, 上午2时39分, Rossko <[EMAIL PROTECTED]> wrote:
> > But
> > when I tried to zoom in on ie7 for several times, the background
> > becomes opaque.
>
> Sounds like it is somehow adding the overlay image multiple times?
>
> I ran into a problem with a custom overlay (gridlines) a while back
> and dicovered that .redraw() gets fired much more often than you might
> think, and coud be re-entrant - a second redraw() may be called before
> a first one is finished.
>
> In that case I simplified the .redraw() to do nothing, and instead
> called a custom equivalent only on map zoomend or movend events.
>
> Old threads 
> -http://groups.google.com/group/Google-Maps-API/browse_thread/thread/2...http://groups.google.com/group/Google-Maps-API/browse_thread/thread/7...
>
> cheers, Ross K
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Maps API" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/Google-Maps-API?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to