On Oct 5, 4:25 pm, Ben Appleton <
apple...@google.com> wrote:
> The problem is that the API assumes the maximum stroke weight is 10
> pixels. Assuming a maximum stroke weight allows the API to render
> faster, by skipping polylines that are out of range.
>
> We could enforce this maximum stroke weight. That would mean you
> can't render a polyline with a stroke weight greater than 10, so you
> wouldn't see these bugs.
I don't think that is an acceptable solution, unless it is clearly
stated in the documentation, and even then it is a regression from
v2,.and I think you are going to run into problems with all kinds of
issues that you didn't consider (like this one).
>
> Or we could look into removing the maximum stroke weight limitation.
> That could slow down rendering for existing sites using stroke weights
> of less than 10 pixels.
Maybe you could implement it the fast way for sites that use stroke
weights of less than 10 pixels, but implement a fall back to the
slower rendering algorithm for sites that need the greater stroke
widths (will be slightly slower than assuming it will always be less
than 10, but at least it isn't broken). Obviously a general purpose
maps API has to support all (reasonable) stroke widths (and v3 needs
to support anything that v2 did or document the difference).
Just my 2 cents.
-- Larry
>
> - Ben
>
>
>
> On Wed, Oct 6, 2010 at 7:59 AM, Tim G <
timgos1...@yahoo.com> wrote:
> > Ah... that's not too encouraging. Although in the second test url I
> > gave, if you make a large "C" using 4 markers, the line ends up
> > joining on itself in the middle of the "C" (in addition to lots and
> > lots of clipping).
>
> > I was hoping to shift map development on my site to v3 but the wide
> > polyline is a pretty key component of my app so it looks like I'm
> > stuck with v2 for now.
>
> > On Oct 5, 3:46 pm, Rossko <
ros...@culzean.clara.co.uk> wrote:
> >> I think it is a variation on this issuehttp://
code.google.com/p/gmaps-api-issues/issues/detail?id=2337
> >> see also this threadhttp://
groups.google.com/group/google-maps-js-api-v3/browse_thread/th...
>
> >> Problem seems to be the API 'forgets' to render polys crossing certain
> >> tiles if no vertices lie on that tile
>
> > --
> > 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
google-map...@googlegroups.com.
> > To unsubscribe from this group, send email to
google-maps-js-a...@googlegroups.com.
> > For more options, visit this group athttp://
groups.google.com/group/google-maps-js-api-v3?hl=en.- Hide quoted text -
>
> - Show quoted text -