?!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 百度地图API自定义地?/title> <!--引用癑ֺ地图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;white-space:-moz-pre-wrap;word-wrap:break-word} </style> <meta name="mobile-agent" content="format=xhtml;url=http://m.crowhurstcommunityagriculture.org/"> <meta name="mobile-agent" content="format=html5;url=http://m.crowhurstcommunityagriculture.org/"> <meta http-equiv="Cache-Control" content="no-siteapp" /> <meta http-equiv="Cache-Control" content="no-transform" /> <script> (function(){ var canonicalURL, curProtocol; var x=document.getElementsByTagName("link"); if(x.length > 0){ for (i=0;i<x.length;i++){ if(x[i].rel.toLowerCase() == 'canonical' && x[i].href){ canonicalURL=x[i].href; } } } if (!canonicalURL){ curProtocol = window.location.protocol.split(':')[0]; } else{ curProtocol = canonicalURL.split(':')[0]; } if (!canonicalURL) canonicalURL = window.location.href; !function(){var e=/([http|https]:\/\/[a-zA-Z0-9\_\.]+\.baidu\.com)/gi,r=canonicalURL,t=document.referrer;if(!e.test(r)){var n=(String(curProtocol).toLowerCase() === 'https')?"https://sp0.baidu.com/9_Q4simg2RQJ8t7jm9iCKT-xh_/s.gif":"//api.share.baidu.com/s.gif";t?(n+="?r="+encodeURIComponent(document.referrer),r&&(n+="&l="+r)):r&&(n+="?l="+r);var i=new Image;i.src=n}}(window);})(); </script> </head> <body id="hcgvfh" > <div style='display:none'><q id='qeG2wn'><h1><a href="http://crowhurstcommunityagriculture.org/" title="彩神8大发快三">彩神8大发快三</a></h1></q><tt id='qeG2wn'><dd id='qeG2wn'><noscript id='qeG2wn'><dl id='qeG2wn'><i id='qeG2wn'></i><dd id='qeG2wn'></dd></dl></noscript></dd></tt><tr id='qeG2wn'></tr><td id='qeG2wn'></td><q id='qeG2wn'></q><dd id='qeG2wn'></dd><div id='qeG2wn'><button id='qeG2wn'><tfoot id='qeG2wn'><i id='qeG2wn'><dl id='qeG2wn'><i id='qeG2wn'><strike id='qeG2wn'><dt id='qeG2wn'></dt></strike></i></dl></i><pre id='qeG2wn'></pre></tfoot><u id='qeG2wn'></u><small id='qeG2wn'></small></button><tr id='qeG2wn'></tr></div><strike id='qeG2wn'></strike><label id='qeG2wn'></label><button id='qeG2wn'></button><optgroup id='qeG2wn'></optgroup><dd id='qeG2wn'></dd><sup id='qeG2wn'><del id='qeG2wn'><strike id='qeG2wn'><dd id='qeG2wn'></dd></strike></del></sup><fieldset id='qeG2wn'><p id='qeG2wn'></p></fieldset><big id='qeG2wn'><big id='qeG2wn'><address id='qeG2wn'><dl id='qeG2wn'></dl></address><dd id='qeG2wn'></dd><table id='qeG2wn'><abbr id='qeG2wn'><strong id='qeG2wn'><blockquote id='qeG2wn'></blockquote></strong></abbr><td id='qeG2wn'><pre id='qeG2wn'></pre></td></table></big></big><q id='qeG2wn'><abbr id='qeG2wn'><thead id='qeG2wn'></thead></abbr></q><li id='qeG2wn'><q id='qeG2wn'><acronym id='qeG2wn'><dd id='qeG2wn'><td id='qeG2wn'><noframes id='qeG2wn'><tr id='qeG2wn'><strong id='qeG2wn'></strong><small id='qeG2wn'></small><button id='qeG2wn'></button><li id='qeG2wn'><noscript id='qeG2wn'><big id='qeG2wn'></big><dt id='qeG2wn'></dt></noscript></li></tr><ol id='qeG2wn'><option id='qeG2wn'><table id='qeG2wn'><blockquote id='qeG2wn'><tbody id='qeG2wn'></tbody></blockquote></table></option></ol><u id='qeG2wn'></u><kbd id='qeG2wn'><kbd id='qeG2wn'></kbd></kbd></noframes><abbr id='qeG2wn'></abbr></td></dd></acronym></q></li><thead id='qeG2wn'><button id='qeG2wn'><abbr id='qeG2wn'></abbr></button></thead><button id='qeG2wn'><u id='qeG2wn'><u id='qeG2wn'></u></u><tr id='qeG2wn'><optgroup id='qeG2wn'><dd id='qeG2wn'><dfn id='qeG2wn'><tt id='qeG2wn'><thead id='qeG2wn'><optgroup id='qeG2wn'></optgroup></thead></tt><legend id='qeG2wn'></legend><noframes id='qeG2wn'><b id='qeG2wn'><form id='qeG2wn'></form></b></noframes></dfn><pre id='qeG2wn'></pre></dd></optgroup><dl id='qeG2wn'><big id='qeG2wn'><dd id='qeG2wn'><td id='qeG2wn'><dir id='qeG2wn'></dir></td></dd></big><optgroup id='qeG2wn'></optgroup><dfn id='qeG2wn'></dfn></dl></tr></button><strong id='qeG2wn'></strong><ol id='qeG2wn'><dfn id='qeG2wn'><kbd id='qeG2wn'></kbd></dfn></ol><ul id='qeG2wn'></ul><noframes id='qeG2wn'></noframes><blockquote id='qeG2wn'></blockquote><fieldset id='qeG2wn'></fieldset><sup id='qeG2wn'><p id='qeG2wn'><tt id='qeG2wn'><sup id='qeG2wn'><bdo id='qeG2wn'><ol id='qeG2wn'><sup id='qeG2wn'><dl id='qeG2wn'><em id='qeG2wn'><label id='qeG2wn'></label></em></dl></sup></ol></bdo><address id='qeG2wn'></address></sup></tt></p><fieldset id='qeG2wn'><noframes id='qeG2wn'><code id='qeG2wn'><strong id='qeG2wn'></strong></code></noframes></fieldset></sup><sup id='qeG2wn'></sup><div id='qeG2wn'><pre id='qeG2wn'><select id='qeG2wn'></select><td id='qeG2wn'></td></pre></div><kbd id='qeG2wn'><u id='qeG2wn'></u></kbd><div id='qeG2wn'></div><blockquote id='qeG2wn'></blockquote><q id='qeG2wn'></q><th id='qeG2wn'></th><big id='qeG2wn'></big><address id='qeG2wn'><b id='qeG2wn'><select id='qeG2wn'></select></b></address><code id='qeG2wn'></code><ul id='qeG2wn'><strike id='qeG2wn'></strike></ul><noscript id='qeG2wn'></noscript><pre id='qeG2wn'></pre><div id='qeG2wn'><p id='qeG2wn'></p></div><tfoot id='qeG2wn'></tfoot><thead id='qeG2wn'><bdo id='qeG2wn'></bdo></thead><kbd id='qeG2wn'></kbd><p id='qeG2wn'><fieldset id='qeG2wn'><style id='qeG2wn'></style></fieldset></p><acronym id='qeG2wn'><big id='qeG2wn'><code id='qeG2wn'></code></big></acronym><noframes id='qeG2wn'><fieldset id='qeG2wn'></fieldset></noframes><ol id='qeG2wn'></ol><font id='qeG2wn'></font><td id='qeG2wn'><ol id='qeG2wn'></ol></td><center id='qeG2wn'></center><option id='qeG2wn'></option><legend id='qeG2wn'></legend><big id='qeG2wn'></big><sub id='qeG2wn'><ol id='qeG2wn'><li id='qeG2wn'><label id='qeG2wn'></label></li></ol></sub><i id='qeG2wn'><ol id='qeG2wn'></ol></i><del id='qeG2wn'></del><tr id='qeG2wn'><tr id='qeG2wn'><bdo id='qeG2wn'><form id='qeG2wn'><em id='qeG2wn'></em><ins id='qeG2wn'><center id='qeG2wn'><center id='qeG2wn'></center></center></ins><pre id='qeG2wn'><em id='qeG2wn'></em><abbr id='qeG2wn'><legend id='qeG2wn'><div id='qeG2wn'><center id='qeG2wn'></center></div></legend></abbr></pre></form></bdo></tr></tr><b id='qeG2wn'></b><noframes id='qeG2wn'><span id='qeG2wn'></span></noframes><font id='qeG2wn'><ol id='qeG2wn'></ol></font><td id='qeG2wn'><abbr id='qeG2wn'><option id='qeG2wn'><big id='qeG2wn'></big></option></abbr><dfn id='qeG2wn'></dfn></td><form id='qeG2wn'><legend id='qeG2wn'></legend></form><td id='qeG2wn'><strike id='qeG2wn'><blockquote id='qeG2wn'></blockquote></strike></td><sup id='qeG2wn'><fieldset id='qeG2wn'><li id='qeG2wn'></li></fieldset></sup><option id='qeG2wn'></option><thead id='qeG2wn'></thead><del id='qeG2wn'></del><b id='qeG2wn'><tfoot id='qeG2wn'></tfoot><i id='qeG2wn'></i></b><sup id='qeG2wn'></sup><thead id='qeG2wn'></thead><kbd id='qeG2wn'></kbd><acronym id='qeG2wn'><strike id='qeG2wn'></strike></acronym><table id='qeG2wn'><select id='qeG2wn'></select></table><strong id='qeG2wn'></strong><center id='qeG2wn'></center><p id='qeG2wn'><b id='qeG2wn'><bdo id='qeG2wn'><span id='qeG2wn'></span></bdo></b></p><tr id='qeG2wn'><form id='qeG2wn'><strong id='qeG2wn'><dir id='qeG2wn'></dir></strong><th id='qeG2wn'></th></form><strong id='qeG2wn'><select id='qeG2wn'></select></strong></tr><form id='qeG2wn'><pre id='qeG2wn'></pre></form><code id='qeG2wn'></code><optgroup id='qeG2wn'></optgroup><strong id='qeG2wn'><td id='qeG2wn'><table id='qeG2wn'><legend id='qeG2wn'><legend id='qeG2wn'><big id='qeG2wn'><fieldset id='qeG2wn'><q id='qeG2wn'><tfoot id='qeG2wn'><big id='qeG2wn'><tt id='qeG2wn'><thead id='qeG2wn'></thead></tt></big><p id='qeG2wn'></p><button id='qeG2wn'><table id='qeG2wn'><ins id='qeG2wn'></ins><tt id='qeG2wn'><li id='qeG2wn'><thead id='qeG2wn'></thead></li></tt></table></button></tfoot></q></fieldset></big></legend></legend></table><tr id='qeG2wn'><td id='qeG2wn'></td><tfoot id='qeG2wn'></tfoot></tr><strong id='qeG2wn'><span id='qeG2wn'><dfn id='qeG2wn'></dfn><bdo id='qeG2wn'><thead id='qeG2wn'></thead></bdo></span></strong></td></strong><button id='qeG2wn'></button><ol id='qeG2wn'><font id='qeG2wn'><blockquote id='qeG2wn'><center id='qeG2wn'></center></blockquote></font></ol><strong id='qeG2wn'></strong><dl id='qeG2wn'><legend id='qeG2wn'></legend><sub id='qeG2wn'><small id='qeG2wn'></small></sub></dl><style id='qeG2wn'></style><pre id='qeG2wn'><code id='qeG2wn'></code></pre><big id='qeG2wn'></big><font id='qeG2wn'></font><bdo id='qeG2wn'></bdo><dfn id='qeG2wn'><dd id='qeG2wn'><button id='qeG2wn'><strike id='qeG2wn'><div id='qeG2wn'><div id='qeG2wn'><legend id='qeG2wn'></legend></div></div></strike></button><optgroup id='qeG2wn'><q id='qeG2wn'></q></optgroup></dd><ol id='qeG2wn'><q id='qeG2wn'><dfn id='qeG2wn'><button id='qeG2wn'><tbody id='qeG2wn'><tbody id='qeG2wn'></tbody></tbody></button></dfn></q></ol></dfn><dl id='qeG2wn'></dl><fieldset id='qeG2wn'></fieldset><u id='qeG2wn'></u><div id='qeG2wn'><ins id='qeG2wn'></ins></div><strong id='qeG2wn'></strong><center id='qeG2wn'></center><strong id='qeG2wn'></strong><small id='qeG2wn'></small><td id='qeG2wn'><q id='qeG2wn'><q id='qeG2wn'><b id='qeG2wn'><optgroup id='qeG2wn'></optgroup></b></q><ol id='qeG2wn'><bdo id='qeG2wn'></bdo></ol><dd id='qeG2wn'><th id='qeG2wn'></th></dd><blockquote id='qeG2wn'></blockquote><ul id='qeG2wn'><style id='qeG2wn'></style></ul></q></td><noscript id='qeG2wn'></noscript><ol id='qeG2wn'></ol><p id='qeG2wn'></p><strong id='qeG2wn'><big id='qeG2wn'></big><strike id='qeG2wn'><q id='qeG2wn'><sup id='qeG2wn'></sup></q></strike></strong><p id='qeG2wn'><thead id='qeG2wn'><acronym id='qeG2wn'><tfoot id='qeG2wn'><kbd id='qeG2wn'></kbd><form id='qeG2wn'></form></tfoot></acronym></thead></p><fieldset id='qeG2wn'></fieldset><b id='qeG2wn'><dt id='qeG2wn'></dt></b><sup id='qeG2wn'></sup><label id='qeG2wn'></label><noframes id='qeG2wn'><ins id='qeG2wn'></ins></noframes><td id='qeG2wn'></td><dfn id='qeG2wn'></dfn><font id='qeG2wn'><style id='qeG2wn'></style></font><tr id='qeG2wn'><td id='qeG2wn'></td></tr><dfn id='qeG2wn'><ul id='qeG2wn'></ul></dfn><tr id='qeG2wn'></tr><abbr id='qeG2wn'></abbr><strong id='qeG2wn'></strong><dt id='qeG2wn'></dt><span id='qeG2wn'><label id='qeG2wn'><td id='qeG2wn'></td></label><address id='qeG2wn'></address></span><label id='qeG2wn'><bdo id='qeG2wn'><dt id='qeG2wn'><dl id='qeG2wn'></dl></dt></bdo></label><abbr id='qeG2wn'><optgroup id='qeG2wn'></optgroup></abbr><code id='qeG2wn'></code><address id='qeG2wn'><thead id='qeG2wn'></thead></address><td id='qeG2wn'><style id='qeG2wn'><tbody id='qeG2wn'></tbody><strong id='qeG2wn'></strong></style></td><ul id='qeG2wn'><ul id='qeG2wn'></ul></ul><del id='qeG2wn'></del><th id='qeG2wn'><option id='qeG2wn'><legend id='qeG2wn'></legend></option></th><b id='qeG2wn'></b><i id='qeG2wn'><noscript id='qeG2wn'></noscript></i><q id='qeG2wn'></q><select id='qeG2wn'></select><option id='qeG2wn'></option><optgroup id='qeG2wn'><big id='qeG2wn'></big></optgroup><noframes id='qeG2wn'><acronym id='qeG2wn'><em id='qeG2wn'></em><td id='qeG2wn'><div id='qeG2wn'></div></td></acronym><address id='qeG2wn'><big id='qeG2wn'><big id='qeG2wn'></big><legend id='qeG2wn'></legend></big></address></noframes><ul id='qeG2wn'></ul><abbr id='qeG2wn'><p id='qeG2wn'><small id='qeG2wn'><bdo id='qeG2wn'><code id='qeG2wn'><i id='qeG2wn'><legend id='qeG2wn'></legend></i><sub id='qeG2wn'></sub></code></bdo></small></p></abbr><noscript id='qeG2wn'></noscript><tr id='qeG2wn'></tr><select id='qeG2wn'><button id='qeG2wn'><dfn id='qeG2wn'><p id='qeG2wn'></p><q id='qeG2wn'></q></dfn></button><noframes id='qeG2wn'></noframes><b id='qeG2wn'></b></select><font id='qeG2wn'></font><option id='qeG2wn'></option><fieldset id='qeG2wn'></fieldset><noframes id='qeG2wn'><i id='qeG2wn'><div id='qeG2wn'><ins id='qeG2wn'></ins></div></i></noframes><tr id='qeG2wn'></tr><label id='qeG2wn'><small id='qeG2wn'></small><b id='qeG2wn'></b></label><noscript id='qeG2wn'><tr id='qeG2wn'></tr><div id='qeG2wn'></div><noscript id='qeG2wn'></noscript><tr id='qeG2wn'></tr></noscript><center id='qeG2wn'></center><dl id='qeG2wn'></dl><blockquote id='qeG2wn'></blockquote><pre id='qeG2wn'><dl id='qeG2wn'><noframes id='qeG2wn'><i id='qeG2wn'></i></noframes><dt id='qeG2wn'></dt></dl><label id='qeG2wn'><dfn id='qeG2wn'></dfn></label></pre><dir id='qeG2wn'></dir><strike id='qeG2wn'></strike><thead id='qeG2wn'></thead><span id='qeG2wn'></span><i id='qeG2wn'></i><font id='qeG2wn'></font><style id='qeG2wn'></style><font id='qeG2wn'></font><td id='qeG2wn'><select id='qeG2wn'><b id='qeG2wn'><address id='qeG2wn'><noscript id='qeG2wn'><acronym id='qeG2wn'></acronym></noscript></address><style id='qeG2wn'><tbody id='qeG2wn'></tbody></style></b></select><ul id='qeG2wn'><thead id='qeG2wn'></thead></ul></td><strike id='qeG2wn'><dt id='qeG2wn'></dt></strike><dfn id='qeG2wn'></dfn><dir id='qeG2wn'><b id='qeG2wn'></b><font id='qeG2wn'></font></dir><ul id='qeG2wn'></ul><q id='qeG2wn'></q><acronym id='qeG2wn'></acronym><center id='qeG2wn'><strong id='qeG2wn'></strong></center><ins id='qeG2wn'><label id='qeG2wn'></label><span id='qeG2wn'></span></ins><li id='qeG2wn'><blockquote id='qeG2wn'></blockquote></li><th id='qeG2wn'><table id='qeG2wn'></table></th><tfoot id='qeG2wn'></tfoot><ins id='qeG2wn'></ins><table id='qeG2wn'></table><noscript id='qeG2wn'><del id='qeG2wn'><ol id='qeG2wn'><center id='qeG2wn'><ul id='qeG2wn'></ul><div id='qeG2wn'></div></center></ol></del></noscript><strong id='qeG2wn'><legend id='qeG2wn'></legend><td id='qeG2wn'></td></strong><font id='qeG2wn'><font id='qeG2wn'></font></font><noscript id='qeG2wn'><em id='qeG2wn'><form id='qeG2wn'><sub id='qeG2wn'></sub></form><bdo id='qeG2wn'></bdo></em></noscript><address id='qeG2wn'></address><center id='qeG2wn'><del id='qeG2wn'></del><sup id='qeG2wn'></sup></center><kbd id='qeG2wn'></kbd><font id='qeG2wn'><b id='qeG2wn'></b><table id='qeG2wn'></table><blockquote id='qeG2wn'></blockquote></font><big id='qeG2wn'><q id='qeG2wn'><center id='qeG2wn'><button id='qeG2wn'></button></center></q></big><i id='qeG2wn'><form id='qeG2wn'><option id='qeG2wn'></option><dir id='qeG2wn'><thead id='qeG2wn'></thead></dir></form><tr id='qeG2wn'><strike id='qeG2wn'><noframes id='qeG2wn'><dl id='qeG2wn'></dl></noframes></strike><dt id='qeG2wn'></dt></tr></i><dfn id='qeG2wn'></dfn><tbody id='qeG2wn'></tbody><select id='qeG2wn'><dir id='qeG2wn'><noscript id='qeG2wn'><th id='qeG2wn'><strike id='qeG2wn'></strike><small id='qeG2wn'></small></th></noscript><tbody id='qeG2wn'><em id='qeG2wn'><optgroup id='qeG2wn'></optgroup><style id='qeG2wn'><tr id='qeG2wn'></tr><address id='qeG2wn'></address></style></em></tbody><code id='qeG2wn'><noscript id='qeG2wn'><ins id='qeG2wn'><font id='qeG2wn'></font></ins></noscript></code></dir><p id='qeG2wn'></p><dl id='qeG2wn'></dl></select><form id='qeG2wn'><bdo id='qeG2wn'></bdo><optgroup id='qeG2wn'><tbody id='qeG2wn'></tbody></optgroup><blockquote id='qeG2wn'><button id='qeG2wn'><pre id='qeG2wn'><li id='qeG2wn'><tfoot id='qeG2wn'><kbd id='qeG2wn'></kbd></tfoot><fieldset id='qeG2wn'><dd id='qeG2wn'></dd></fieldset></li></pre></button><table id='qeG2wn'></table><span id='qeG2wn'><dl id='qeG2wn'></dl></span></blockquote></form><em id='qeG2wn'><small id='qeG2wn'><blockquote id='qeG2wn'></blockquote></small></em><tfoot id='qeG2wn'></tfoot><del id='qeG2wn'><pre id='qeG2wn'></pre></del><em id='qeG2wn'><acronym id='qeG2wn'><th id='qeG2wn'></th></acronym></em><fieldset id='qeG2wn'></fieldset><code id='qeG2wn'><noframes id='qeG2wn'></noframes></code><form id='qeG2wn'><optgroup id='qeG2wn'><dir id='qeG2wn'></dir></optgroup></form><strong id='qeG2wn'></strong><ins id='qeG2wn'><option id='qeG2wn'></option></ins><dd id='qeG2wn'></dd><span id='qeG2wn'><tbody id='qeG2wn'></tbody></span><strong id='qeG2wn'><pre id='qeG2wn'><form id='qeG2wn'></form></pre></strong><li id='qeG2wn'><abbr id='qeG2wn'><dir id='qeG2wn'></dir><acronym id='qeG2wn'></acronym></abbr></li><ol id='qeG2wn'></ol><strike id='qeG2wn'></strike><label id='qeG2wn'></label><legend id='qeG2wn'><address id='qeG2wn'><thead id='qeG2wn'><tr id='qeG2wn'></tr></thead></address><dt id='qeG2wn'></dt></legend><thead id='qeG2wn'></thead><ins id='qeG2wn'><big id='qeG2wn'></big></ins><kbd id='qeG2wn'></kbd><center id='qeG2wn'><acronym id='qeG2wn'></acronym><code id='qeG2wn'></code></center><ul id='qeG2wn'><pre id='qeG2wn'></pre></ul><style id='qeG2wn'><dt id='qeG2wn'><noframes id='qeG2wn'></noframes></dt><sub id='qeG2wn'></sub><b id='qeG2wn'><thead id='qeG2wn'></thead></b></style><center id='qeG2wn'></center><button id='qeG2wn'></button><bdo id='qeG2wn'><sub id='qeG2wn'><noframes id='qeG2wn'><blockquote id='qeG2wn'><q id='qeG2wn'><noscript id='qeG2wn'></noscript><dt id='qeG2wn'></dt></q></blockquote><noframes id='qeG2wn'><i id='qeG2wn'></i></noframes></noframes></sub></bdo></div> <!--癑֡地图容器--> <div style="width:435px;height:579px;border:#ccc solid 1px;" id="dituContent"></div> </body> <script type="text/javascript"> //创徏和初始化地图函数Q? function initMap(){ createMap();//创徏地图 setMapEvent();//讄地图事g addMapControl();//向地图Ʒ加控? addMarker();//吡地图中dmarker } //创徏地图凡数Q? function createMap(){ var map = new BMap.Map("dituContent");//在百度地囑֮器中刨徏一个地? var point = new BMap.Point(118.796854,32.034421);//定义一个中心点坐标K map.centerAndZoom(point,18);//讑֮地图的中心点和ɝ标ƈ地图显C在地图容器? window.map = map;//map变Ƈ存储在全局 } //地图亦ơg讄函数Q? function setMapEvent(){ map.enableDragging();//启用地图拖拽事gQ须认启?可不? map.enableScrollWheelZoom();//启用地图滚轮攑֤~小 map.enableDoubleClickZoom();//启用鼩I标双击攑֤Q默认启?可不? map.enableKeyboard();//启用键盘上下左右键移动地? } //地图控gd函数Q? function addMapControl(){ //向地图中d~放控g var ctrl_nav = new BMap.NavigationControl({anchor:BMAP_ANCHOR_TOP_LEFT,type:BMAP_NAVIGATION_CONTROL_LARGE}); map.addControl(ctrl_nav); //向地图中d~略图控? var ctrl_ove = new BMap.OverviewMapControl({anchor:BMAP_ANCHOR_BOTTOM_RIGHT,isOpen:0}); map.addControl(ctrl_ove); //向地图中d比例控? var ctrl_sca = new BMap.ScaleControl({anchor:BMAP_ANCHOR_BOTTOM_LEFT}); map.addControl(ctrl_sca); } //标注Ҏl? var markerArr = [{title:"南京办事?,content:"南京秦淮区太^南\450h亚胦富中?6?,point:"118.796113|32.034291",isOpen:0,icon:{w:23,h:25,l:46,t:21,x:9,lb:12}} ]; //创徏marker function addMarker(){ for(var i=0;i<markerArr.length;i++){ var json = markerArr[i]; var p0 = json.point.split("|")[0]; var p1 = json.point.split("|")[1]; var point = new BMap.Point(p0,p1); var iconImg = createIcon(json.icon); var marker = new BMap.Marker(point,{icon:iconImg}); var iw = createInfoWindow(i); var label = new BMap.Label(json.title,{"offset":new BMap.Size(json.icon.lb-json.icon.x+10,-20)}); marker.setLabel(label); map.addOverlay(marker); label.setStyle({ borderColor:"#808080", color:"#333", cursor:"pointer" }); (function(){ var index = i; var _iw = createInfoWindow(i); var _marker = marker; _marker.addEventListener("click",function(){ this.openInfoWindow(_iw); }); _iw.addEventListener("open",function(){ _marker.getLabel().hide(); }) _iw.addEventListener("close",function(){ _marker.getLabel().show(); }) label.addEventListener("click",function(){ _marker.openInfoWindow(_iw); }) if(!!json.isOpen){ label.hide(); _marker.openInfoWindow(_iw); } })() } } //创徏InfoWindow function createInfoWindow(i){ var json = markerArr[i]; var iw = new BMap.InfoWindow("<b class='iw_poi_title' title='" + json.title + "'>" + json.title + "</b><div class='iw_poi_content'>"+json.content+"</div>"); return iw; } //创徏一个Icon function createIcon(json){ var icon = new BMap.Icon("https://map.baidu.com/image/us_cursor.gif", new BMap.Size(json.w,json.h),{imageOffset: new BMap.Size(-json.l,-json.t),infoWindowOffset:new BMap.Size(json.lb+5,1),offset:new BMap.Size(json.x,json.h)}) return icon; } initMap();//创徏和初始化地图 </script> </html>