Preface:
Recently, I found that Baidu had a group-buy map, so I was interested in Baidu map. I tried Baidu map on my own. The experience was a bit pitfall!
Body: thoughts:
Baidu map API has many examples. I am very interested in the example of a 3D map,
The personal Blog contains the Google map function to display the location of tourist maps (Article: Create your own Google map blog announcement [demo + Source Code]). If you change it to Baidu map, it is better to display 3D maps. This design concept is as follows:
- Get geographic information for visitors -- use Sina IP interface: http://www.cnblogs.com/phphuaibei/archive/2011/09/08/2171903.html
- Geographic analysis --- Baidu instance http://dev.baidu.com/wiki/static/map/API/examples? V = 1.2 & 7_29 #7 & 29
- Show 3D map --- Baidu instance http://dev.baidu.com/wiki/static/map/API/examples? V = 1.2 & 0_3 #0 & 3
The first one already exists, mainly integrating the second and third, and integrating the Code:
Show
Source
Take a look:
There is nothing. Hurry up to find the Baidu AIP manual, and there is no such reason. We can only compare the two instances: Find the problem, switching "10 Shangdi Street, Haidian District, Beijing" to "Beijing" looks like a three-dimensional map has finally appeared:
You can see that it seems a bit boring:
Maybe the web page is not refreshed successfully, so I keep on f5. the 3D map is:
My brother never said anything about this 3D map.
It won't be in harmony with Beijing. The one in it is Tiananmen !!!!
Use firebug to view the following information:
So many 302 million responses are actually speechless. Considering that Baidu is a great company, I should continue to do my work without asking these questions.
Call the Sina interface to parse Baidu map. The result is as follows:
My IP address is located in Hangzhou, Zhejiang province, but I don't know why it is still blank,
Last found:
Click to see: Metropolitan Area (http://www.o.cn /)
I wiped it. There is no 3D map in Hangzhou. Does Baidu 3D Map call the metropolitan area ??
I always thought that Baidu and other awesome companies should be able to do it on their own. Even if they were not doing it on their own, they would not make Tiananmen Square harmonious ....
In this Baidu 3D map experience, one word is described as: pitfall!
This article is based on the signature-non-commercial use
3.0 release of the license agreement. You are welcome to repost and interpret it. However, the signature of this article, PHP Huaibei (including links), must be retained and cannot be used for commercial purposes. If you have any questions or negotiation with the Authority, please contact me.
Preface:
Recently, I found that Baidu had a group-buy map, so I was interested in Baidu map. I tried Baidu map on my own. The experience was a bit pitfall!
Body: thoughts:
Baidu map API has many examples. I am very interested in the example of a 3D map,
The personal Blog contains the Google map function to display the location of tourist maps (Article: Create your own Google map blog announcement [demo + Source Code]). If you change it to Baidu map, it is better to display 3D maps. This design concept is as follows:
- Get geographic information for visitors -- use Sina IP interface: http://www.cnblogs.com/phphuaibei/archive/2011/09/08/2171903.html
- Geographic analysis --- Baidu instance http://dev.baidu.com/wiki/static/map/API/examples? V = 1.2 & 7_29 #7 & 29
- Show 3D map --- Baidu instance http://dev.baidu.com/wiki/static/map/API/examples? V = 1.2 & 0_3 #0 & 3
The first one already exists, mainly integrating the second and third, and integrating the Code:
Show
Source
Take a look:
There is nothing. Hurry up to find the Baidu AIP manual, and there is no such reason. We can only compare the two instances: Find the problem, switching "10 Shangdi Street, Haidian District, Beijing" to "Beijing" looks like a three-dimensional map has finally appeared:
You can see that it seems a bit boring:
Maybe the web page is not refreshed successfully, so I keep on f5. the 3D map is:
My brother never said anything about this 3D map.
It won't be in harmony with Beijing. The one in it is Tiananmen !!!!
Use firebug to view the following information:
So many 302 million responses are actually speechless. Considering that Baidu is a great company, I should continue to do my work without asking these questions.
Call the Sina interface to parse Baidu map. The result is as follows:
My IP address is located in Hangzhou, Zhejiang province, but I don't know why it is still blank,
Last found:
Click to see: Metropolitan Area (http://www.o.cn /)
I wiped it. There is no 3D map in Hangzhou. Does Baidu 3D Map call the metropolitan area ??
I always thought that Baidu and other awesome companies should be able to do it on their own. Even if they were not doing it on their own, they would not make Tiananmen Square harmonious ....
In this Baidu 3D map experience, one word is described as: pitfall!