[Expand]General Information
[Expand]WinForms Controls
[Expand]ASP.NET Controls and MVC Extensions
[Expand]ASP.NET Bootstrap Controls
[Expand]ASP.NET Core Bootstrap Controls
[Collapse]WPF Controls
 [Expand]What's Installed
 [Expand].NET Core 3 Support
 [Expand]Common Concepts
 [Expand]MVVM Framework
 [Collapse]Controls and Libraries
  [Expand]Data Grid
  [Expand]Ribbon, Bars and Menu
  [Expand]Charts Suite
  [Expand]Pivot Grid
  [Expand]Rich Text Editor
  [Expand]Tree List
  [Expand]Gauge Controls
  [Collapse]Map Control
   [Expand]Getting Started
   [Expand]Coordinate Systems
   [Expand]Map Image Data
   [Expand]GIS Data
   [Expand]Vector Data
   [Expand]Visual Elements
   [Expand]End-User Interaction
      How to: Add a Map Control at Design Time
      How to: Add a Map Control via XAML
      How to: Add a Map Control at Runtime
      How to: Customize Navigation Elements
      How to: Add a Mini Map to the Map
      How to: Get a Bing Maps Key
    [Expand]Map Image Data
    [Expand]GIS Data
    [Expand]Vector Data
    [Expand]Printing and Exporting
  [Expand]Layout Management
  [Expand]Windows Modern UI
  [Expand]Data Editors
  [Expand]Navigation Controls
  [Expand]Spell Checker
  [Expand]Property Grid
  [Expand]PDF Viewer
  [Expand]TreeMap Control
  [Expand]Gantt Control
  [Expand]Diagram Control
  [Expand]Windows and Utility Controls
   Dialogs, Notifications and Panels
  [Expand]Scheduler (legacy)
 [Expand]Scaffolding Wizard
  Redistribution and Deployment
  Get More Help
 [Expand]API Reference
[Expand]Xamarin Controls
[Expand]Windows 10 App Controls
[Expand]Office File API
[Expand]Report and Dashboard Server
[Expand]eXpressApp Framework
[Expand]eXpress Persistent Objects
[Expand]CodeRush Classic
[Expand]Cross-Platform Core Libraries
[Expand]Tools and Utilities
 End-User Documentation
View this topic on docs.devexpress.com (Learn more)

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 https://www.microsoft.com/en-us/maps/create-a-bing-maps-key"

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.


    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.

Expanded See Also

Is this topic helpful?​​​​​​​