atom feed5 messages in com.googlegroups.google-maps-apiRe: creating polygons with holes
FromSent OnAttachments
jsbravaSep 13, 2010 4:08 pm 
geoc...@gmail.comSep 13, 2010 4:49 pm 
geoc...@gmail.comSep 13, 2010 5:04 pm 
jsbravaSep 14, 2010 10:20 am 
webbirderSep 14, 2010 4:58 pm 
Subject:Re: creating polygons with holes
From:geoc...@gmail.com (geoc@gmail.com)
Date:Sep 13, 2010 5:04:22 pm
List:com.googlegroups.google-maps-api

On Sep 13, 4:49 pm, "geoc@gmail.com" <geoc@gmail.com> wrote:

On Sep 13, 4:08 pm, jsbrava <jimc@gmail.com> wrote:

I need to display a polygon with one or more holes in it. It looks like the maps javascript api v3 polygon can do it using the path.

This is the v2 API group, the v3 API group
is:http://groups.google.com/group/google-maps-js-api-v3/topics

Here is a simple donut example for v3:

http://www.geocodezip.com/v3_polygon_example_donut.html

And some more complicated ones: http://www.geocodezip.com/v3_polygon_example_donutA.html http://www.geocodezip.com/v3_polygon_example_donutB.html http://www.geocodezip.com/v3_polygon_example_donutC.html

-- Larry

I think if you experiment, it should be pretty easy to do what you are trying to do.

  -- Larry

Can someone point me to some examples?

Specifically how are the options and path are set to specify the fill of the donut vs the whole? The donut would be semi-transparent of some color while the holes would be transparent.

Thanks, Jim- Hide quoted text -

- Show quoted text -