Map is not created, check your parameters

  • bd5hty
  • Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
More
4 years 9 months ago #4266 by bd5hty
Replied by bd5hty on 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 9 months ago #4268 by Dima
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 User's Sites for apropriate extension

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

More
4 years 9 months ago #4269 by Dima
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 User's Sites for apropriate extension

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

  • bd5hty
  • Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
More
4 years 9 months ago #4272 by bd5hty
Replied by bd5hty on 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 9 months ago #4281 by Dima
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 User's Sites for apropriate extension

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

  • bd5hty
  • Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
More
4 years 9 months ago #4283 by bd5hty
Replied by bd5hty on 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.090 seconds

Donate


Go to top