Problems with api key

James Clark 21 Reputation points
2021-07-02T16:07:35.433+00:00

Hi I have created an api key and tried it with your example tutorial. But I get the error :
The specified credentials are invalid. You can sign up for a free developer account at http://www.bingmapsportal.com
I am hosting the code at jccodez.com/BingMaps

Please can you help.

Regards

James

Azure Maps
Azure Maps
An Azure service that provides geospatial APIs to add maps, spatial analytics, and mobility solutions to apps.
587 questions
0 comments No comments
{count} votes

Accepted answer
  1. rbrundritt 15,211 Reputation points Microsoft Employee
    2021-07-02T18:07:31.98+00:00

    You have square brackets around your key in the map script URL, remove those.

    If you are just getting started, you might also want to take a look at Azure Maps. It's Microsoft latest mapping platform. The Azure Maps web SDK has a lot more performance benefits, and licensing is much easier than Bing Maps. Here are some resources:

    1 person found this answer helpful.

0 additional answers

Sort by: Most helpful