Map is not created, check your parameters

  • bd5hty
  • bd5hty's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
More
4 years 3 months ago #4266 by bd5hty
bd5hty replied the topic: Map is not created, check your parameters
Okay, thank you very much!
Happy New Year!

Please Log in or Create an account to join the conversation.

More
4 years 3 months ago #4268 by Dima
Dima replied the topic: Map is not created, check your parameters
Thanks, you too.

If you know difference of 1.5 and 2 version of API, or you can explain what wrong in API agreements which I don't use - tell me (it's too hard to use google translate to translate all, that written in Baidu Maps API docs from chinese).

From API v1.5 there is a key you need. You go to console, get your API key and enter it in component options.

Don't forget support my developments: post review in JED, donate ;)

Post your sites as examples into my directory
Google: forum.zhuk.cc/index.php/forum/gm-user-s-sites
Yandex: forum.zhuk.cc/index.php/forum/ym-user-s-sites
Baidu: forum.zhuk.cc/index.php/forum/bdm-user-s-sites

Please Log in or Create an account to join the conversation.

More
4 years 3 months ago #4269 by Dima
Dima replied the topic: Map is not created, check your parameters
On my development site I remove fixed API version, and all works. It means that all correct. Then I should ask you - "I like to see Baidu official API revised agreement, you confirm that this component can be used?"
what you mean?

Don't forget support my developments: post review in JED, donate ;)

Post your sites as examples into my directory
Google: forum.zhuk.cc/index.php/forum/gm-user-s-sites
Yandex: forum.zhuk.cc/index.php/forum/ym-user-s-sites
Baidu: forum.zhuk.cc/index.php/forum/bdm-user-s-sites

Please Log in or Create an account to join the conversation.

  • bd5hty
  • bd5hty's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
More
4 years 3 months ago #4272 by bd5hty
bd5hty replied the topic: Map is not created, check your parameters
This error may be: "src =" api.map.baidu.com/api ?v=2.0&ak=your key "",
Specifically I'm not sure, I do not know programming. Thank you!

Please Log in or Create an account to join the conversation.

More
4 years 3 months ago #4281 by Dima
Dima replied the topic: Map is not created, check your parameters
Hi

Look at Baidu Map API docs

developer.baidu.com/map/jsdevelop-2.htm

Don't forget support my developments: post review in JED, donate ;)

Post your sites as examples into my directory
Google: forum.zhuk.cc/index.php/forum/gm-user-s-sites
Yandex: forum.zhuk.cc/index.php/forum/ym-user-s-sites
Baidu: forum.zhuk.cc/index.php/forum/bdm-user-s-sites

Please Log in or Create an account to join the conversation.

  • bd5hty
  • bd5hty's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
More
4 years 3 months ago #4283 by bd5hty
bd5hty replied the topic: Map is not created, check your parameters
</style>  
<script type="text/javascript" src="http://api.map.baidu.com/api?v=1.5&ak=您的密钥"></script>//此为v1.5版本的引用方式  
  // http://api.map.baidu.com/api?v=1.5&key=您的密钥&callback=initialize"; //此为v1.4版本及以前版本的引用方式

Please Log in or Create an account to join the conversation.

Time to create page: 0.118 seconds

Donate


Go to top