This article is a mirror article of machine translation, please click here to jump to the original article.

View: 11660|Reply: 1

[Other] Call Baidu to report Cannot read property 'lng' of null error

[Copy link]
Posted on 6/8/2017 5:08:46 PM | | |
The mistake is because the map center and zoom level are not set, thank you, thank you!
I use local search, and adding centerAndZoom before search is fine


However, I set the map center and zoom point, but still got an error! !

That's how I set it up... The error is because it cannot be set like this,

It turns out that there is no error, and I personally feel that I don't know where the js conflicts





Previous:Baidu Maps API City Code (cityCode)
Next:Baidu Maps shows city blocks
Posted on 6/13/2017 5:30:41 PM |
The cause of the problem is that the map does not load properly
Solution:



Disclaimer:
All software, programming materials or articles published by Code Farmer Network are only for learning and research purposes; The above content shall not be used for commercial or illegal purposes, otherwise, users shall bear all consequences. The information on this site comes from the Internet, and copyright disputes have nothing to do with this site. You must completely delete the above content from your computer within 24 hours of downloading. If you like the program, please support genuine software, purchase registration, and get better genuine services. If there is any infringement, please contact us by email.

Mail To:help@itsvse.com