[OpenLayers-Users] Support for Cursors?

regioGIS regio-gis at ec.europa.eu
Thu Sep 10 03:19:23 EDT 2009


Hello,

Thanks for this tip. I changed the cursor for panning as mentionned below.
But can you also please tell me how to get the plain arrow cursor back when
pointing/clicking at the standard OL navigation panel ( f.i. the
scale-slider )? Because, of course, it keeps the last cursor changed to, but
that is a strange sight ...
How did you manage ?

Greetings,



Bart van den Eijnden (OSGIS)-2 wrote:
> 
> Hi Bill,
> 
> yes it's in 2.8.
> 
> You need to add css classes depending on the displayClass + "Active"
>  of a control, e.g. this is what I have:
> 
> .olControlDragPanActive {
>     cursor: url(lib/openlayers/theme/default/img/pan.cur) 16 16,
> url(../geoservices2.2/lib/openlayers/theme/default/img/pan.cur), auto;
> }
> ...
> 

-- 
View this message in context: http://n2.nabble.com/Support-for-Cursors-tp3192209p3616404.html
Sent from the OpenLayers Users mailing list archive at Nabble.com.



More information about the Users mailing list