"Baidu Map API" released static Diagram API! Just a URL, you can display custom Baidu map!

Source: Internet
Author: User

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!

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.