Reputation: 332
I am following (http://msdn.microsoft.com/en-us/library/ee681887.aspx) and I have three problems connected with assamblies I guess.
Microsoft.Phone.Controls.Maps.Location' does not contain a constructor that takes 2 arguments
in
routeLine.Locations.Add(new Location(p.Latitude, p.Longitude));
And two other simmilar.
Can't find the issue as I have added good references...
Upvotes: 0
Views: 863
Reputation: 15006
You are using the wrong tutorial. On Windows Phone you should use GeoCoordinate class. It has a constructor that accepts 2 arguments.
To use Bing Maps and route on Windows Phone, find tutorial here.
Upvotes: 1