Joomla inserts Baidu map
Step 1: open the following address: http://api.map.baidu.com/lbsapi/creatmap/index.html
Step 2: locate the center point on the left side of the open page, enter the detailed address of the enterprise, and then click to find it, and you can display the specific location of the enterprise in the map on the right.
Step 3: the main purpose of setting the map is to set the size of the map, and others can be done according to the default. For example, the map we are going to call has a width of 600 pixels and a height of 500 pixels.
Step 4: add labeling this is a key step, after clicking, we click on the green dot icon, and then click on the location of the enterprise on the map, you can mark the location, after marking, there are "name" and "remarks" two input boxes below the mark icon, here you can enter the enterprise name and enterprise-related information, must not be wasted. After editing, don't forget to save it, otherwise it will be invalid.
Step 5: after the acquisition code is set up above, we can click the "get code" button below to get the call code of the map. Copy it all, then create a new text document on the desktop, copy the code in and save it. Rename the text to: "baidumap.html"
Step 6: upload the baidumap.html file to the root directory of your space. Where we need to call the map, insert the following code:
Height=600 height=600 refers to the height of the map; width=500 refers to the width of the map, which can be modified according to the actual size of the map.