2013-02-12 36 views
0

我建立使用BingMapsDirectionsTask拖放8

BingMapsDirectionsTask task = new BingMapsDirectionsTask(); 


ShowMyLocationOnTheMap(); 

LabeledMapLocation start = new LabeledMapLocation(myCrntAddres, new System.Device.Location.GeoCoordinate()); 
LabeledMapLocation end = new LabeledMapLocation(desLoc.Text, new System.Device.Location.GeoCoordinate()); 
task.Start = start; 
task.End = end; 

的代碼了Windows Phone 8的工作正常,但我想補充的功能,使用戶可以在地圖上拖動路線它已經映射在用戶當前位置和用戶輸入的 地址之間。

回答