title: Setting the cursor to the open hand in Bing Maps
body: <p>I'm developing with Bing Maps AJAX V7 map API and I'm trying to set the cursor to different things while hovering over different map elements. For example this is what I'm doing when the mouse rolls over a pushpin:</p>
  
  <pre><code>Microsoft.Maps.Events.addHandler(g_map, "mousemove", function (event) {
      if (event.targetType === "pushpin") {
          g_map.getRootElement().style.cursor = "pointer";
      }
  });
  </code></pre>
  
  <p>What I can't figure out is how to revert back to normal functionality after the user mouses out of the pushpin. I was thinking maybe set the cursor to pointer on mouseenter and back to non-pointer on mouseleave or something but I'm not sure if that's the best way.</p>