[OpenLayers-Users] Cursor style on control activation

Alexandre Dube adube at mapgears.com
Mon Jan 11 11:37:45 EST 2010


Hi,

  I want to be able to change the default style of the cursor when 
activating controls.  Each control should have its unique cursor.  I 
want to validate that the way I'd do it is okay.  Please comment.

  I would simply register "activate" to use OpenLayers.Element.addClass 
to change the style of the cursor and "deactivate" to 
OpenLayers.Element.removeClass to restore the default state.  Does that 
make sense ?

-- 
Alexandre Dubé
Mapgears
www.mapgears.com




More information about the Users mailing list