Monday, September 13, 2010

Re: creating polygons with holes

On Sep 13, 4:08 pm, jsbrava <jimcsm...@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

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

--
You received this message because you are subscribed to the Google Groups "Google Maps API" group.
To post to this group, send email to google-maps-api@googlegroups.com.
To unsubscribe from this group, send email to google-maps-api+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-maps-api?hl=en.

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate