I'm wondering if I can speed up my map by passing a pre-encoded
polyline into the polyline constructor instead of letting google
encode it.  I haven't seen anything in the v3 documentation about
forcing the use of an encoded polyline, is there a workaround to allow
this to happen?  I'd be fine abandoning the polyline class if
necessary.

On Jan 5, 6:35 pm, Ben Appleton <[email protected]> wrote:
> v3 does this under the hood.  It is optimized for fast rendering of
> complicated polylines/polygons; we're working to improve rendering of large
> numbers of polylines/polygons.
>
>
>
> On Wed, Jan 6, 2010 at 4:35 AM, Chris Apolzon <[email protected]> wrote:
> > I suppose I should add I'm primarily interested in the ability to use
> > the encoding levels.  I thought v3 did something like this out of the
> > box, but I haven't found any firm confirmation of that.  (See
>
> >http://googlegeodevelopers.blogspot.com/2009/09/polys-in-maps-api-v3-...
> > )
>
> > On Jan 5, 12:32 pm, Chris Apolzon <[email protected]> wrote:
> > > I'm working on a project where we'll be rendering a large number of
> > > polylines and polygons, and I was curious if any of the core
> > > developers could chime in on performance differences between using
> > > encoded polylines and the new polyline/polygon classes?  I thought
> > > maybe encoded polylines had gone the way of the dodo, but I noticed
> > > Esa comment on a v2 thread that the Directions class is using encoded
> > > polylines.
> > > (Or if anyone has any horror stories of why I shouldn't even consider
> > > encoded polylines that would be welcome as well!)
> > > Thanks!
>
> > --
> > 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]<google-maps-js-api-v3%2B 
> > [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