Push pin pop up

The API shows how to hook the mouse over of a push pin. It shows an alert with the x, y of where your mouse is. Unfourtunatly this isn't what I want to do.
http://dev.live.com/virtualearth/sdk/SDK/HTML/P_Namespace_VEPushpin_ShowDetailOnMouseOver.htm

What I want is the ability to use the normal pop up, but use an AJAX call to go get the data that is needed for the popup. Anyone have an example of how to do this

Thanks
Wayne



Answer this question

Push pin pop up

  • BLanders

    You can add html to the pushpin details - could this contain your own code to do the Ajax callback

  • Jiteshk

    With the given example you have to set the text/html for the pop up when you create the push pin. I don't want to format all that text on the intial load of the page, what I'd like to do is to retreive the text/html for the pop up when the mouse hovers over the marker.

    Hope that makes a bit more sense.

    Wayne


  • Nazzo

    I think what you are trying to do has already been answered here:

    http://www.viavirtualearth.com/VVE/Forum/2/378.ashx

    I have also put some example code here

    http://www.viavirtualearth.com/MyVirtualEarth/v3/dynamicpushpin.htm



  • crystak

    I am not entirely sure I understand what you are trying to do/

    Are you trying to dynamically change the details parameter based on some conditions at runtime

    Or

    Are you trying to set the details parameter from data that is on another page/site



  • Push pin pop up