Resetting Cursor in Bing Maps – Support IE

August 10, 2015

I was having trouble resetting my Bing Maps implementation cursor back from a cross-hair (used when plotting a pin) to the default grab cursor.

I found that a slightly modified cursor url did the trick:

Old – _map.getRootElement().style.cursor =’url(https://ecn.dev.virtualearth.net/mapcontrol/v7.0/7.0.20150720111303.14/cursors/grabbing.cur) 10 9, move’;

New – _map.getRootElement().style.cursor =’url(https://ecn.dev.virtualearth.net/mapcontrol/v7.0/7.0.20150720111303.14/cursors/grab.cur), move’;