[OpenLayers-Users] Custom cursor problems

Kenneth Skovhede, GEOGRAF A/S ks at geograf.dk
Wed Oct 15 02:14:02 EDT 2008


It's a work in progress:
http://trac.openlayers.org/ticket/1484

You can pull some pointers from the attached diff to see where the 
pointers are reset.

Regards, Kenneth Skovhede, GEOGRAF A/S



j-ms skrev:
> Hi
>
> I want to use custom cursors to allow the user to easily differentiate what
> "mode" the application is in.
>
> I use map.div.style.cursor =  "url(../images/info.cur)"; and
> map.div.style.cursor =  "url(../images/select.cur)"; to set the cursor
> depending on the mode.
>
> The first time a particular cursor is set, it displays correctly.  If I
> change to another mode, the cursor correctly changes to reflect the new
> mode.  However, if I change back to the original mode, the cursor simply
> reverts to the default cursor.
>
> Does anyone have any advice for me ?
>   



More information about the Users mailing list