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’ll learn about the Win32 Error “0x000019E5 – ERROR_COULD_NOT_RESIZE_LOG” that you get when debugging system erors in...
In this post, you’ll learn about the error “CO_E_DBERROR 0x8004E02B” that is returned when working with COM based APIs or...
In this post, you’ll learn about the Win32 Error “0x000019D0 – ERROR_LOG_BLOCK_VERSION” that you get when debugging system erors in...