On Feb 13, 12:23 am, Mehmet <[email protected]> wrote:
> var rect = new google.maps.Rectangle({
>                 bounds: rectBounds,
>                 strokeColor: "#FF0000",
>             strokeOpacity: 0.8,
>             strokeWeight: 2,
>             fillColor: "#FF0000",
>             fillOpacity: 0.35
>         });
> rect.setMap(map);
> google.maps.event.addListener(rect, 'rightclick', function() {
> console.log('not getting this message');
>
> });
>
> Does the rightclick event fire on a Rectangle?

Maybe rectBounds has zero size. How can we know?

Please follow the posting guidelines and post a link to the page that
demonstrates the problem:
http://groups.google.com/group/google-maps-js-api-v3/browse_thread/thread/2b3f101fd509919e#


--
Marcelo - http://maps.forum.nu
--

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