On Apr 14, 1:53 am, Andrew Leach <andrew.leac...@gmail.com> wrote:
> On 14 April 2011 09:04, sgiddings <mr.s.giddi...@gmail.com> wrote:
>
> > I have a similar problem.
> > I use two methods to obtain a shape with a hole in it.
> > The shape is either a donut or a polygon.
> > The problem is perfectly demonstrated here -
>
> >http://www.geocodezip.com/v3_polygon_example_donut.html
>
> > As you can see, the inner circle is no longer empty.
> > The same situation occurs using two polygons (inner and outer)
>
> Polygons now use canvas. Canvas requires the lines go in different
> directions to create a doughnut. I've doctored Larry's example here:

http://www.acleach.me.uk/gmaps/v3_polygon_example_donut.html

You beat me to it:
http://www.geocodezip.com/v3_polygon_example_donut_unwind.html

(Although I like your example better, I'll need to think about how to
apply this to my other examples...)

  -- Larry


>
> Reference:http://econym.org.uk/gmap/chrome.htm#winding

-- 
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-maps-js-api-v3@googlegroups.com.
To unsubscribe from this group, send email to 
google-maps-js-api-v3+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-maps-js-api-v3?hl=en.

Reply via email to