I have WP7 application and using Hold event. Is it possible to get geocoordinates for a point I'm holdin my finger on?
Thank you
Point p = e.GetPosition(this.MapMain);
GeoCoordinate geo = new GeoCoordinate();
geo = MapMain.ViewportPointToLocation(p);
geo now contains coordinates of tap.
来源:https://stackoverflow.com/questions/8526697/how-to-get-geo-coordinates-from-gestureeventargs-using-bing-map-control