AnsweredAssumed Answered

setMapCursor with custom image

Question asked by phuppe on Feb 25, 2014
Latest reply on Feb 28, 2014 by kenbuja
Hi,

I want to change the cursor to use a custom image. When I use something like:

mymap.setMapCursor("crosshair");


I see a crosshair icon on the map.  If I try the following:

mymap.setMapCursor("url(/myproject/images/mycursor.png),auto");


it does nor change the cursor. Why? I tried a PNG, a GIF and a CUR file with no success.

As anyone used a custom image for a cursor?

Thanks,
Paul

Outcomes