On 27 September 2011 17:04, mariovi <[email protected]> wrote:
>
> Do I have to use polygons instead? If so, how?

Polygons make it easy. Define p1; define p2 as a "doughnut" polygon
with a hole which fits p1; and the same for p3.

Assign a click handler to each polygon.

Polygons are very like polylines.
http://code.google.com/apis/maps/documentation/javascript/overlays.html#Polygons

-- 
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