Hello
I'm developing a custom map, using GWT and the Google Map API library
for GWT.
 I would like to verify if the user holds down the Alt key when he
click on a marker in a Google Map.
My idea was the following:

Marker m = ...

m.addMarkerClickHandler(new MarkerClickHandler() {
   @Override
   public void onClick(MarkerClickEvent event) {
      if(<is alt key down>)
         <do some stuff...>
   }
});

I handle the click event on a marker m, and I'd like to check if the
alt key is hold. I thought there would be a method like
event.getNativeEvent().getAltKey() in the MarkerClickEvent, similarly
to the ClickEvent handled by the Button objects, but it doesn't seems
so.

Is there any solution?
Thanks in advance

Marco

--

You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" 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-web-toolkit?hl=en.


Reply via email to