earthling
earthling

Reputation: 5264

Launching WP7 Map Application

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

Answers (3)

Jobi Joy
Jobi Joy

Reputation: 50028

There are two new Tasks introduced in the 'Mango' release of WindowsPhone. BingSearchTask & BingDirectionsTask are very useful for map functionality.

http://msdn.microsoft.com/en-us/library/microsoft.phone.tasks.bingmapsdirectionstask_members(v=VS.92).aspx

Refer this link for all the tasks available - http://msdn.microsoft.com/en-us/library/ff428753(v=VS.92).aspx

Upvotes: 2

Nigel Sampson
Nigel Sampson

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

gdso
gdso

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

Related Questions