Resetting Cursor in Bing Maps – Support IE

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’;

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: