Hello everyone,

I have a GMarker on my map, which responds to a click event.  In the
function called after the click event, I would like to check the
Event.ctrlKey property to see whether the Ctrl key is pressed.

var marker = new GMarker(latlng,...);
GEvent.addDomListener(marker,"click",function(e) {
        if(e.ctrlKey) //etc.
});

I have tried using both addDomListener and addListener but none of
these give me the Event object.  How should I do this?  I have also
tried finding how one can locate the DOM node of the GMarker but I
have had no luck with that.  Thank you for your help.

Sincerely,
Pawel
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Maps API" 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-API?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to