Arup Saha
Arup Saha

Reputation: 538

wp7 In-App View Directions in Map

I wanted to ask is it possible to Show Directions in Map View (Bing) in Windows Phone 7. I want to show the route (lines) from present location to a specific location in my Map Component.

Upvotes: 2

Views: 565

Answers (2)

MrMDavidson
MrMDavidson

Reputation: 2735

I had gone down the path of in-app routing, as per the link Avijeet Singh provided, however I'd recommend against it. It took a significant amount of effort to handle real world scenarios and in the end the result was not as smooth or polished as the native Bing Maps experience. Having been there, unless there is a very compelling reason to display the routing information in app, I'd advise that you look at using BingMapsDirectionTask. If you've implemented Fast Application Switching then the switch back / forth to the native maps won't be too jarring for user. Even having implemented routing in-app I ended up removing it and using the BingMapsDirectionTask

Upvotes: 2

Avijeet
Avijeet

Reputation: 365

Go through his link http://msdn.microsoft.com/en-us/library/ee681887.aspx

its for silverlight and will work on wp7 with some modifications.

here is another one if you just want to show a polyline on map control
http://guinnesslee.wordpress.com/2011/06/25/plotting-routes-onto-bing-maps-in-wp7-and-storing-it-an-obversable-collection/

Upvotes: 2

Related Questions