Giter Club home page Giter Club logo

map-explorer's Introduction

Map Explorer

Map Explorer application demonstrates how to use the new Windows Phone 8 Map control replacing the Bing Maps control used in Windows 7, as well as how to use new map-related features, such as address search, locationing, and routes. Map Explorer is a simple Silverlight application which enables the user to change properties of the map component to see the effect on shown map.

The example has been developed with Silverlight for Windows Phone devices and tested to work on Lumia devices with Windows Phone 8.

Screenshot

This example application is hosted in GitHub: https://github.com/Microsoft/map-explorer

For more information on implementation and porting, visit Lumia Developer's Library: http://developer.nokia.com/Resources/Library/Lumia/#!code-examples/map-explorer.html

What's new

Version 1.1.0.0: Support for downloading maps. Mapping APIs T&C compliance.

  1. Usage

This is a simple build-and-run solution. Learn about Map properties and Map related features by trying out the application.

  1. Prerequisites

  • C# basics
  • Windows 8
  • Microsoft Visual Studio Express for Windows Phone 2012
  1. Project structure and implementation

3.1 Folders

  • The root folder contains the project file, the license information and this file (release_notes.txt).
  • MapExplorer: Root folder for the implementation files.
  • Assets: Graphic assets like icons and tiles.
  • Properties: Application property files.
  • Resources: Application resources.

3.2 Important files and classes

File Description
MainPage.xaml The main page of the application with its most important component, the map.
MainPage.xaml.cs The code-behind file of the main page.
Class Description
MainPage This class is responsible for all the map related functionality of the app.

3.3 Used APIs/Windows Phone Components

  • Microsoft.Phone.Maps.Controls
  • Microsoft.Phone.Maps.Services
  • System.Device.Location
  • Windows.Devices.Geolocation
  1. Compatibility

  • Windows Phone 8

Tested to work on Nokia Lumia 820 and Nokia Lumia 920. Developed with Microsoft Visual Studio Express for Windows Phone 2012.

4.1 Required Capabilities

  • ID_CAP_LOCATION
  • ID_CAP_MAP
  • ID_CAP_NETWORKING
  • ID_CAP_SENSORS

4.2 Known Issues

None.

  1. Building, installing, and running the application

5.1 Preparations

Make sure you have the following installed:

  • Windows 8
  • Windows Phone SDK 8.0

5.2 Using the WINDOWS PHONE 8 SDK

  1. Open the SLN file: File > Open Project, select the file MapExplorer.sln
  2. Select the target 'Emulator WVGA'.
  3. Press F5 to build the project and run it on the Windows Phone Emulator.

5.3 Deploying to Windows Phone 8

Please see official documentation for deploying and testing applications on Windows Phone devices: http://msdn.microsoft.com/en-us/library/gg588378%28v=vs.92%29.aspx

  1. License

See the license text file delivered with this project. The license file is also available online at https://github.com/Microsoft/map-explorer/blob/master/Licence.txt

  1. Related documentation

An article "Guide to the Maps" published on Nokia Lumia Developer's Library (http://www.developer.nokia.com/Resources/Library/Lumia/#!guide-to-the-maps.html) describes the properties and usage of map control and map-related features in detail using MapExplorer as an example.

  1. Version history

  • 1.1.0.0 Support for downloading maps. Mapping APIs T&C compliance.
  • 1.0.0.0 First release.

map-explorer's People

Contributors

ltomuta avatar mikpiipp avatar tompaana avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.