Yeah Luke I thought it might not have been designed for that. Your
update is working as far as I can tell so big thanks. That was fast!

Niko I might only need to refresh the positions every minute or two,
but thanks and I'll keep your comment in mind as I go forward and see
if this will work for me when there are a lot of trucks on my map.

On Feb 8, 5:33 pm, Luke Mahé <[email protected]> wrote:
> The MarkerClusterer wasn't really designed for this, but I just added a
> function called repaint() that will hopefully make it a bit nicer for you.
>
> repaint() essentially creates a copy of the clusters then generates new ones
> and the removes the copy.
>
> Just download the lastest version 
> fromhttp://google-maps-utility-library-v3.googlecode.com/svn/trunk/marker...
>
> Let me know if you run into any problems.
>
> -- Luke
>
>
>
>
>
>
>
> On Wed, Feb 9, 2011 at 11:08 AM, Mr T <[email protected]> wrote:
> > Well, from the docs it seems resetViewport() recalulates the clusters
> > but does not redraw them, right?
>
> > If I resetViewport() and then redraw() it works, but then I am back to
> > everything flashing on and off.
>
> > --
> > You received this message because you are subscribed to the Google Groups
> > "Google Maps JavaScript API v3" 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-js-api-v3?hl=en.

-- 
You received this message because you are subscribed to the Google Groups 
"Google Maps JavaScript API v3" 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-js-api-v3?hl=en.

Reply via email to