I'm not sure if using MVCArrays are going to solve this issue.

Consider the nature of my program will have an entirely new set of
LatLng points every 25 seconds or so.  None of the points in the multi-
dimensional MVCArray will be reused.  I do not see any way to remove
all of the values inside the existing MVCArrray object and recreate
them without throwing a ton of redraw events - which essentially hangs
the browser in one shot.

I'm not sure if I'm missing it, but I haven't found much information
on the behavior of this MVCObjects either - I'm not sure that this is
the type of solution I am looking for.

On Dec 2, 12:08 pm, Chad Killingsworth
<[email protected]> wrote:
> The clickable links from the new forums don't translate over to the
> group interface. Here they are:
>
> http://www.johnmick.net/maps/v3polyupdate_method1/http://www.johnmick.net/maps/v3polyupdate_method2/http://www.johnmick.net/maps/v3polyupdate_method3/
>
> Chad Killingsworth
>
> On Dec 2, 11:05 am, bratliff <[email protected]> wrote:
>
>
>
>
>
>
>
> > On Dec 2, 4:44 pm, John Mick <[email protected]> wrote:
>
> > > Ah I missed the MVCObject/MVCArray section in the API - I'm going to
> > > work on putting together a sample application today to test this
> > > approach and I'll be back with my findings soon. Thank you for this
> > > tip. :)
>
> > The "setPath" / "setPaths" methods also accept standard JavaScript
> > arrays.  Unless you are planning to do interactive editing of your
> > polys, I can see no reason to use MVC arrays.  It is just extra
> > overhead to frustrate the garbage collector.  A total rebuild of your
> > polys is less likely to cause leaks.
>
> > I might have an alternative to using API polys:
>
> >    http://www.polylib.us
>
> > but I cannot link to your application to test it first.  I am looking
> > for a clickable link, not raw code.

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