How to Launch Maps Application (Built-In) from Windows Phone 8 App?

The Windows Phone 8 SDK provides a launcher “MapsTask” which can be used by the developers to launch the built in maps application in the Windows Phone App.

How to Launch Maps Application (Built-In) from Windows Phone 8 App?

To launch the Maps Application in Windows Phone App, just create an instance of MapsTask and set the optional properties and then call the Show method of the MapsTask object.

The Center property of the Maps Control can be used to set the Current coordinate. The search term can also be specified which will result in the map to display the results of the search term.

MapsTask maps = new MapsTask();

maps.Center = new GeoCoordinate(13.0022, 077.5980);

maps.ZoomLevel = 9;

maps.SearchTerm = "Movie";

maps.Show();

How to Launch Maps Application (Built-In) from Windows Phone 8 App?

How to Launch Maps Application (Built-In) from Windows Phone 8 App?

Leave A Reply

Your email address will not be published. Required fields are marked *

You May Also Like

In this post, you will learn about sync provider notifications in Windows 11 and how to disable or enable it...
In this tutorial, let’s learn how to enable or disable the startup sound in Windows 11. By default, when Windows...
The CameraCaptureTask allows the Windows Phone 7 App to launch the Camera Application . This will be useful when the...