Mike,

Thanks for that very interesting analysis of the problem. However,
your solution of winding the polygons in opposite directions didn't
work for my example. In the following three examples, the first is the
original polygon as created by Google. In the second example, I have
reversed the direction of the innerBoundaryIs polygon, and in the
third example I have reversed the direction of the outerBoundaryIs
polygon. All three render identically in Chrome.

http://myplace.walthamforest.gov.uk/chrome/pentagon.htm
http://myplace.walthamforest.gov.uk/chrome/pentagon-forward.htm
http://myplace.walthamforest.gov.uk/chrome/pentagon-reverse.htm

Any thoughts as to why this would be?

I would contend that there is something Google can do about it. They
are the biggest and most powerful company on the Internet and they
have considerable pull with the standards committees, especially now
that they are a browser vendor and a collaborator on one of the major
rendering engines, WebKit. If the wrong decision was made in the HTML5
specification and it is adversely affecting KML rendering, Google
could, and should use their power and influence to get the standard
changed.

On Oct 6, 10:22 am, Mike Williams <[EMAIL PROTECTED]> wrote:
> WebKit doesn't have VML it has Canvas.
>
> Canvas has an unusual winding rule. It was a crazy decision in the HTML5
> draft recommendations. Almost everything else that you'll ever come
> across that handles polygon fills uses the "odd-even" rule (or gives you
> the option) but the HTML5 rules say canvas must only use the "non-zero"
> rule.
>
> There's absolutely nothing that Google can do about it.
> You can't call it a WebKit bug, because it obeys the HTML5 rules.
>
> The only thing you can do is wind your polygon in opposite directions.
>
>    http://econym.org.uk/gmap/chrome.htm#winding
>
> Other issues that I've spotted with Chrome are listed on that page.
>
> --http://econym.org.uk/gmap
> The Blackpool Community Church Javascript Team
--~--~---------~--~----~------------~-------~--~----~
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