VDS Technologies

 

MapCursor

7/3/2014 3:32:05 AM
Total Posts 14

MapCursor

Hi

 

I would like to set the cursor to be plus and minus signs when zooming in and out respectively.

 

I can achive the plus for zooming in by setting the mapcursor to be 'crosshair' - is there any way of setting the cursor to be a minus (or dash) sign, alternatively can you set the map cursor to an image file? if so, how?

 

Thanks

 

 

Rob

 

7/3/2014 5:28:09 AM
MVP
Total Posts 323

Re: MapCursor

As described at http://www.w3.org/TR/CSS21/ui.html
a custom image file can be set as follows:
 

map1.Cursor = "url(example.gif), default";

button1.MapCursor = "url(example.gif), default";

7/3/2014 5:59:56 AM
Total Posts 14

Re: MapCursor

Hi

 

That worked great for Google Chrome, but doesnt work in IE

 

What do I need to add for it to work in IE

 

Many Thanks

 

Rob

 

7/3/2014 6:38:01 AM
Total Posts 14

Re: MapCursor

Hi

 

Its ok, I have achieved this in both browsers using .cur files.

 

Many Thanks

 

Rob