Introduction

In this sample is a simple mapping application that allows the user to search for locations using the Search charm. To do this there are three main tasks that have to be done:

  1. Create a basic mapping app
  2. Integrate with the Search Charm
  3. Add geocoding logic to the Search Charm

By making use of the Search charm users can search within your app from anywhere in their system, even if it is not current the main application open.

Building the Sample

To run this sample you must install the Bing Maps SDK for Windows Store apps and get a Bing Maps key for Windows Store apps. You must also have Windows 8.1 and Visual Studio 2013.

Open the sample in Visual Studio and insert your Bing Maps key in the MainPage.xaml file where it says “YOUR_BING_MAPS_KEY” in the source code. You must perform the following steps for your app project to work correctly with Bing Maps. Detailed instructions are provided below. 

Description

Here is a screenshot of the finished application showing a route.