There could be scenarios where you don't really want full control of how maps behave and want the experts (Bing maps, Nokia Maps and many more) to handle it for your, in that case all you need to do is use iy.
- Windows.System.Launcher.LaunchUriAsync(uri)
Working with Bing Maps
The URI Schema to launch Bing maps is "bingmaps:" and the following is the simple code to launch Bing maps.
- private void LaunchBingMaps()
- {
- // The URI to launch
- string uriToLaunch = @"bingmaps:?cp=140.726966~174.006076";
- var uri = new Uri(uriToLaunch);
- Windows.System.Launcher.LaunchUriAsync(uri);
- }
Launching Other Map apps
If you want to launch any map app other than Bing maps then:
- ms-drive-to : Launches a third-party map app like Nokia maps or ATT maps in the driving route mode
- ms-walk-to : Launches a third-party map app in the walking route mode
The parameters that you pass to the URI schema are destination.latitude, destination.longitude or destination.name.
The following is the sample code snippet to launch the third-party map application:
- public void LaunchDrive()
- {
- // The URI to launch
- string uriToLaunch = @"ms-drive-to:?destination.latitude=12.8399390"
- + "&destination.longitude=77.6770030&destination.name=Electonic city";
- var uri = new Uri(uriToLaunch);
- Windows.System.Launcher.LaunchUriAsync(uri);
- }
If there is more than one app installed to handle this URI schema then there will be a dialog shown to the user to choose the app that needs to handle the schema.

Join the conversation! Your thoughts help the community grow.