I am overlaying wms images, so moving markers really has nothing to do
with what I'm doing.  Moving the images would not going to help
anything since each image should be located in the same place.  The
images are in sequence and need to be displayed in the sequence which
loops...  As shown in the examples it works properly.  The problem is
that if I remove the single image and add the next there is a memory
leak and the browser freezes and the cpu spikes.  If i remove all
layer "clearOverlays()" the memory leak does not happen, however I
really do not want to remove all overlays because there could be
overlays that have nothing to do with the animation turned on....

On Jan 27, 11:25 pm, "[email protected]" <[email protected]>
wrote:
> On Jan 27, 9:35 am, BillyZ <[email protected]> wrote:
>
>
>
>
>
> > Hi,
> > I am doing overlay animation, I add an overlay to the map, wait for
> > specified interval then add next overlay and remove the first.
>
> > If I use .removeOverlay(layername) the browser quickly becomes
> > unresponsive
> > and the cpu spikes.  If I use .clearOverlays() this does not happen
> > however
> > I really don't want to clear all overlays, just the overlay in the
> > previous
> > animation cycle as there could be overlays not in the animation turned
> > on.
>
> > It does not make a difference which browser I use, it happens across
> > the
> > board, IE, FF, Chrome...
>
> > PS. The .removeOverlay(layername) does work until the browser becomes
> > unresponsive.
>
> Have you tried just creating one marker and moving it rather than
> removing it and adding a new one?
>
>   -- Larry
>

-- 
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