Original: "Baidu map API" published static diagram API! Just a URL, you can display custom Baidu map!
Summary:
Baidu map Static Figure api! You do not need to perform any special actions to display this picture on a Web page.
No JavaScript is required. We just need to create a URL and put it in the tag. Can be customized Baidu map image embedded in their own web pages.
--------------------------------------------------------------------------------------------------------------
Quick Example
Return to the center point in the Baidu Tower map, and here to make a callout. In this example, the central Point Center and the label position markers are specified.
Center and markers parameters can be text, can also be Baidu coordinates. Any geographical coordinates can be converted to Baidu coordinates, for details, please contact: [Email protected]
http://api.map.baidu.com/staticimage?center= Baidu building &markers= Baidu Building
List of service parameters
parameter name |
required |
default |
description |
width |
no |
|
picture width. Range of Values: (0, 1024]. |
height |
no |
+ |
picture height. Range of Values: (0, 1024]. |
center |
no |
Beijing |
Map Center point location, parameters can be latitude coordinates or names. |
zoom |
no |
all |
map level. Range of values: [1, 18]. |
bbox |
no |
null |
map view range. Format: Minx,miny,maxx,maxy. |
markers |
no |
null |
callouts can be described by latitude or address/place name, and multiple labels separated by a vertical line. |
markerstyles |
no |
null |
dimension style in the format: Size,label. Multiple styles are separated by a vertical bar. There is an index correspondence with the markers. |
terms of use and limitations
Request frequency: Independent IP 10/sec
URL length 2048
The maximum number of point markers to display is 20
---------------------------------------------------------------------------------------------------------
Reference URL: Http://dev.baidu.com/wiki/map/index.php?title=%E9%9D%99%E6%80%81%E5%9B%BEAPI
"Baidu Map API" released static Diagram API! Just a URL, you can display custom Baidu map!