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