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

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

You May Also Like

This blog post will guide you through several effective methods to troubleshoot and resolve the issue of Microsoft Edge not...
Windows 11 offers a range of audio enhancements that can enrich your listening experience. These enhancements include features like virtual...
Windows 11 brings a fresh and visually stunning design to your desktop, and one of the standout features is the...