How Baidu maps refer to your site and display information about your business on the map

Source: Internet
Author: User

Step One:

Open the following address: http://api.map.baidu.com/lbsapi/creatmap/index.html

Step Two: locating the center point

On the left side of the page that opens, enter the enterprise's detailed address, and then click Find to display the exact location of the enterprise in the map on the right.

Step Three: set up a map

The main is to set the size of the map, others by default, such as the size of the map we want to call the width of 600 pixels, height of 500 pixels step four: add callout  
     This is the key step, after the point, we click on the Green Dot icon, and then on the map of the location of the enterprise to click, you can mark a good place,   Step Five: Get Code
Once the above is set up, we can get the call code for the map by clicking on the "Get Code" button below. Copy them all, and then create a new text document on the desktop to copy the code in and save it. Rename text as: "baidumap.html" Step Six: upload the baidumap.html file to the root of your space. In the place where we need to call the map, insert the following code:
<iframe src= "/baidumap.html" frameborder=0 height=600 width=500 scrolling=no></iframe>
Height=600 refers to the height of the map, width=500 refers to the width of the map, this is based on the actual map size to modify, do not write can also.

How Baidu maps refer to your site and display information about your business on the 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.