³É¶¼ãüöγø·¿É豸ÓÐÏÞ¹«Ë¾ ÁªÏµÈË£ºÁÖÏÈÉú ÊÖ»ú£º15928618046 ×ù»ú£º028-86068543 Q Q£º93344662 ÓÊÏ䣺93344662@qq.com µØÖ·£º³É¶¼ÊÐÇàÑòÇøСÄϽÖ3ºÅ |
|
|
ÄúÏÖÔÚµÄλÖÃ:
ÁªÏµÎÒÃÇ
|
|
³É¶¼ãüöγø·¿É豸ÓÐÏÞ¹«Ë¾HTTP/1.1 401 Access Denied
ÁªÏµÈË£ºÁÖÏÈÉú ÊÖ»ú£º15928618046 ×ù»ú£º028-86068543 q q£º93344662 ÓÊÏ䣺93344662@qq.com µØÖ·£º³É¶¼ÊÐÇàÑòÇøСÄϽÖ3ºÅ ³Ë³µÂ·Ïß: 1)³Ë×ø57·, ÔÚ ¶«³Ç¸ùÄϽÖվϳµ 2)³Ë×ø70·, ÔÚ ¿íÕÏï×Óվϳµ ¼Ý³µÂ·Ïß: 1) Ñر±Õ¾Î÷һ·ÐÐÊ»960Ã×£¬ÓÒת½øÈëÒ»»·Â· 2) ÑØÒ»»·Â·ÐÐÊ»340Ã×£¬×óת½øÈëÎ嶡· 3) ÑØÎ嶡·ÐÐÊ»630Ã×£¬ÔÚÍõÒ¯ÃíÇÅÉÔÏò×óת½øÈë±±½Ï³¡Î÷· 4) Ñر±½Ï³¡Î÷·ÐÐÊ»900Ã×£¬¹ý×ó²àµÄÌìÏó´óÏã¬Ö±ÐнøÈëÍòºÍ· 5) ÑØÍòºÍ·ÐÐÊ»220Ã×£¬Ö±ÐнøÈ붫³Ç¸ùÏÂ½Ö 6) Ñض«³Ç¸ùϽÖÐÐÊ»90Ã×£¬¹ý×ó²àµÄ¹úÐŹ㳡Լ230Ã׺ó£¬ÉÔÏòÓÒת½øÈ붫³Ç¸ù½Ö 7) Ñض«³Ç¸ù½ÖÐÐÊ»410Ã×£¬Ö±ÐнøÈ붫³Ç¸ùÖÐ½Ö 8) Ñض«³Ç¸ùÖнÖÐÐÊ»120Ã×£¬ÓÒת½øÈëÉÌÒµ½Ö 9) Ñس¤Ë³ÉϽÖÐÐÊ»430Ã×£¬¹ýÓÒ²àµÄ½ðºÓÉÌÎñÂ¥Ô¼160Ã׺ó£¬Ö±ÐнøÈëСÄÏ½Ö 10) ÑØСÄϽÖÐÐÊ»50Ã×£¬µ½´ïÖÕµã
ý£º
function createMap(){
var map = new BMap.Map("dituContent");//ÔڰٶȵØͼÈÝÆ÷Öд´½¨Ò»¸öµØͼ
var point = new BMap.Point(104.060037,30.667813);//¶¨ÒåÒ»¸öÖÐÐĵã×ø±ê
map.centerAndZoom(point,18);//É趨µØͼµÄÖÐÐĵãºÍ×ø±ê²¢½«µØͼÏÔʾÔÚµØͼÈÝÆ÷ÖÐ
window.map = map;//½«map±äÁ¿´æ´¢ÔÚÈ«¾Ö
}
//µØͼʼþÉèÖú¯Êý£º
function setMapEvent(){
map.enableDragging();//ÆôÓõØͼÍÏקʼþ£¬Ä¬ÈÏÆôÓÃ(¿É²»Ð´)
map.enableScrollWheelZoom();//ÆôÓõØͼ¹öÂÖ·Å´óËõС
map.enableDoubleClickZoom();//ÆôÓÃÊó±êË«»÷·Å´ó£¬Ä¬ÈÏÆôÓÃ(¿É²»Ð´)
map.enableKeyboard();//ÆôÓüüÅÌÉÏÏÂ×óÓÒ¼üÒƶ¯µØͼ
}
//µØͼ¿Ø¼þÌí¼Óº¯Êý£º
function addMapControl(){
//ÏòµØͼÖÐÌí¼ÓËõ·Å¿Ø¼þ
var ctrl_nav = new BMap.NavigationControl({anchor:BMAP_ANCHOR_TOP_LEFT,type:BMAP_NAVIGATION_CONTROL_LARGE});
map.addControl(ctrl_nav);
//ÏòµØͼÖÐÌí¼ÓËõÂÔͼ¿Ø¼þ
var ctrl_ove = new BMap.OverviewMapControl({anchor:BMAP_ANCHOR_BOTTOM_RIGHT,isOpen:1});
map.addControl(ctrl_ove);
//ÏòµØͼÖÐÌí¼Ó±ÈÀý³ß¿Ø¼þ
var ctrl_sca = new BMap.ScaleControl({anchor:BMAP_ANCHOR_BOTTOM_LEFT});
map.addControl(ctrl_sca);
}
//±ê×¢µãÊý×é
var markerArr = [{title:"³É¶¼ãüöγø·¿É豸ÓÐÏÞ¹«Ë¾",content:"µØÖ·£º³É¶¼ÊÐÇàÑòÇøСÄϽÖ3ºÅ",point:"104.062247|30.666229",isOpen:1,icon:{w:23,h:25,l:46,t:21,x:9,lb:12}}
];
//´´½¨marker
function addMarker(){
for(var i=0;i" + json.title + ""+json.content+" ");
return iw;
}
//´´½¨Ò»¸öIcon
function createIcon(json){
var icon = new BMap.Icon("http://app.baidu.com/map/images/us_mk_icon.png", 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();//´´½¨ºÍ³õʼ»¯µØͼ
|
|
|
|
|