Hi,
I'm trying to change the mouse cursor to a crosshair after a certain
button is clicked.
I tried using CSS to change to the cursor, and it's doing it
partially.
but the change only shows when the cursor is over a Control object.
Elsewhere on the map it's the default panning-hand.
in my java i have:
String style = map.getStylePrimaryName() + "crosshairCursor";
map.addStyleName(style);
in my CSS file i've got:
.crosshairCursor{
cursor: crosshair;
}
If anyone can help, I'd really appreciate it!
Thanks!
- ray
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---