Log In
Home
Support
Demos
Documentation
Blogs
Training
Webinars
[Expand]General Information
[Collapse]WinForms Controls
  Prerequisites
 [Expand]What's Installed
 [Expand]Build an Application
 [Collapse]Controls and Libraries
  [Expand]Forms and User Controls
  [Expand]Messages, Notifications and Dialogs
  [Expand]Editors and Simple Controls
  [Expand]Ribbon, Bars and Menu
  [Expand]Application UI Manager
  [Expand]Docking Library
  [Expand]Data Grid
  [Expand]Vertical Grid
  [Expand]Pivot Grid
  [Expand]Tree List
  [Expand]Chart Control
  [Expand]Diagrams
  [Expand]Gauges
  [Collapse]Map Control
   [Expand]Getting Started
    Layers
   [Expand]Coordinate Systems
   [Expand]Map Image Data
   [Expand]GIS Data
   [Expand]Vector Data
   [Expand]Visual Elements
   [Collapse]Examples
    [Collapse]General
      How to: Add a Map Control at Design Time
      How to: Create a Map Control via Code
      How to: Get a Bing Maps Key
      How to: Add a Mini Map
      How to: Format Coordinates Displayed in the Navigation Panel
      How to: Show Additional Information Over the Map
    [Expand]Map Image Data
    [Expand]GIS Data
    [Expand]Vector Data
    [Expand]Printing and Exporting
   [Expand]End-User Features
   [Expand]Product Information
  [Expand]Scheduler
  [Expand]Spreadsheet
  [Expand]Rich Text Editor
  [Expand]Spell Checker
  [Expand]Form Layout Managers
  [Expand]Navigation Controls
  [Expand]Printing-Exporting
  [Expand]PDF Viewer
   Reporting
  [Expand]Snap
  [Expand]TreeMap Control
 [Expand]Common Features
  Get More Help
 [Expand]API Reference
[Expand]ASP.NET Controls and MVC Extensions
[Expand]ASP.NET Bootstrap Controls
[Expand]ASP.NET Core Bootstrap Controls
[Expand]WPF Controls
[Expand]Xamarin Controls
[Expand]Windows 10 App Controls
[Expand]Document Server
[Expand]Reporting
[Expand]Report Server
[Expand]Dashboard
[Expand]eXpressApp Framework
[Expand]CodeRush
[Expand]CodeRush Classic
[Expand]Cross-Platform Core Libraries
[Expand]Tools and Utilities
 End-User Documentation

How to: Get a Bing Maps Key

This document describes how to register a Bing Maps account and create a key to be able to use this map provider in your application.

If you connect your MapControl to Bing Maps using the BingMapDataProvider and don't specify the valid Bing Maps key, you will get the following error:

"The specified Bing Maps key is invalid. To create a developer account, refer to http://www.microsoft.com/maps/developers"

This error is shown in the image below.

The error message suggests visiting the official Microsoft web page devoted to Bing Maps. This page contains links to web resources, which are useful for map application developers. The page also suggests that you create a new account and get a developer key for it.

  • Open this web page in your favorite web browser:

    Bing Maps Portal

  • On this page, click the Sign In button.

    Note

    You should have a Microsoft account to continue.

  • After that, you will need to login to your Microsoft account.

  • Fill in your account details and click Save.

  • Now you've registered a Bing Maps account and are ready to create a Bing Maps key for it. To do this, click My Keys.

  • Now you should decide what Bing Maps key you require for your application. For more information on this, refer to the Getting a Bing Maps Key topic in MSDN, and also review Microsoft Bing Maps Platform APIs' Terms of Use.

  • After you get your Bing Maps key, you should assign it to the BingMapDataProvider.BingKey property.

That's all. For more information on using the Bing Maps service, please refer to the corresponding section in MSDN: Bing Maps.

How would you rate this topic?​​​​​​​