Insert the map information in web pages

/ / placed in the location and setting of map display size

, the 1 part of the code is placed in HTML file label:

method

code is divided into 3 parts,

 

The

3, the rest of the code is to generate a map of the JS code, suggestions on the HTML label in the end of the file:

2, the following code on the label:

address: 贵族宝贝api.map.baidu贵族宝贝/lbsapi/creatmap/index.html, open access to create the map screen. Locate their position in the left position center point.

currently many websites need to address display, we can use the insert love map of Shanghai open platform to realize the map.

2

        <! — love reference map of Shanghai API–>
              < STYLE type=text/css>       HTML, body{margin:0; padding:0     .Iw_poi_title {color:#CC5522; font-size:14px; font-weight:bold; overflow:hidden; padding-right:13px; white-space:nowrap}     .Iw_poi_content {font:12px Arial, sans-serif; overflow:visible; padding-top:4px; "

4

3

reading

reading

reading

Step / The

add name location and notes on the "add label". Confirm the correct click save.

1

to confirm the correct and click "second steps to get the code, can generate HTML code. Click "copy code"

code is divided into 3 parts, the 1 part of the code, the following is placed in HTML file label: