On 24 June 2012 19:18, Buster <[email protected]> wrote:
> I have 2 polygons
> Polygon2 is inside Polygon.  Map type is terrain
>
> Is it possible Polygon2 fill can be made transparent, i.e., polygon1 fill
> color within Polygon2 is removed.  You can see the boundaries of Polygon2,
> but no color --> map (terrain) is now visible within Polygon2 with no fill
> color.

I *think* you are describing a "doughnut" polygon, one with a hole in
the middle. This is achieved by changing the "winding" direction -- if
the outer line has its points listed in a clockwise direction, the
inner line must be specified anticlockwise. Both lines need to be
separate paths in the one polygon.

-- 
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 [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-js-api-v3?hl=en.

Reply via email to