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