[OpenLayers-Users] mouse cursors

bartvde at osgis.nl bartvde at osgis.nl
Mon Jan 28 08:43:45 EST 2008


Hi list,

currently the OpenLayers code contains a lot of hard-coded cursors
(this.map.div.style.cursor = "xxx"), which makes it hard to change its
default cursor behaviour. I am in need of the ability to change the cursor.

Does anyone have ideas on how to tackle this best? What's the best place:
Handler or Control?

Ideally it would also be possible to change the cursor on mousedown, like
Google Maps does for pan. So there would need to be 2 css classes, and the
code for activate, mousedown and mouseup should change the css class.

Ideas?

Best regards,
Bart




More information about the Users mailing list