Revision as of 13:55, 22 August 2011 by symbianyucca (Talk | contribs)

Maps Examples for Windows phone

From Nokia Developer Wiki
Jump to: navigation, search

These Examples were tested on WP7.1 SDK emulator as well as on LG Quantum device. Note that in order to get these examples to work you do need to get Key from bingmapsportal and add that to the following places:

1. with XAML files add it to the CredentialsProviderwith 2. cs files set it to “String ApplicationId” so it will be used with services

Qt versions of similar use case can be found from Qt_Maps_Examples


Hello Map

Basic map with kinetic panning and pinch zooming. Also includes menu options for disabling animations (disables kinetic panning as well), as well as disabling the map (makes it static).

Download example: WP7_HelloMap.zip

Map events

Show how different events can be captured, and which events are generated with different map changes.

Download example: WP7_MapEvents.zip

Map interaction

Show basic zooming and moving to different locations in the map as well as toggling map mode between street and Arial view. Download example: WP7_MapInteraction.zip

Simple Map content

Shows how to add and remove Pushpins (markers), polyline and polygon to the Map, as well as how to Z-order then, toggle visibility of the map items. Example also shows how to zoom the map in order to fit the selected map content into the view.

Download example: WP7_SimpleMapContent.zip

More Map content

Shows how to make rectangle & circle with polygon and how to add them into the map. Also shows differences adding ellipse & rectangle objects to the map (non-map objects). Download example: WP7_MoreMapContent.zip

Map markers

Shows how to personalize Pushpins, use Draggable Pushpins, add and remove PushPind individually as well as with layers

Download example: WP7_MapMarkers.zip

Dynamic polyline

Shows how to add and remove markers to the map with click events, as well as how to dynamically add and remove points from polyline.

Download example: WP7_DynamicPolyLine.zip

My Map position

Shows how to use GeoCoordinateWatcher to get and monitor GPS position and how to show that on the map using circle polygon to show the accuracy of the position. Download example: WP7_MyLocation.zip

Geo Coding

Simple example showing on how you can Geo code an address to a location utilizing the Geo coding service

Download example: WP7_GeoCoding.zip

Reverse Geo coding

Simple example showing on how you can Reverse Geo code location from an address by utilizing the reverse Geo coding service

Download example: WP7_RevGeoCode.zip

Map search

Simple example showing how to do a simple text based search for places and show them in the map.

Download example: WP7_MapSearch.zip


Simple example showing how you can route between two points and show the route in a map. Start and end points are implemented with draggable pushpins.

Download example: WP7_MapRouting.zip

Maps Imagenary

Simple example showing on how you can get an Url for and maps image from selected point, as well as how to get meta data for that image.

Download example: WP7_MapImagery.zip

400 page views in the last 30 days.

Was this page helpful?

Your feedback about this content is important. Let us know what you think.


Thank you!

We appreciate your feedback.