could we get a popup when user click a Pushpin? I am using c# + xaml
-
Monday, June 11, 2012 8:52 AM
Hi, I wonder if there is any way for me to show a popup indicating the location of the device when user click a pushPin?
I am using VS RC + c# + xaml.
dollar zhang
All Replies
-
Monday, June 11, 2012 9:21 AMOwner
This can be done fairly easily. You can add a click event to the map. In the event arguments there will be pixel coordinates. You can use the map to convert these pixel coordinats into a location object. they you can follow one of the methods below to create the infobox:
http://rbrundritt.wordpress.com/2010/05/04/simple-infoboxes-in-bing-maps-silverlight/
http://rbrundritt.wordpress.com/2009/08/01/ve-silverlight-control-%e2%80%93-pushpins-infoboxes-and-best-map-view/
http://rbrundritt.wordpress.com
- Marked As Answer by Dollar Zhang Monday, June 11, 2012 10:26 AM
-
Monday, June 11, 2012 10:26 AMHi Richard, thanks for your quick response and thanks for the detailed answer!
dollar zhang

