Reputation: 5264
Hopefully this is an easy one.
In my app, I have an event page with an address listed. Currently I have a link to view map which brings up a page in my application that uses the map control, and using lat/long that I pass, displays the location of the event.
What I would like for it to do is to send the lat/long to the existing maps application so any driving directions (etc) could be handled by that application.
Is this possible?
Upvotes: 4
Views: 1078
Reputation: 50028
There are two new Tasks introduced in the 'Mango' release of WindowsPhone. BingSearchTask & BingDirectionsTask are very useful for map functionality.
Refer this link for all the tasks available - http://msdn.microsoft.com/en-us/library/ff428753(v=VS.92).aspx
Upvotes: 2
Reputation: 10609
There isn't an existing Maps launcher (I really wish there was), the only work around at the moment that I've seen is a Pseudo Map Launcher by Kevin Marshall.
Upvotes: 5
Reputation: 1911
I would assume you mean the Phone's built-in map application, and that you'd like to launch that application with the desired coordinates? As of the January update, that's still not possible, sorry.
But I work on the API for Windows Phone, so I'll be sure to keep your feedback in mind.
Upvotes: 1