Baidu does not authorize the use of the map API

Source: Internet
Author: User
Tags valid

HTML call Baidu Map error:


Baidu does not authorize the use of the map API, may be because you provide the key is not a valid Baidu lbs open Platform key, or this key does not apply to the Baidu map Javascriptapi authorization. You can find out how to obtain a valid key by visiting the following URL: http://lbsyun.baidu.com/apiconsole/key#.

Workaround:

When you call Baidu maps, you need to provide access to the application (AK). For personal testing, you can login to the Baidu Development Platform (http://lbsyun.baidu.com/), register the personal development version of the account. Then create a "browser-side" app (pictured below), tick the appropriate service, set the whitelist, and when created, see the AK Key. (General error, Basic is the following several not set up good)



Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.