Hi,
Can somebody tell me why m facing this problem when I define a method for calculating the route in Bingmap in Windows Phone7.
The line of code is :
routeLine.Locations.Add(new Location(p.Latitude, p.Longitude));
the error I get is :
Error1:'Microsoft.Phone.Controls.Maps.Platform.Location' does not contain a constructor that takes 2 arguments
I dont know why this error arise
2 Answers
Know the answer? Post it. Somebody with the same question will find it here.


VulpesRank #55 · 29.2K reputationPosted Jan 12, 2012, 7:48 AM EST
AartiRank #2,383 · 594 reputationPosted Jan 12, 2012, 8:10 PM EST
Please refer below link:
http://forums.create.msdn.com/forums/p/96830/578037.aspx