Hi

Next time try to post a link, this is part of guidelines.

You need to define variables to each polygon that you want to display.
For example:
var polygon1 = new google.maps.Polygon();
var polygon2 = new google.maps.Polygon();
var polygon3 = new google.maps.Polygon();

 google.maps.event.addListener(polygon1, 'rightclick', showInfo1);
 google.maps.event.addListener(polygon2, 'rightclick', showInfo2);
 google.maps.event.addListener(polygon3, 'rightclick', showInfo3);


[]s
Paulo Fernandes
http://www.google.com/profiles/paulofernandesjr
http://twitter.com/paulofernandesj
+55 11 9797-5974



On Fri, Feb 4, 2011 at 7:08 AM, Sareth <[email protected]> wrote:

> ry time when want to create new
> polygon with some coords and different info. I push polygons in array
> to delete them in future. When I click on polygon, I have the same
> infowindow for each polygon, what I must to do if I want to show
> different info's with each 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