On 4 фев, 15:44, Paulo Fernandes <[email protected]> wrote:

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

About link, I develop program and integrate Google Maps into this
program, so here no any link.

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

I do not know how much there will be polygons, user can create any
number of polygons, anywhere he wants, so your method does not
suitable in this case.
But still thanks for your answer.

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