On Nov 25, 4:49 am, Joost van der Steen <[email protected]>
wrote:
> Sorry but I don't get it..
> How do I change the direction of the line. I've just drawn two forms
> one going CW the other CCW but this didn't did the trick?

You might look at the v3 API. Making holes in polygons there does not
depend on the ordering:
http://www.geocodezip.com/v3_polygon_example_donut.html
http://www.geocodezip.com/v3_polygon_example_donutA.html
(more examples at http://www.geocodezip.com)

  -- Larry

>
> On 25 nov, 00:21, Andrew Leach <[email protected]> wrote:
>
>
>
>
>
>
>
> > On 24 November 2010 22:12, Joost van der Steen <[email protected]> 
> > wrote:
>
> > > But when I run this in Safari the hole is gone?
> > > Is there a way to work around this? I've read all different kind of
> > > discussions about it but none of them seem to have the answer.
>
> > You do have to know what to search 
> > for.http://groups.google.com/group/google-maps-api/search?hl=en_US&q=enco...
>
> > Safari calculates its polygons differently, and the direction each
> > line goes is significant. For a polygon whose outer boundary is
> > defined clockwise, the inner boundary has to be defined anticlockwise.
>
> > --
> > Andrew C Leach

-- 
You received this message because you are subscribed to the Google Groups 
"Google Maps API V2" 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