0
我希望通過提供的Windows Phone應用程序development.??//所在地地址在Windows手機提供當地地址獲取經緯度7
我希望通過提供的Windows Phone應用程序development.??//所在地地址在Windows手機提供當地地址獲取經緯度7
現在,您可以在地圖保持事件中添加以下代碼。
你拿着鼠標的地方。它會顯示經度和緯度的座標。
而且你可以明智任何使用它們作爲一個字符串或位置,其中
mapMain.Hold + =(S,E)=>
{
Point p = e.GetPosition(this.mapMain);
GeoCoordinate geo = new GeoCoordinate();
geo = mapMain.ViewportPointToLocation(p);
txtBlock1.text = geo.ToString();
};
希望它可以幫助... - )