What if you tried the correct syntax?

google.maps.event.addListener(poly, "click", function() {
   document.location.href='webpage_adress';
});



On Jun 30, 11:57 am, Dom <[email protected]> wrote:
> Hi,
>
> How to do for when I click on a polygon, this opens a web page ?
> I tried :
> google.maps.event.addListener(poly, 'click',
> document.location.href='webpage_adress');
>
> but does not work
>
> Thanks
> Dom

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