none
Changing the mouse pointer on hover of a pushpin RRS feed

  • Question

  • On mouse over of a pushpin , the mouse pointer doesnot change to thumb. I m wondering if we need to code it to get the thumb on hover .
    • Moved by Ricky_Brundritt Saturday, March 10, 2012 10:17 AM (From:Bing Maps: Map Control and Web services Development)
    Tuesday, July 12, 2011 9:29 PM

Answers

  • You can define a function for the 'mouseover' event on the pushpin which will have

    map.getRootElement().style.cursor = 'pointer';
    


    and on 'mouseout' call

    map.getRootElement().style.cursor = 'url(http://ecn.dev.virtualearth.net/mapcontrol/v7.0/cursors/grab.cur), move';
    


    Thursday, July 14, 2011 4:32 PM

All replies

  • You can define a function for the 'mouseover' event on the pushpin which will have

    map.getRootElement().style.cursor = 'pointer';
    


    and on 'mouseout' call

    map.getRootElement().style.cursor = 'url(http://ecn.dev.virtualearth.net/mapcontrol/v7.0/cursors/grab.cur), move';
    


    Thursday, July 14, 2011 4:32 PM
  • thank you . it works !
    Monday, August 1, 2011 7:41 PM