Files
SIPAIIS_WMS_JSSW/WebRoot/JS/baiduMap/getmodules.js

17 lines
432 KiB
JavaScript
Raw Normal View History

2026-01-16 14:13:44 +08:00
_jsload2&&_jsload2('newvectordrawlib', 'function wf(a){this.TH=o;this.k=x.object.extend(a||{},{Xf:o});Dc.call(this,this.k);this.zg={};this.loaded=q;this.Bt=p;this.VB=q}wf.prototype=new Dc; wf.prototype.pa=function(a){if(!this.loaded){this.loaded=o;var b=this;b.map=a;b.tb=b.map.tb;b.map=a;this.Hb=this.map.va();this.Ob=this.Hb.k.Ob;this.yc=this.map.M.devicePixelRatio;b.Rw=q;b.nK=p;b.Oe=b.k.style||"normal";b.ln=b.k.styleStr||p;b.bq=200;b.Dg=p;b.Yd=0;b.ub=this.tb.Mn(0);b.tb.md.appendChild(this.ub);b.tb.ub=b.ub;b.Ib=new z.NewVectorDrawLib(a);b.Ib.Ob=this.Hb.k.Ob;b.es="";b.Ib.jC=b.Oe;b.Yl();b.Oe&&"normal"!==b.Oe||b.ln&&0<b.ln.length?b.Kt(b.Oe,b.ln,function(){b.map.addEventListener("click", function(a){b.Yd++;if(1===b.Yd)b.Dg=setTimeout(function(){b.pu(a);b.Yd=0},b.bq);else return clearTimeout(b.Dg),b.Yd=0,q});b.ub.innerHTML="";b.Zd(o)}):(b.Zd(),b.map.addEventListener("click",function(a){b.Yd++;if(1===b.Yd)a.$a||(b.Dg=setTimeout(function(){b.pu(a);b.Yd=0},b.bq));else return clearTimeout(b.Dg),b.Yd=0,q}));b.map.M.nj&&(G()&&b.Df==j)&&(b.Df=new z.mG(b.map),b.map.Ja(b.Df))}}; x.extend(wf.prototype,{Yl:function(){var a=this;setTimeout(function(){a.map.addEventListener("moveend",function(b){"centerAndZoom"!=b.cH&&a.Zd()});a.map.addEventListener("zoomend",function(){a.Rw=q;a.Zd()});a.map.addEventListener("onresize",function(){a.Zd()});Sa()&&(a.map.addEventListener("onmoving",function(){a.Zd()}),a.map.addEventListener("onmaptypechange",function(){a.Zd()}));a.map.addEventListener("mousemove",function(b){a.map.Ub()&&a.BC(b)})},1);a.map.addEventListener("setcustomstyles",function(b){a.kC(b.target)})}, Kt:function(a,b,c){if(this.map.Ub()){var d=this,e=z.Fc+"custom/";b&&0<b.length?(cbk="setStyle_"+b.length,e+="mapstyle?styles="+encodeURIComponent(b)):(cbk="setStyle_"+a,e+="getstyle?customid="+a);e+="&callback="+cbk+"&udt=20150526";window[cbk]=function(b,e){var i=x.extend({},d.Ib.lz);d.Ib.Cb=x.extend(i,b);i=z.Ab.pe(d.Ib.Cb["3181"][1]);d.map.M.zo=i;d.map.Na().style.backgroundColor=i;c(a);d.map.dispatchEvent(new M("onsetmapstylesuccess",e));delete window[cbk]};Pb(e,q)}},Ip:function(a){var b=this;b.Kt(a.style, a.styleStr,function(a){b.Oe=a;b.Ib.jC=b.Oe;var a=b.Ib.Js,d;for(d in a)delete a[d];b.UE()})},Zd:function(){this.map.fa();this.map.Ub()?(this.ub.style.display="block",this.Ib.As(this.xm())):(this.ub.style.display="none",this.ub.innerHTML="")},xm:function(){var a=this.map,b=this.Hb,c=a.fa(),d=a.wc,e=b.Lc(c),f=b.XD(c),b=a.ca.replace(/^TANGRAM_/,""),g=Math.ceil(d.lng/f);column=Math.ceil(d.lat/f);var i=this.Ob,k=[g,column,(d.lng-g*f)/f*i,(d.lat-column*f)/f*i],f=k[0]-Math.ceil((a.width/2-k[2])/i),l=k[1]- Math.ceil((a.height/2-k[3])/i),m=k[0]+Math.ceil((a.width/2+k[2])/i),n=k[1]+Math.ceil((a.height/2+k[3])/i);for(this.Rc?this.Rc.length=0:this.Rc=[];f<m;f++)for(g=l;g<n;g++)this.Rc.push([f,g]);this.Rc.sort(function(a){return function(b,c){return 0.4*Math.abs(b[0]-a[0])+0.6*Math.abs(b[1]-a[1])-(0.4*Math.abs(c[0]-a[0])+0.6*Math.abs(c[1]-a[1]))}}([k[0]-1,k[1]-1]));d=[Math.round(-d.lng/e),Math.round(d.lat/e)];f=-a.offsetY+a.height/2;e=this.ub;e.style.left=-a.offsetX+a.width/2+"px";e.style.top=f+"px";this.Ke? this.Ke.length=0:this.Ke=[];f=0;for(a=e.childNodes.length;f<a;f++)g=e.childNodes[f],g.fr=q,this.Ke.push(g);if(f=this.Qm)for(var u in f)delete f[u];else this.Qm={};this.Le?this.Le.length=0:this.Le=[];f=0;for(a=this.Rc.length;f<a;f++){u=this.Rc[f][0];k=this.Rc[f][1];g=0;for(l=this.Ke.length;g<l;g++)if(m=this.Ke[g],m.id==b+"_"+u+"_"+k+"_"+c){m.fr=o;this.Qm[m.id]=m;break}}f=0;for(a=this.Ke.length;f<a;f++)m=this.Ke[f],m.fr||(m.Vd=p,delete m.Vd,this.Le.push(m));this.nn=[];g=i*this.yc;f=0;for(a=this.Rc.length;f< a;f++)u=this.Rc[f][0],k=this.Rc[f][1],l=u*i+d[0],m=(-1-k)*i+d[1],n=b+"_"+u+"_"+k+"_"+c,cvs=this.Qm[n],cvsStyle=p,cvs?(cvsStyle=cvs.style,cvsStyle.left=l+"px",cvsStyle.top=m+"px",cvs.Xe||(cvs.Vd=p,delete cvs.Vd,this.nn.push([u,k,cvs]))):(0<this.Le.length?(cvs=this.Le.shift(),cvs.getContext("2d").clearRect(0,0,g,g),cvsStyle=cvs.style):(cvs=document.createElement("canvas"),cvsStyle=cvs.style,cvsStyle.position="absolute",cvsStyle.background="#F5F3F0"
_jsload2&&_jsload2('map', 'rb.prototype.cancel=ia(1,function(){this.Rr&&clearTimeout(this.Rr);this.Uz=this.Lu;this.qy=0}); z.Se(function(a){if(!a.M||!a.M.Ix){a.Hx()?sf(a):a.addEventListener("load",function(){sf(this)});a.$g="\\u4e2d\\u56fd";a.Zr="1";var b={gD:o,ab:function(){b.gD&&(b.gD=q,setTimeout(function(){b.Sg()},500))},Sg:function(){var c=a.Fd(),d=a.fa(),e=R.Eb(c.qe()),c=R.Eb(c.kf());Zc.ab(function(c){b.gD=o;if(c&&c.current_city&&c.current_city.name){var d=c.current_city.name,c=c.current_city.code;c!==a.Zr&&a.dispatchEvent("citychange",{name:d,code:c});a.$g=d;a.Zr=c;G()||tf(a)}},{qt:"cen",b:e.lng+","+e.lat+";"+c.lng+ ","+c.lat,l:d},"","",o)}};a.addEventListener("load",function(){b.ab()});a.addEventListener("moveend",function(){b.ab()});a.addEventListener("zoomend",function(){b.ab()});b.ab();z.version&&1.5<=z.version&&Pb(z.Fc+"?qt=verify&ak="+pa,function(b){if(b&&0!==b.error){a.Na().innerHTML="";a.Ii={};z=p;var d="\\u767e\\u5ea6\\u672a\\u6388\\u6743\\u4f7f\\u7528\\u5730\\u56feAPI\\uff0c\\u53ef\\u80fd\\u662f\\u56e0\\u4e3a\\u60a8\\u63d0\\u4f9b\\u7684\\u5bc6\\u94a5\\u4e0d\\u662f\\u6709\\u6548\\u7684\\u767e\\u5ea6LBS\\u5f00\\u653e\\u5e73\\u53f0\\u5bc6\\u94a5\\uff0c\\u6216\\u6b64\\u5bc6\\u94a5\\u672a\\u5bf9\\u672c\\u5e94\\u7528\\u7684\\u767e\\u5ea6\\u5730\\u56feJavaScriptAPI\\u6388\\u6743\\u3002\\u60a8\\u53ef\\u4ee5\\u8bbf\\u95ee\\u5982\\u4e0b\\u7f51\\u5740\\u4e86\\u89e3\\u5982\\u4f55\\u83b7\\u53d6\\u6709\\u6548\\u7684\\u5bc6\\u94a5\\uff1ahttp://lbsyun.baidu.com/apiconsole/key#\\u3002"; switch(b.error){case 101:d="\\u5f00\\u53d1\\u8005\\u7981\\u7528\\u4e86\\u8be5ak\\u7684jsapi\\u670d\\u52a1\\u6743\\u9650\\u3002\\u60a8\\u53ef\\u4ee5\\u8bbf\\u95ee\\u5982\\u4e0b\\u7f51\\u5740\\u4e86\\u89e3\\u5982\\u4f55\\u83b7\\u53d6\\u6709\\u6548\\u7684\\u5bc6\\u94a5\\uff1ahttp://lbsyun.baidu.com/apiconsole/key#\\u3002";break;case 102:d="\\u5f00\\u53d1\\u8005Referer\\u4e0d\\u6b63\\u786e\\u3002\\u60a8\\u53ef\\u4ee5\\u8bbf\\u95ee\\u5982\\u4e0b\\u7f51\\u5740\\u4e86\\u89e3\\u5982\\u4f55\\u83b7\\u53d6\\u6709\\u6548\\u7684\\u5bc6\\u94a5\\uff1ahttp://lbsyun.baidu.com/apiconsole/key#\\u3002"}alert(d)}})}}); function sf(a){if(!a.R.vV){a.R.vV=o;if(!a.Hw){var b=new L(81,2);G()&&(b.width=72,b.height=0);var c=new Wb({offset:b,printable:o});a.Hw=c}G()||(tf(a),a.addEventListener("maptypechange",function(){tf(a)}));a.lw(c);var d=new uf;d.k={Ag:o};a.lw(d);a.addEventListener("resize",function(){if(this.wb().width>=360&&a.wb().height>=100){d.show();c.Te(b)}else{d.U();c.Te(new L(4,2))}});360<=a.wb().width&&100<=a.wb().height&&a.M.sY?d.show():(d.U(),c.Te(new L(4,2)))}} function tf(a){var b=a.$g||"\\u4e2d\\u56fd",c=a.va(),d="\\u5e38\\u5dde\\u5e02 \\u4e4c\\u9c81\\u6728\\u9f50\\u5e02 \\u5357\\u660c\\u5e02 \\u65e0\\u9521\\u5e02 \\u798f\\u5dde\\u5e02 \\u6cc9\\u5dde\\u5e02 \\u73e0\\u6d77\\u5e02 \\u8d35\\u9633\\u5e02".split(" "),e=[],f;a.Hw||(e=new L(81,2),G()&&(e.width=72,e.height=0),e=new Wb({offset:e,printable:o}),a.Hw=e);switch(c){case Wa:case Pa:e=[\'<span style="display:inline;color:#fff;font-size:11px;text-shadow:0 1px 3px black">&copy; 2015 Baidu - Data &copy; \'];e.push(\'<a target="_blank" href="http://www.navinfo.com/" style="display:inline;color:#fff;font-size:11px;text-shadow:0 1px 3px black">NavInfo</a> &amp; \'); for(var g in d)if(d[g]===b){f=o;break}f?e.push(\'<a target="_blank" href="http://www.palmcity.cn/" style="display:inline;color:#fff;font-size:11px;text-shadow:0 1px 3px black">PalmCity</a>\'):e.push(\'<a target="_blank" href="http://www.cennavi.com.cn/" style="display:inline;color:#fff;font-size:11px;text-shadow:0 1px 3px black">CenNavi</a>\');e.push(\' &amp; <a target="_blank" href="http://www.365ditu.com/" style="display:inline;color:#fff;font-size:11px;text-shadow:0 1px 3px black">\\u9053\\u9053\\u901a</a>\'); e.push(" , Image &copy; DigitalGlobe & </span>");e.push(\'<a href="http://www.chinasiwei.com" target="_blank" style="display:inline;color:#fff;font-size:11px;text-shadow:0 1px 3px black">chinasiwei</a>\');break;case Na:e=[\'<span style="display:inline;color:#fff;font-size:11px;text-shadow:0 1px 3px black">&copy; 2015 Baidu - Data &co
_jsload2&&_jsload2('scommon', 'var Kg=new L(23,25),Lg=new L(9,25),Mg=new L(9,0);U.EU=function(a,b,c,d){var e=Ng(b);if(e&&!(0>c||9<c)){b=p;e=new T(e);if(G()){var f=function(){return new mc(F.oa+"markers_hd.png",new L(22,31),{anchor:new L(11,31),imageOffset:new L(0,-32*c),imageSize:new L(85,477),infoWindowAnchor:new L(11,0)})},b=f(),f=f();f.Mt(new L(-28,-32*c));e.ZD=b;e.JL=f}else b=new mc(F.oa+"markers.png",Kg,{anchor:Lg,imageOffset:new L(0,-25*c),infoWindowAnchor:Mg});e.Tb(b);a.Ja(e);d&&e.Bc(d);return e}}; U.kw=function(a,b,c){if(b=Ng(b)){var b=new T(b),d=p;G()?(d=new mc(F.oa+"markers_hd.png",new L(21,31),{anchor:Lg,imageOffset:new L(-29,-320),imageSize:new L(85,477),infoWindowAnchor:Mg}),b.ZD=d):d=new mc(F.oa+"markers.png",Kg,{anchor:Lg,imageOffset:new L(0,-250),infoWindowAnchor:Mg});b.Tb(d);a.Ja(b);c&&b.Bc(c);return b}}; U.DU=function(a,b,c){if(b=Ng(b)){var b=new T(b),d=p;if(G()){var e=function(){return new mc(F.oa+"markers_hd.png",new L(21,31),{anchor:Lg,imageOffset:new L(0,-383),imageSize:new L(85,477),infoWindowAnchor:Mg})},d=e(),e=e();e.Mt(new L(-29,-352));b.ZD=d;b.JL=e}else d=new mc(F.oa+"markers.png",Kg,{anchor:Lg,imageOffset:new L(0,-300),infoWindowAnchor:Mg});b.Tb(d);a.Ja(b);c&&b.Bc(c);return b}}; function Ng(a){var b=[],b=p;if(a instanceof H)b=a;else{if("string"==typeof a){b=x.trim(a).split(",");if(2>b.length)return;b[0]=parseFloat(x.trim(b[0]));b[1]=parseFloat(x.trim(b[1]))}else if(b=a.slice(0),2>b.length)return;b=new H(b[0],b[1])}return b} U.GV=function(a){var b=a.title,c=a.Wr,d=a.o_,e=a.RV,a=a.OE||0;if(!b)return p;var f=b;1==a?f+="-\\u516c\\u4ea4\\u8f66\\u7ad9":3==a&&(f+="-\\u5730\\u94c1\\u7ad9");var g=13;e&&(g=10);f.replace(/[\\u0100-\\uffff]/g,"##").length>2*g+1&&(f=f.substring(0,g)+"&#8230");b="<p style=\'width:210px;font:bold 14px/16px "+F.fontFamily+";margin:0;color:#cc5522;white-space:nowrap;overflow:hidden\' title=\'"+b+"\'>"+f;e&&(b+="<a target=\'_blank\' href=\'"+e+"\' style=\'margin-left:5px;font-size:12px;color:#3d6dcc;font-weight:normal;text-decoration:none;\'>\\u8be6\\u60c5\\u00bb</a>"); b+="</p>";e=[];e.push("<div style=\'font:12px "+F.fontFamily+";margin-top:10px\'>");if(c){f="\\u5730\\u5740\\uff1a";if(1==a||3==a)f="\\u8f66\\u6b21\\uff1a";e.push(\'<table cellspacing="0" style="overflow:hidden;table-layout:fixed;width:100%;font:12px \'+F.fontFamily+\'" >\');e.push(\'<tr><td style="vertical-align:top;width:38px;white-space:nowrap;word-break:keep-all">\'+f+\'&nbsp;</td><td style="line-height:16px">\');e.push(c+"&nbsp;</td></tr>");d&&e.push(\'<tr><td style="vertical-align:top;">\\u7535\\u8bdd\\uff1a</td><td>\'+ d+"</td></tr>");e.push("</table>")}else d&&(e.push(\'<table cellspacing="0" style="table-layout:fixed;width:100%;font:12px \'+F.fontFamily+\'">\'),e.push(\'<tr><td style="vertical-align:top;width:36px;white-space:nowrap;word-break:keep-all">\\u7535\\u8bdd\\uff1a</td><td>\'+d+"</td></tr></table>"));e.push("</div>");return new pc(e.join(""),{title:b,height:0,width:230,margin:[10,10,20,10]})}; U.vo=function(a,b,c,d){if(b=Ng(b))return d=new T(b,{icon:G()?new mc(F.oa+"dest_mkr.png",new L(29,34),{anchor:new L(14,32),imageSize:new L(94,41),imageOffset:new L(-29*d,0),infoWindowAnchor:new L(14,0)}):new mc(F.oa+"dest_markers.png",new L(42,34),{anchor:new L(14,32),imageOffset:new L(0,-34*d),infoWindowAnchor:new L(14,0)}),baseZIndex:35E5,draggingCursor:"pointer"}),a.Ja(d),c&&d.Bc(c),d};U.wo=function(a,b){return U.Ql(a,b,Yc)}; U.qP=[{stroke:6,color:"#0030ff",opacity:0.45,style:"solid"},{stroke:5,color:"#00bd00",opacity:0.95,style:"solid"},{stroke:5,color:"#ffac00",opacity:0.95,style:"solid"},{stroke:5,color:"#f41c0d",opacity:0.95,style:"solid"}]; U.pP=[{stroke:6,color:"#0030ff",opacity:0.45,style:"solid"},{stroke:6,color:"#0030ff",opacity:0.45,style:"solid"},{stroke:4,color:"#30a208",opacity:0.55,style:"dashed"},{stroke:5,color:"#0030ff",opacity:0.45,style:"solid"},{stroke:4,color:"#ff0103",opacity:0.65,style:"dashed"},{stroke:5,color:"#ff0103",opacity:0.65,style:"solid"}]; U.yJ=function(a,b,c){var d=U.qP;"undefined"==typeof c&&(c=0);if(d[c])return d=d[c],b=new zc(b,{strokeWeight:d.stroke,strokeColor:d
_jsload2&&_jsload2('mapclick', 'var Og=0,Pg=1,Qg=2,Bh,Ch=p;Ra=function(a){this.map=a;this.NE=this.Cw=p;this.Co={};this.uY=8;this.am=[];this.d_=4;this.wF="";this.Pk=this.be=this.ce=this.ue=this.Om=p;this.jp=this.Am="";this.Iy=p;this.oi=0;this.lE=q;this.aN=p;this.fm=this.NK="";this.uj=new mc(F.oa+"spotmkrs.png",new L(18,18),{anchor:new L(9,9),imageOffset:new L(0,0),infoWindowOffset:new L(10,0)});this.cE()};Ch=Ra.prototype; Ch.cE=function(){var a=this;a.GU();a.bind();a.Va=o;setTimeout(function(){a.In()},1E3);setInterval(function(){a.lE=q},300)};Ch.k4=ca(q);Ch.bind=function(){this.WU();this.XU();this.YU();this.ZU()};Ch.ZU=function(){var a=this,b=this.map;b.addEventListener("vectorchanged",function(c,d){d.isvector?a.close():b.M.nj==o&&a.open()})}; Ch.wY=function(a){var b=this.map;if(this.Va)if(10>b.fa())this.cm();else if(this.dC(),a&&a.point)if(this.oi&&(this.aN=a.point),this.lE=o,1!=this.oi&&(this.be&&this.be.U(),this.ce&&this.ce.U(),this.Id&&this.Id.U()),a=b.wX(a.point,b.fa()),a.ny&&a.Ew&&a.vg)this.fm=a.vg+"_"+a.ny+"_"+a.Ew,this.Co[a.vg+"_"+a.ny+"_"+a.Ew]?this.wF!=this.fm&&this.zG(this.fm):this.xZ({sE:a.vg,x:a.ny,y:a.Ew})}; Ch.zG=function(a){var b=this.map;if(b.va()!=La&&b.va()!=Pa)this.cm(),this.Ak();else if(b=a.split("_"),b=b[0]+"_"+b[1]+"_"+b[2],this.Co[b]){this.cm();this.NE=this.zJ(this.Co[b][a]?this.Co[b][a]:[],"MAP_CLICK_POI");this.wF=a;for(var a=-1,c=0,d=this.am.length;c<d;c++)if(b==this.am[c]){a=c;break}0<=a&&(this.am.splice(a,1),this.am.push(b))}};Ch.zJ=function(a,b){for(var c=0;c<a.length;c++){var d=a[c],e=d.m,f=d.v,g=new hb(e,{offsets:[f[3],f[2],f[3],f[2]]});g.v=f;g.m=e;g.o=d.o;g.Ve=d.Ve;this.map.nw(g,b)}return o}; Ch.XU=function(){var a=this;this.map.addEventListener("mousemove",function(b){a.wY(b)})};Ch.oV=function(a){if(10>this.map.fa())for(var b=0,c=a.spots.length;b<c;b++){if(a.spots[b].o){this.map.Xd(a.spots[b].o);break}}else this.Iy&&this.hC(this.Iy)};Ch.hC=function(a){var b=this.map;!(10>b.fa())&&a&&(this.oi=0,this.Pk&&(b.R.mb&&b.R.mb.close(),this.ti=a,this.AZ(this.Pk)))};Ch.AZ=function(a){if(a){var b=this;Zc.ab(function(c){b.MR(a,c)},{qt:"inf",uid:a,operate:"mapclick",clicktype:"tile"})}}; Ch.MR=function(a,b){var c=this,d=this.map;if(b&&b.content){var e=b.content,f=e.pano||0;P.sb(e.geo,o);if(!g)var g={};g.isFromMPC=o;var i=e.addr,g=e.street_id||"";if(1==e.poiType||3==e.poiType)i=P.unique(i.split(";")).join("; ");var k=e.tel;k&&(k=k.replace(/,/g,", "));c.Tq(e.cla);var l=K("div",{style:"font-size:12px;padding:5px 0;overflow:hidden;*zoom:1;"}),m=q;f&&(360>c.map.height?m=o:(f=[],f.push("<div class=\'panoInfoBox\' id=\'panoInfoBox\' title=\'"+e.name+"\\u5916\\u666f\' title=\'\\u67e5\\u770b\\u5168\\u666f\' >"), f.push("<img filter = \'pano_thumnail_img\' class=\'pano_thumnail_img\' width=323 height=101 border=\'0\' alt=\'"+e.name+"\\u5916\\u666f\' src=\'"+(z.url.proto+z.url.domain.pano[0]+"/pr/?qt=poiprv&uid="+g+"&width=323&height=101&quality=80&fovx=200")+"\' id=\'pano_"+a+"\'/>"),f.push("<div filter = \'panoInfoBoxTitleBg\' class=\'panoInfoBoxTitleBg\'></div><a href=\'javascript:void(0)\' filter=\'panoInfoBoxTitleContent\' class=\'panoInfoBoxTitleContent\' >\\u8fdb\\u5165\\u5168\\u666f&gt;&gt;</a>"),f.push("</div>"),l.innerHTML= f.join("")));i&&(f=K("p",{style:"padding:0;margin:0;line-height:18px;font-size:12px;color:#4d4d4d;"}),f.innerHTML="\\u5730\\u5740\\uff1a"+i,l.appendChild(f));k&&(i=K("p",{style:"padding:0;margin:0;line-height:18px;font-size:12px;color:#4d4d4d;"}),i.innerHTML="\\u7535\\u8bdd\\uff1a"+k,l.appendChild(i));e.tag&&(k=K("p",{style:"padding:0;margin:0;line-height:18px;font-size:12px;color:#4d4d4d;color:#7f7f7f;"}),k.innerHTML="\\u6807\\u7b7e\\uff1a"+e.tag,l.appendChild(k));var k="http://api.map.baidu.com/place/detail?uid="+ a+"&output=html&source=jsapi&operate=mapclick&clicktype=tile",i="<div style=\'height:26px;\' id=\'detailDiv\'><a filter=\'detailInfo\' href=\'"+k+"\' target=\'_blank\' style=\'font-size:14px;color:#4d4d4d;font-weight:bold;text-decoration:none;\' onmouseover=\'this.style.textDecoration=\\"underline\\";this.style.color=\\"#3d6dcc\\"\' onmouseout =\'this.style.textDecoratio
_jsload2&&_jsload2('oppc', 'var rg=256,sg=32;function tg(){this.B=p}var xg;z.Se(function(a){if(!a.M.Ix){var b=new tg;yb(a.Ua,b.ta(a.M.Wb));b.B=a.Ua.lastChild;a.R.LO=b}}); tg.prototype.ta=function(a){a=[\'<div id=zoomer style="position:absolute;z-index:0;top:0px;left:0px;overflow:hidden;visibility:hidden;cursor:\'+a+\'">\'];a.push(\'<div class="BMap_zoomer" style="top:0;left:0;"></div>\');a.push(\'<div class="BMap_zoomer" style="top:0;right:0;"></div>\');a.push(\'<div class="BMap_zoomer" style="bottom:0;left:0;"></div>\');a.push(\'<div class="BMap_zoomer" style="bottom:0;right:0;"></div>\');a.push("</div>");return a.join("")}; tg.prototype.action=function(a,b){if(!xg){var c=this.B;if(c){var d=4/3,e=Math.ceil((b?60:120)/2),f=Math.max(15,e/d),g=c.style;g.width=2*e+"px";g.height=2*f+"px";g.visibility="visible";c=c.children;b?(c[0].style.backgroundPosition="0 0",c[1].style.backgroundPosition="-7px 0",c[2].style.backgroundPosition="0 -7px",c[3].style.backgroundPosition="-7px -7px"):(c[0].style.backgroundPosition="-7px -7px",c[1].style.backgroundPosition="0 -7px",c[2].style.backgroundPosition="-7px 0",c[3].style.backgroundPosition= "0 0");var c=p,i=a.x-e,k=a.y-f;if(!isNaN(i)&&!isNaN(k)){g.left=i+"px";g.top=k+"px";var l=Math.ceil((b?120:60)/2),m=Math.max(15,l/d),l=l-e,m=Math.ceil(m-f),n=this.B.style;xg&&xg.end();xg=new rb({Gc:20,duration:240,hc:sb.YC,Io:100,ta:function(a){if(!(a<0.1)){var b=Math.ceil(l*a),a=Math.ceil(m*a);n.width=(e+b)*2+"px";n.height=(f+a)*2+"px";n.left=i-b+"px";n.top=k-a+"px"}},finish:function(){xg=q;setTimeout(function(){g.visibility="hidden"},300)}})}}}};z.Se(function(a){function b(a){if(f.M.Po){var b=new M("ondeepzoommousewheel");c(a,ma(b,a));i.T_.call(i,b);Ab(a)}}function c(a,b){var c=a.srcElement||a.target,d=a.offsetX||a.layerX||0,e=a.offsetY||a.layerY||0,g=p,i=p;1!==c.nodeType&&(c=c.parentNode);for(;c&&c!==f.Ua;){c.ca&&(x.lang.Mc(c.ca)instanceof fb&&(g=x.lang.Mc(c.ca)),x.lang.Mc(c.ca)instanceof pc&&(i=x.lang.Mc(c.ca)));if(!(0===c.clientWidth&&0===c.clientHeight&&c.offsetParent&&"TD"===c.offsetParent.nodeName)&&"http://www.w3.org/2000/svg"!==c.namespaceURI)d+= c.offsetLeft||0,e+=c.offsetTop||0;else if("http://www.w3.org/2000/svg"===c.namespaceURI&&z.cq){var y=z.cq.Os(f).cf;if(-1<navigator.userAgent.indexOf("Opera")&&"svg"!==c.tagName){if(c=x.lang.Mc(c.ca))c=c.Fd(),d+=f.fc(c.qe()).x,e+=f.fc(c.kf()).y;break}39<=x.ea.rg&&(d=a.layerX||0,e=a.layerY||0);if(y&&!(window.ActiveXObject||"ActiveXObject"in window))d+=parseFloat(y.style.left)+f.offsetX,e+=parseFloat(y.style.top)+f.offsetY;if(y&&((window.ActiveXObject||"ActiveXObject"in window)&&"svg"===c.nodeName.toLowerCase())&& !c.ca)d+=parseFloat(y.style.left)+f.offsetX,e+=parseFloat(y.style.top)+f.offsetY;if((9<=x.ea.la||-1<navigator.userAgent.toLowerCase().indexOf("trident"))&&"svg"!==c.nodeName.toLowerCase()){d+=f.offsetX;e+=f.offsetY;break}if(!x.ea.la)break}c=c.offsetParent}b.offsetX=d;b.offsetY=e;b.pixel=b.hb=new Q(d,e);b.point=b.point=f.zb(b.hb);b.overlay=b.$a=g;b.domEvent=a;b.xb=i;return b}function d(a){var b=f.R,d=!b.Ux&&!b.Vx;if(b.my)clearTimeout(b.my),b.my=p,d&&(f.dispatchEvent(c(a,ma(new M("onrightclick"),a))), f.Sa|=rg,f.dispatchEvent(c(a,ma(new M("onrightdblclick"),a))),f.Sa^=rg);else{d&&f.dispatchEvent(c(a,ma(new M("onrightclick"),a)));var e=c(a,ma(new M("onrightclickex"),a));b.my=setTimeout(function(){b.my=p;d&&f.dispatchEvent(e)},f.M.gC)}}function e(a){if(f.M.Po){var b=f.R;b.kb&&(b.kb.stop(),b.kb=p,setTimeout(function(){f.dispatchEvent(new M("onmoveend"))},1));f.Sa|=sg;a=window.event||a;f.Hc=f.Ha;b=new M("onmousewheel");b.Up=0<=a.wheelDelta||0>a.detail;var d=new Date;b.Up===o&&f.Ha===f.va().qm()||b.Up=== q&&f.Ha===f.va().Xo()||220>d-g?f.Sa^=sg:(g=d,c(a,ma(b,a)),f.dispatchEvent(b),f.Sa^=sg,a.returnValue=q);Ab(a)}}var f=a;f.hY=a.Ub();a.Ua.j3=ca(q);x.K(f.platform,"mousemove",function(a){0===f.Sa&&f.dispatchEvent(c(a,ma(new M("onmousemove"),a)))});x.K(f.platform,"mousedown",function(a){if(f.M.eD){a=window.event||a;x.ea.la||Ab(a);var b=f.R;b.Ic=o;var d=a.srcElement||a.target;b.kb&&(b.kb.stop(),b.kb=p,f.dispatchEvent(new M("onmoveend")));b.iu=a.clientX||
_jsload2&&_jsload2('vectordrawlib', 'function wf(a){this.TH=o;this.k=x.object.extend(a||{},{Xf:o});Dc.call(this,this.k);this.zg={};this.loaded=q;this.Bt=p;this.VB=q;this.MJ={road:"rd",water:"wt",building:"bd",land:"ld",government:"gv",point:"pts"};this.ME={market:"mt",food:"fd",communications:"cm",hotel:"ht",attractions:"at",recreation:"rc"}}wf.prototype=new Dc; wf.prototype.pa=function(a){if(!this.loaded){this.loaded=o;var b=this;b.map=a;b.tb=b.map.tb;b.map=a;b.Rw=q;b.nK=p;b.me="df";b.k.poiElements&&b.k.poiElements.name&&(b.me=b.ME[b.k.poiElements.name]);b.Oe=b.k.style||"normal";b.ln=b.k.styleStr||p;b.bq=200;b.Dg=p;b.Yd=0;b.ub=this.tb.Mn(0);b.Ld=this.tb.Mn(10);b.tb.md.appendChild(this.ub);b.tb.md.appendChild(this.Ld);b.tb.ub=b.ub;b.tb.Ld=this.Ld;b.Ib=new z.VectorDrawLib;b.es="";b.k.features&&(b.es=b.HW(b.k.features));b.Ib.jC=b.Oe;b.Yl();b.Oe&&"normal"!== b.Oe||b.ln&&0<b.ln.length?b.Kt(b.Oe,b.ln,function(){b.map.addEventListener("click",function(a){b.Yd++;if(b.Yd===1)b.Dg=setTimeout(function(){b.pu(a);b.Yd=0},b.bq);else{clearTimeout(b.Dg);b.Yd=0;return q}});b.ub.innerHTML="";b.Ld.innerHTML="";b.Zd(o)}):(b.Zd(),b.map.addEventListener("click",function(a){b.Yd++;if(b.Yd===1){if(!a.$a)b.Dg=setTimeout(function(){b.pu(a);b.Yd=0},b.bq)}else{clearTimeout(b.Dg);b.Yd=0;return q}}));b.map.M.nj&&(G()&&b.Df==j)&&(b.Df=new z.mG(b.map),b.map.Ja(b.Df))}}; x.extend(wf.prototype,{Yl:function(){var a=this;setTimeout(function(){a.map.addEventListener("poilayervisiblechange",function(b){a.fV(b)});a.map.addEventListener("moveend",function(){a.Zd()});a.map.addEventListener("zoomend",function(){a.ky();a.Rw=q;a.Zd(o)});a.map.addEventListener("onresize",function(){a.Zd()});Sa()&&(a.map.addEventListener("onmoving",function(){a.Zd()}),a.map.addEventListener("onmaptypechange",function(){a.Zd()}));a.map.addEventListener("mousemove",function(b){a.map.Ub()&&a.BC(b)})}, 1);a.map.addEventListener("setcustomstyles",function(b){a.kC(b.target)})},HW:function(a){for(var b="",c=0,d=a.length;c<d;c++)b=b+this.MJ[a[c]]+",";b&&(this.Ib.bi=b);return b},Kt:function(a,b,c){if(this.map.Ub()){var d=this,e=z.Fc+"custom/";b&&0<b.length?(cbk="setStyle_"+b.length,e+="mapstyle?styles="+encodeURIComponent(b)):(cbk="setStyle_"+a,e+="getstyle?customid="+a);e+="&callback="+cbk+"&udt=20150116";window[cbk]=function(b,e){var i=x.extend({},d.Ib.lz);d.Ib.Cb=x.extend(i,b);i=z.Ab.pe(d.Ib.Cb["3181"][1]); d.map.M.zo=i;d.map.Na().style.backgroundColor=i;c(a);d.map.dispatchEvent(new M("onsetmapstylesuccess",e));delete window[cbk]};Pb(e,q)}},BN:function(a){if(this.map.Ub()){for(var b="",c=0,d=a.length;c<d;c++)b=b+(this.MJ[a[c]]||"")+",";b==this.es&&""==!b||(""==b&&(b="no"),this.es=b,this.Ib.bi=b,this.Ib.As({bg:this.bx(this.ub),poi:this.bx(this.Ld)},this.tb,this.me))}},JN:function(a){if(a.name&&this.ME[a.name]){var b=this.ME[a.name];if(a.styles.visibility==o&&this.me!==b&&-1<this.es.indexOf("pts")){this.me= b;if(this.Ld)for(var c=[],d=[],a=this.Ld.childNodes,b=0,e=a.length;b<e;b++){var f=a[b].id.split("_");c.push([f[1],f[2]]);d.push(a[b])}this.Ib.TC(c,d,this.me,this.tb,p)}}},Ip:function(a){var b=this;b.Kt(a.style,a.styleStr,function(a){b.Oe=a;b.ky();b.Ib.jC=b.Oe;var a=b.Ib.Js,d;for(d in a)delete a[d];"df"!==b.me&&b.YD();b.UE()})},z3:function(a){var b=this,c=[],d=[],e=a.clickFea;b.nK=e;if(a.type){var f=x.$(e.tileId),g=e.tileId;if(b.me==a.type){var i=Math.pow(2,18-b.map.Ha);b.W_();b.zg[g]={canvas:f,fea:e.fea}; b.PK(e,i);var c=this.zg,k;for(k in c)d=x.$(k).getContext("2d"),b.Ib.km(d,c[k].fea,i,o);return}b.ky();b.me=a.type;b.zg[g]={canvas:f,fea:e.fea};b.PK(e,i)}else{b.lu();if("df"==b.me)return;b.ky();b.me="df"}if(b.Ld){i=b.Ld.childNodes;k=0;for(a=i.length;k<a;k++)f=i[k].id.split("_"),c.push([f[f.length-3],f[f.length-2]]),d.push(i[k])}b.VB||(b.map.addEventListener("onclickicondrawed",function(a){var c=a.tarPoi.id;b.Rw=o;b.zg&&b.zg[c]&&(b.zg[c].fea=a.tarPoi.fea)}),b.VB=o);"df"==b.me?b.lu():b.YD();b.Ib.TC(c, d,b.me,b.tb,e)},W_:function(){var a=this.zg,b=Math.pow(2,18-this.map.Ha),c;for(c in a)this.Ib.km(a[c].canvas.getContext("2d"),a[c].fea,b,q);for(var d in a)delete a[d]},ky:function(){var a=th
_jsload2&&_jsload2('style', 'var nf=".BMap_mask{background:transparent url("+z.ma+"images/blank.gif);}.BMap_noscreen{display:none;}.BMap_button{cursor:pointer;}.BMap_zoomer{background-image:url("+z.ma+"images/mapctrls1d3.gif);background-repeat:no-repeat;overflow:hidden;font-size:1px;position:absolute;width:7px;height:7px;}.BMap_stdMpCtrl div{position:absolute;}.BMap_stdMpPan{width:44px;height:44px;overflow:hidden;background:url("+z.ma+\'images/mapctrls2d0.png) no-repeat;}.BMap_ie6 .BMap_stdMpPan{background:none;}.BMap_ie6 .BMap_smcbg{left:0;width:44px;height:464px;filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src="\'+ z.ma+\'images/mapctrls2d0.png");}.BMap_ie6 .BMap_stdMpPanBg{z-index:-1;}.BMap_stdMpPan .BMap_button{height:15px;width:15px;}.BMap_panN,.BMap_panW,.BMap_panE,.BMap_panS{overflow:hidden;}.BMap_panN{left:14px;top:0;}.BMap_panW{left:1px;top:12px;}.BMap_panE{left:27px;top:12px;}.BMap_panS{left:14px;top:25px;}.BMap_stdMpZoom{top:45px;overflow:hidden;}.BMap_stdMpZoom .BMap_button{width:22px;height:21px;left:12px;overflow:hidden;background-image:url(\'+z.ma+"images/mapctrls2d0.png);background-repeat:no-repeat;z-index:10;}.BMap_ie6 .BMap_stdMpZoom .BMap_button{background:none;}.BMap_stdMpZoomIn{background-position:0 -221px;}.BMap_stdMpZoomOut{background-position:0 -265px;}.BMap_ie6 .BMap_stdMpZoomIn div{left:0;top:-221px;}.BMap_ie6 .BMap_stdMpZoomOut div{left:0;top:-265px;}.BMap_stdMpType4 .BMap_stdMpZoom .BMap_button{left:0;overflow:hidden;background:-webkit-gradient(linear,50% 0,50% 100%,from(rgba(255,255,255,0.85)),to(rgba(217,217,217,0.85)));z-index:10;-webkit-border-radius:22px;width:34px;height:34px;border:1px solid rgba(255,255,255,0.5);-webkit-box-shadow:0 2px 3.6px #CCC;display:-webkit-box;-webkit-box-align:center;-webkit-box-pack:center;-webkit-box-sizing:border-box;}.BMap_stdMpType4 .BMap_smcbg{position:static;background:url("+ z.ma+"images/mapctrls2d0_mb.png) 0 0 no-repeat;-webkit-background-size:24px 32px;}.BMap_stdMpType4 .BMap_stdMpZoomIn{background-position:0 0;}.BMap_stdMpType4 .BMap_stdMpZoomIn .BMap_smcbg{width:24px;height:24px;background-position:0 0;}.BMap_stdMpType4 .BMap_stdMpZoomOut{background-position:0 0;}.BMap_stdMpType4 .BMap_stdMpZoomOut .BMap_smcbg{width:24px;height:6px;background-position:0 -25px;}.BMap_stdMpSlider{width:37px;top:18px;}.BMap_stdMpSliderBgTop{left:18px;width:10px;overflow:hidden;background:url("+ z.ma+"images/mapctrls2d0.png) no-repeat -23px -226px;}.BMap_stdMpSliderBgBot{left:19px;height:8px;width:10px;top:124px;overflow:hidden;background:url("+z.ma+"images/mapctrls2d0.png) no-repeat -33px bottom;}.BMap_ie6 .BMap_stdMpSliderBgTop,.BMap_ie6 .BMap_stdMpSliderBgBot{background:none;}.BMap_ie6 .BMap_stdMpSliderBgTop div{left:-23px;top:-226px;}.BMap_ie6 .BMap_stdMpSliderBgBot div{left:-33px;bottom:0;}.BMap_stdMpSliderMask{height:100%;width:24px;left:10px;cursor:pointer;}.BMap_stdMpSliderBar{height:11px;width:19px;left:13px;top:80px;overflow:hidden;background:url("+ z.ma+"images/mapctrls2d0.png) no-repeat 0 -309px;}.BMap_stdMpSliderBar.h{background:url("+z.ma+"images/mapctrls2d0.png) no-repeat 0 -320px;}.BMap_ie6 .BMap_stdMpSliderBar,.BMap_ie6 .BMap_stdMpSliderBar.h{background:none;}.BMap_ie6 .BMap_stdMpSliderBar div{top:-309px;}.BMap_ie6 .BMap_stdMpSliderBar.h div{top:-320px;}.BMap_zlSt,.BMap_zlCity,.BMap_zlProv,.BMap_zlCountry{position:absolute;left:34px;height:21px;width:28px;background-image:url("+z.ma+"images/mapctrls2d0.png);background-repeat:no-repeat;font-size:0;cursor:pointer;}.BMap_ie6 .BMap_zlSt,.BMap_ie6 .BMap_zlCity,.BMap_ie6 .BMap_zlProv,.BMap_ie6 .BMap_zlCountry{background:none;overflow:hidden;}.BMap_zlHolder{display:none;position:absolute;top:0;}.BMap_zlHolder.hvr{display:block;}.BMap_zlSt{background-position:0 -380px;top:21px;}.BMap_zlCity{background-position:0 -401px;top:52px;}.BMap_zlProv{background-position:0 -422px;top:76px;}.BMap_zlCountry{background-position:0 -443px;top:100px;}.BMap_ie6 .BMap_zlSt div{top:-380px;}.BMap_ie6 .BMap_zlCity div{top:-401px;}.BMap_ie6 .BMap_zlProv div{top:-422px;}.BMap_ie6 .BMap_zlCountry div{top:-443px;}.BMap_st
_jsload2&&_jsload2('tile', 'function vf(){this.Lf=this.Dp=this.pp=this.Mj=p;this.mE=q;this.ci=p}x.lang.sa(vf,ic,"MobileInfoWindow"); x.extend(vf.prototype,{initialize:function(a){this.C=a;this.ci=document.createElement("div");this.ci.className="iw";this.ci.style.cssText="position:absolute; line-height:28px; text-align:center; border:0px;";var b=this.Mj=document.createElement("div");this.ci.appendChild(b);this.pp=document.createElement("div");this.pp.className="iw_l";b.appendChild(this.pp);this.Dp=document.createElement("div");this.Dp.className="iw_r";b.appendChild(this.Dp);this.kk=document.createElement("a");this.kk.setAttribute("target", "_blank");this.kk.className="iw_s iw_s0 iw_c";this.kk.innerHTML="<div class=\'iw_bg iw_cc\'></div>";b.appendChild(this.kk);a.Qf().oD.appendChild(this.ci);this.bind();this.Lf=this.kk.getElementsByTagName("DIV")[0];this.pp.style.display="block";this.Dp.style.display="block";return this.ci},bind:function(){var a=this;x.K(a.pp,"click",function(b){a.GY();b.preventDefault();b.stopPropagation()});x.K(a.Dp,"click",function(b){a.oY();b.preventDefault();b.stopPropagation()});x.K(a.kk,"click",function(a){a.stopPropagation()}); x.Db("touchstart touchmove touchend gesturestart gesturechange mousedown mouseout mouseover click mousewheel keydown selectstart".split(" "),function(b){x.K(a.kk,b,na);x.K(a.pp,b,na);x.K(a.Dp,b,na)})},MI:s(),CI:s(),ha:function(){return new H(this.$H.lng,this.$H.lat)},ra:s(),Va:t("mE"),U:function(){x.D.U(this.V);this.ci.style.display="none";this.mE=q},show:function(a){a&&(this.point=a);x.D.show(this.V);this.ci.style.display="block";this.mE=o;this.C.R.mb=this},JZ:function(){var a=this.C,b=this.Uh,c= this.Mj.offsetWidth,d=this.Mj.offsetHeight,e=a.wb(),c=c/2+16,d=d/2+78;if(this.Uh){var f=new Q(0,0);b.x<c?f.x=c-b.x:e.width-b.x-8<c&&(f.x=e.width-b.x-8-c);b.y<d?f.y=d-b.y:60>e.height-b.y&&(f.y=e.height-b.y-60);0==f.x&&0==f.y||a.yg(f.x,f.y)}},switchTo:function(a){this.Uh=a.point;this.af=a.name;this.hk=a.uid;this.$j=a.ya;this.gT=parseInt(this.C.platform.style.left);this.hT=parseInt(this.C.platform.style.top);this.$H=this.C.zb(this.Uh);this.show();this.jZ();this.EN()},D3:function(){this.Mj.className= "iw_rt";this.show();this.EN()},jZ:function(){this.kk.setAttribute("href","http://map.baidu.com/place/detail?uid="+this.hk+"&output=html&source=jsapi&operate=mapclick&clicktype=vector");this.Mj.className="iw_rt";this.Lf.innerHTML="<div class=\'iw_poir\'><div class=\'crl_ar\' style=\'white-space:nowrap;text-overflow:ellipsis;overflow:hidden;\'>"+this.af+"</div></div>";this.draw()},EN:function(){var a=this;a.bE||(a.bE=setTimeout(function(){a.JZ();clearTimeout(a.bE);a.bE=p},100))},v4:function(){var a=$("popList"); 43<this.Lf.textContent.length&&(58<=this.Lf.textContent.length?a.Ta("zoom2"):a.Ta("zoom1"))},j1:function(){this.Lf.innerHTML=""},draw:function(){if(this.Uh){var a=this.Uh,b=a.y;this.ci.style.left=a.x-98-this.gT+"px";this.ci.style.top=b-62-this.hT+"px"}},N2:function(){Sa()&&(location.href="http://map.baidu.com/detail?qt=ninf&wd=&detail=scope&uid="+this.hk);G()&&(location.href="http://map.baidu.com/mobile/#place/detail/qt=inf&c=131&uid="+this.hk)},GY:function(){this.C.zb(this.Uh);var a=this.C.fa(), a=Math.pow(2,18-a),b=this.C.wb(),c=this.C.wc,a="http://map.baidu.com/mobile/?third_party=uri_api#index/searchnearby/foo=bar/"+this.kY({nb_x:c.lng+a*(this.Uh.x-b.width/2),nb_y:c.lat-a*(this.Uh.y-b.height/2),center_name:this.af,from:"searchnearby"});window.open(a,"_blank")},oY:function(){var a=this.C.$g,b=this.C.Ub()?"&operate=vectorclick":"&operate=mapclick",a=z.Fc+"direction?origin=\\u6211\\u7684\\u4f4d\\u7f6e&destination="+this.af+"&mode=navigation&output=html&src=jsapi"+b+"&region="+a;Oa("navlinkmobile"); window.open(a,"_blank")},kY:function(a){if(!a)return"";var b=[],c;for(c in a)b.push(c+"="+encodeURIComponent(a[c]));return b.join("&")}});z.mG=vf;window.Cb={1:[3,-1497178369,[2,-1497178369,1,0,0,[],0,0]],10:[2,-1365210369,2,2,2,[4,3],1,0],100:[2,-237677057,8,2,2,[],2,0],1E3:[2,-843149313,8,0,2,[],1,0],1001:[2,-843149313,12,0,2,[],1,0],1002:[2,-237677057,3,0,2,[],1,0],1003:[2,-237677057,3
_jsload2&&_jsload2('navictrl', 'x.extend(ib.prototype,{uf:function(){this.C&&this.Be(this.C)},initialize:function(a){Rb.prototype.initialize.call(this,a);this.br();this.Iv();this.za();this.ba={};!G()?this.SP():this.RP();this.Jv(a.fa());this.TP(a);this.k.hW&&this.ZZ();return this.B},br:function(){this.Qi||(this.Qi=o,this.MS=19,this.no=-1,this.Mv=6,this.Xj=1,this.cl=this.bo=-1,this.Kv=this.VI=this.Kf=p,this.rz="1100")},TP:function(a){var b=this;a.addEventListener("zoomend",function(){b.C&&(b.Jv(b.C.fa()),!b.fI&&b.hr&&(b.zf=setTimeout(function(){b.mA()}, 1E3)))});a.addEventListener("mousewheel",function(){b.C&&(b.C.M.Po&&b.hr)&&(b.zf&&(clearTimeout(b.zf),b.zf=p),b.TI())});a.addEventListener("load",function(){b.C&&b.Jv(b.C.fa())});a.addEventListener("maptypechange",function(){b.C&&b.fe()});a.addEventListener("zoomspanchange",function(){b.C&&b.fe()})},fe:function(){this.Iv();this.jn(this.k.type);this.C&&this.Jv(this.C.fa())},Iv:function(){var a=this.C.va();this.Qh=this.C.M.dc;this.Cf=this.C.M.Yb;this.hr=a==Na||this.Qh!=a.Xo()||this.Cf!=a.qm()?q:o;this.B&& (this.B.style.width=this.pH(0).width+"px");this.k.vF||(this.hr=q);this.no=this.Cf-this.Qh+1;this.bo=this.Xj+(this.no-1)*this.Mv},za:function(){Rb.prototype.za.call(this);var a=6==x.ea.la?" BMap_ie6":"",b=" BMap_stdMpType"+this.k.type,c=this.B;x.D.Ta(c,"BMap_stdMpCtrl");x.D.Ta(c,a);x.D.Ta(c,b);c.innerHTML=this.Rq(this.k.type);this.sB(x.ea.opera?"pointer":F.Wb);this.kd=x.$(c.children[0]);a=this.Kf=x.$(c.children[1]);this.Dh=x.$(a.children[0]);this.ag=x.$(a.children[1]);this.VI=x.$(a.children[2]);this.Kv= x.$(a.children[2].children[0]);this.Lv=x.$(a.children[2].children[1]);this.XF=this.B.children[1];this.rD=this.B.children[2];this.jn(this.k.type)},UT:function(){var a=this.pH(this.k.type),b=a.width,c=a.height,d=a.su,a=a.Xt,e=(this.MS-this.no)*this.Mv;0==this.k.type&&(c=0<=c-e?c-e:0,d=0<=d-e?d-e:0,a=0<=a-e?a-e:0);this.B.style.width=b+"px";this.B.style.height=c+"px";this.Kf.style.height=d+"px";this.Kf.style.width=b+"px";this.ag.style.top=G()?"44px":d-21+"px";this.VI.style.height=a+"px";this.Kv.style.height= a+"px";this.Kf.children[0].style.left=3==this.k.type?this.Kf.children[1].style.left="0":this.Kf.children[1].style.left=""},pH:function(a){var b=62;if(!this.k.vF||this.C.va()==Na)b=37;return[{width:b,height:204,su:159,Qy:37,Xt:120,Cy:120},{width:37,height:97,su:42,Qy:37,Xt:0,Cy:0},{width:37,height:57,su:0,Qy:0,Xt:0,Cy:0},{width:22,height:42,su:42,Qy:18,Xt:0,Cy:0},{width:35,height:71,Qy:35,su:71,Xt:0,Cy:0}][a]},Rq:function(){var a=[];a.push(this.Yz());a.push(this.Zz());a.push(this.yR());return a.join("")}, Yz:ca(\'<div class="BMap_stdMpPan"><div class="BMap_button BMap_panN" title="\\u5411\\u4e0a\\u5e73\\u79fb"></div><div class="BMap_button BMap_panW" title="\\u5411\\u5de6\\u5e73\\u79fb"></div><div class="BMap_button BMap_panE" title="\\u5411\\u53f3\\u5e73\\u79fb"></div><div class="BMap_button BMap_panS" title="\\u5411\\u4e0b\\u5e73\\u79fb"></div><div class="BMap_stdMpPanBg BMap_smcbg"></div></div>\'),Zz:function(){return G()?[\'<div class="BMap_stdMpZoom" style="width: 35px; height: 71px; background: rgba(255,255,255,.8); -webkit-box-shadow: 1px 1px 2px rgba(0,0,0,.4); border-radius: 3px;"><div class="BMap_button BMap_stdMpZoomIn" title="\\u653e\\u5927\\u4e00\\u7ea7" style="position: initial; background: initial; border-radius: initial; box-shadow: initial; width: 35px; height: 35px;">\', \'<div class="BMap_smcbg" style="position: initial; width: 35px; height: 35px; background-image: url(\'+z.ma+\'images/navigation-control/mobile/plus-28x29.png); background-size: 14px 15px; background-position: center; background-repeat: no-repeat;">\',\'</div></div><div class="BMap_button BMap_stdMpZoomOut" title="\\u7f29\\u5c0f\\u4e00\\u7ea7" style="position: initial; background: initial; border-radius: initial; box-shadow: initial; width: 35px; height: 35px; border-top: 1px solid #ececec;">\',\'<div class="BMap_smcbg" style="position: initial; width: 35px; height: 35px; background-image: url(\'+ z.ma+\'images/navigation-control/mobile/minus-30x6.png); background-size: 15px 3px; background-p
_jsload2&&_jsload2('canvablepath', 'function Vf(a){a=a.replace(/,/gm," ");a=a.replace(/([MmZzLlHhVvCcSsQqTtAa])([MmZzLlHhVvCcSsQqTtAa])/gm,"$1 $2");a=a.replace(/([MmZzLlHhVvCcSsQqTtAa])([MmZzLlHhVvCcSsQqTtAa])/gm,"$1 $2");a=a.replace(/([MmZzLlHhVvCcSsQqTtAa])([^\\s])/gm,"$1 $2");a=a.replace(/([^\\s])([MmZzLlHhVvCcSsQqTtAa])/gm,"$1 $2");a=a.replace(/([0-9])([+\\-])/gm,"$1 $2");a=a.replace(/(\\.[0-9]*)(\\.)/gm,"$1 $2");a=a.replace(/([Aa](\\s+[0-9]+){3})\\s+([01])\\s*([01])/gm,"$1 $3 $4 ");a=Vf.tV(a);a=Vf.trim(a);this.jP=new function(a){this.FF= a.split(" ");this.reset=function(){this.lh=-1;this.Ft=this.Fw="";this.start=new Vf.Yf(0,0);this.Gw=new Vf.Yf(0,0);this.gb=new Vf.Yf(0,0);this.ia=[];this.yo=[]};this.QL=function(){return this.lh>=this.FF.length-1};this.xj=function(){return this.QL()?o:this.FF[this.lh+1].match(/^[A-Za-z]$/)!=p};this.nE=function(){switch(this.Fw){case "m":case "l":case "h":case "v":case "c":case "s":case "q":case "t":case "a":case "z":return o}return q};this.vL=function(){this.lh++;return this.FF[this.lh]};this.rj=function(){return parseFloat(this.vL())}; this.HY=function(){this.Ft=this.Fw;this.Fw=this.vL()};this.tm=function(){return this.tY(new Vf.Yf(this.rj(),this.rj()))};this.vD=function(){var a=this.tm();return this.Gw=a};this.sk=function(){var a=this.tm();return this.gb=a};this.pL=function(){return"c"!=this.Ft.toLowerCase()&&"s"!=this.Ft.toLowerCase()&&"q"!=this.Ft.toLowerCase()&&"t"!=this.Ft.toLowerCase()?this.gb:new Vf.Yf(2*this.gb.x-this.Gw.x,2*this.gb.y-this.Gw.y)};this.tY=function(a){this.nE()&&(a.x+=this.gb.x,a.y+=this.gb.y);return a};this.dj= function(a,b,e){e!=p&&(0<this.yo.length&&this.yo[this.yo.length-1]==p)&&(this.yo[this.yo.length-1]=Math.atan2(e.y-this.ia[this.ia.length-1].y,e.x-this.ia[this.ia.length-1].x));this.MB(a,b==p?p:Math.atan2(a.y-b.y,a.x-b.x))};this.MB=function(a,b){this.ia.push(a);this.yo.push(b)}}(a);this.fb=function(){return this.hi(p)};this.hi=function(a){var c=this.jP;c.reset();var d=new Vf.RO;for(a!=p&&a.beginPath();!c.QL();)switch(c.HY(),c.Fw){case "M":case "m":var e=c.sk();c.dj(e);d.ng(e.x,e.y);a!=p&&a.moveTo(e.x, e.y);for(c.start=c.gb;!c.xj();)e=c.sk(),c.dj(e,c.start),d.ng(e.x,e.y),a!=p&&a.lineTo(e.x,e.y);break;case "L":case "l":for(;!c.xj();){var f=c.gb,e=c.sk();c.dj(e,f);d.ng(e.x,e.y);a!=p&&a.lineTo(e.x,e.y)}break;case "H":case "h":for(;!c.xj();)e=new Vf.Yf((c.nE()?c.gb.x:0)+c.rj(),c.gb.y),c.dj(e,c.gb),c.gb=e,d.ng(c.gb.x,c.gb.y),a!=p&&a.lineTo(c.gb.x,c.gb.y);break;case "V":case "v":for(;!c.xj();)e=new Vf.Yf(c.gb.x,(c.nE()?c.gb.y:0)+c.rj()),c.dj(e,c.gb),c.gb=e,d.ng(c.gb.x,c.gb.y),a!=p&&a.lineTo(c.gb.x,c.gb.y); break;case "C":case "c":for(;!c.xj();){var g=c.gb,f=c.tm(),i=c.vD(),e=c.sk();c.dj(e,i,f);d.LB(g.x,g.y,f.x,f.y,i.x,i.y,e.x,e.y);a!=p&&a.bezierCurveTo(f.x,f.y,i.x,i.y,e.x,e.y)}break;case "S":case "s":for(;!c.xj();)g=c.gb,f=c.pL(),i=c.vD(),e=c.sk(),c.dj(e,i,f),d.LB(g.x,g.y,f.x,f.y,i.x,i.y,e.x,e.y),a!=p&&a.bezierCurveTo(f.x,f.y,i.x,i.y,e.x,e.y);break;case "Q":case "q":for(;!c.xj();)g=c.gb,i=c.vD(),e=c.sk(),c.dj(e,i,i),d.xJ(g.x,g.y,i.x,i.y,e.x,e.y),a!=p&&a.quadraticCurveTo(i.x,i.y,e.x,e.y);break;case "T":case "t":for(;!c.xj();)g= c.gb,i=c.pL(),c.Gw=i,e=c.sk(),c.dj(e,i,i),d.xJ(g.x,g.y,i.x,i.y,e.x,e.y),a!=p&&a.quadraticCurveTo(i.x,i.y,e.x,e.y);break;case "A":case "a":for(;!c.xj();){var g=c.gb,k=c.rj(),l=c.rj(),f=c.rj()*(Math.PI/180),m=c.rj(),i=c.rj(),e=c.sk(),n=new Vf.Yf(Math.cos(f)*(g.x-e.x)/2+Math.sin(f)*(g.y-e.y)/2,-Math.sin(f)*(g.x-e.x)/2+Math.cos(f)*(g.y-e.y)/2),u=Math.pow(n.x,2)/Math.pow(k,2)+Math.pow(n.y,2)/Math.pow(l,2);1<u&&(k*=Math.sqrt(u),l*=Math.sqrt(u));m=(m==i?-1:1)*Math.sqrt((Math.pow(k,2)*Math.pow(l,2)-Math.pow(k, 2)*Math.pow(n.y,2)-Math.pow(l,2)*Math.pow(n.x,2))/(Math.pow(k,2)*Math.pow(n.y,2)+Math.pow(l,2)*Math.pow(n.x,2)));isNaN(m)&&(m=0);var v=new Vf.Yf(m*k*n.y/l,m*-l*n.x/k),g=new Vf.Yf((g.x+e.x)/2+Math.cos(f)*v.x-Math.sin(f)*v.y,(g.y+e.y)/2+Math.sin(f)*v.x+Math.cos(f)*v.y),w=function(a,b){return(a[0]*b[0]+a[1]*b[1])/(Math.sqrt(Math.pow(a[0],2)+Math.pow(a[1],2))*Math.sqrt(Math.pow(b[0],2)+Math.pow(b[1],2)))},y=function(a,b){return(a[0]*b[1]<a[1]
_jsload2&&_jsload2('common', 'x.cookie=x.cookie||{};x.cookie.SH=function(a){return RegExp(\'^[^\\\\x00-\\\\x20\\\\x7f\\\\(\\\\)<>@,;:\\\\\\\\\\\\"\\\\[\\\\]\\\\?=\\\\{\\\\}\\\\/\\\\u0080-\\\\uffff]+$\').test(a)};x.cookie.kX=function(a){return x.cookie.SH(a)&&(a=RegExp("(^| )"+a+"=([^;]*)(;|$)").exec(document.cookie))?a[2]||p:p};x.cookie.get=function(a){a=x.cookie.kX(a);return"string"==typeof a?a=decodeURIComponent(a):p}; x.cookie.LN=function(a,b,c){if(x.cookie.SH(a)){var c=c||{},d=c.eh;"number"==typeof c.eh&&(d=new Date,d.setTime(d.getTime()+c.eh));document.cookie=a+"="+b+(c.path?"; path="+c.path:"")+(d?"; expires="+d.toGMTString():"")+(c.domain?"; domain="+c.domain:"")+(c.vZ?"; secure":"")}};x.cookie.set=function(a,b,c){x.cookie.LN(a,encodeURIComponent(b),c)};x.cookie.remove=function(a,b){b=b||{};b.eh=new Date(0);x.cookie.LN(a,"",b)};x.jt=function(a){return/\\d{11}/.test(a)};x.ZX=function(a){return/\\d{4}/.test(a)}; x.as=function(){function a(a){a=a.replace(/^#?([a-f\\d])([a-f\\d])([a-f\\d])$/i,function(a,b,c,d){return b+b+c+c+d+d});return(a=/^#?([a-f\\d]{2})([a-f\\d]{2})([a-f\\d]{2})$/i.exec(a))?"rgb("+parseInt(a[1],16)+","+parseInt(a[2],16)+","+parseInt(a[3],16)+")":p}var b={aliceblue:"#f0f8ff",antiquewhite:"#faebd7",aqua:"#00ffff",aquamarine:"#7fffd4",azure:"#f0ffff",beige:"#f5f5dc",bisque:"#ffe4c4",black:"#000000",blanchedalmond:"#ffebcd",blue:"#0000ff",blueviolet:"#8a2be2",brown:"#a52a2a",burlywood:"#deb887", cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",cornflowerblue:"#6495ed",cornsilk:"#fff8dc",crimson:"#dc143c",cyan:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkgray:"#a9a9a9",darkgreen:"#006400",darkkhaki:"#bdb76b",darkmagenta:"#8b008b",darkolivegreen:"#556b2f",darkorange:"#ff8c00",darkorchid:"#9932cc",darkred:"#8b0000",darksalmon:"#e9967a",darkseagreen:"#8fbc8f",darkslateblue:"#483d8b",darkslategray:"#2f4f4f",darkturquoise:"#00ced1",darkviolet:"#9400d3", deeppink:"#ff1493",deepskyblue:"#00bfff",dimgray:"#696969",dodgerblue:"#1e90ff",firebrick:"#b22222",floralwhite:"#fffaf0",forestgreen:"#228b22",fuchsia:"#ff00ff",gainsboro:"#dcdcdc",ghostwhite:"#f8f8ff",gold:"#ffd700",goldenrod:"#daa520",gray:"#808080",green:"#008000",greenyellow:"#adff2f",honeydew:"#f0fff0",hotpink:"#ff69b4","indianred ":"#cd5c5c",indigo:"#4b0082",ivory:"#fffff0",khaki:"#f0e68c",lavender:"#e6e6fa",lavenderblush:"#fff0f5",lawngreen:"#7cfc00",lemonchiffon:"#fffacd",lightblue:"#add8e6", lightcoral:"#f08080",lightcyan:"#e0ffff",lightgoldenrodyellow:"#fafad2",lightgrey:"#d3d3d3",lightgreen:"#90ee90",lightpink:"#ffb6c1",lightsalmon:"#ffa07a",lightseagreen:"#20b2aa",lightskyblue:"#87cefa",lightslategray:"#778899",lightsteelblue:"#b0c4de",lightyellow:"#ffffe0",lime:"#00ff00",limegreen:"#32cd32",linen:"#faf0e6",magenta:"#ff00ff",maroon:"#800000",mediumaquamarine:"#66cdaa",mediumblue:"#0000cd",mediumorchid:"#ba55d3",mediumpurple:"#9370d8",mediumseagreen:"#3cb371",mediumslateblue:"#7b68ee", mediumspringgreen:"#00fa9a",mediumturquoise:"#48d1cc",mediumvioletred:"#c71585",midnightblue:"#191970",mintcream:"#f5fffa",mistyrose:"#ffe4e1",moccasin:"#ffe4b5",navajowhite:"#ffdead",navy:"#000080",oldlace:"#fdf5e6",olive:"#808000",olivedrab:"#6b8e23",orange:"#ffa500",orangered:"#ff4500",orchid:"#da70d6",palegoldenrod:"#eee8aa",palegreen:"#98fb98",paleturquoise:"#afeeee",palevioletred:"#d87093",papayawhip:"#ffefd5",peachpuff:"#ffdab9",peru:"#cd853f",pink:"#ffc0cb",plum:"#dda0dd",powderblue:"#b0e0e6", purple:"#800080",red:"#ff0000",rosybrown:"#bc8f8f",royalblue:"#4169e1",saddlebrown:"#8b4513",salmon:"#fa8072",sandybrown:"#f4a460",seagreen:"#2e8b57",seashell:"#fff5ee",sienna:"#a0522d",silver:"#c0c0c0",skyblue:"#87ceeb",slateblue:"#6a5acd",slategray:"#708090",snow:"#fffafa",springgreen:"#00ff7f",steelblue:"#4682b4",tan:"#d2b48c",teal:"#008080",thistle:"#d8bfd8",tomato:"#ff6347",turquoise:"#40e0d0",violet:"#ee82ee",wheat:"#f5deb3",white:"#ffffff",whitesmoke:"#f5f5f5",yellow:"#ffff00",yellowgreen:"#9acd32"}, c={hex:/^#([A-Fa-f0-9]{6}|[A-Fa-f0-9]{3})$/,rgb:/rgb\\(\\s*(\\d|\\d\\d|1\\d\\d|2[0-4]\\d|25[0-5])\\s*,\
_jsload2&&_jsload2('symbol', 'var Wf={14:"m-0.00573,-10c-5.51975,0 -9.99427,4.47453 -9.99427,9.99428c0,5.51974 4.47452,9.99425 9.99427,9.99425c5.51972,0 9.99426,-4.47452 9.99426,-9.99425c0,-5.51975 -4.47453,-9.99428 -9.99426,-9.99428zm0,17.92491c-4.37412,0 -7.93132,-3.55788 -7.93132,-7.93063c0,-4.37345 3.5572,-7.93134 7.93132,-7.93134c4.37411,0 7.93062,3.55721 7.93062,7.93134c0,4.37412 -3.55789,7.93063 -7.93062,7.93063zm-0.00068,-15.4088c-0.38027,0 -0.68696,0.30807 -0.68696,0.68765l0,6.34078l-4.15752,1.81815c-0.34794,0.15266 -0.50611,0.55837 -0.35344,0.90632c0.11278,0.25787 0.36445,0.4119 0.6292,0.4119c0.09214,0 0.18635,-0.01857 0.27575,-0.05845l4.55635,-1.99279c0.00344,-0.00137 0.00619,-0.00275 0.00894,-0.00412l0.00275,-0.00138c0.01032,-0.00413 0.01581,-0.01376 0.02545,-0.01719c0.07151,-0.03576 0.13821,-0.07771 0.19185,-0.1341c0.02337,-0.02338 0.03644,-0.05364 0.05431,-0.08045c0.03301,-0.04401 0.06946,-0.08733 0.0894,-0.14028c0.0165,-0.04126 0.01787,-0.08596 0.02613,-0.12997c0.00894,-0.04469 0.02614,-0.08389 0.02614,-0.1286l0,-6.7905c0,-0.37889 -0.30807,-0.68697 -0.68833,-0.68697z", 13:"m-0.00706,-9.5c-5.24281,0 -9.49294,4.25065 -9.49294,9.49294c0,5.24331 4.25014,9.49294 9.49294,9.49294c5.24281,0 9.49294,-4.24964 9.49294,-9.49294c0,-5.2423 -4.25013,-9.49294 -9.49294,-9.49294zm3.08857,3.85997c0.61044,0 1.10279,0.96873 1.10279,2.16271s-0.49384,2.1647 -1.10279,2.1647c-0.60844,0 -1.10228,-0.96873 -1.10228,-2.16372s0.49434,-2.16369 1.10228,-2.16369zm-6.28628,0c0.60844,0 1.10228,0.96873 1.10228,2.16271s-0.49284,2.1647 -1.10228,2.1647s-1.10277,-0.96873 -1.10277,-2.16372s0.49383,-2.16369 1.10277,-2.16369zm3.21167,12.16493c-1.87667,0 -3.63373,-1.14814 -5.14663,-3.14239c1.56571,1.02156 3.27993,1.59064 5.07786,1.59064c1.90905,0 3.72343,-0.63985 5.36539,-1.78497c-1.54429,2.11685 -3.35767,3.33672 -5.29662,3.33672l-0.00001,0z", 12:"m9.27295,5.92958l-2.64443,-4.57961c-0.79727,-1.37992 -2.10131,-3.63983 -2.8986,-5.01973l-2.64441,-4.57858c-0.79782,-1.38093 -2.10186,-1.38093 -2.89913,0l-2.64335,4.57858c-0.79728,1.3799 -2.10188,3.63981 -2.89916,5.01973l-2.64387,4.57961c-0.79728,1.38101 -0.14472,2.50988 1.44983,2.50988l16.37221,0c1.59561,0 2.24711,-1.12887 1.45091,-2.50988l0,0zm-8.88166,0.70811l-1.56837,0l0,-1.50484l1.56837,0l0,1.50484zm-0.07527,-2.61447l-1.41621,0l-0.14044,-6.44231l1.68427,0l-0.12761,6.44231l0,0z",11:"m8.08295,-6.56414l-3.59319,0l0,-1.43586l-8.98155,0l0,1.43586l-3.59321,0c-1.0569,0 -1.915,0.85509 -1.915,1.91159l0,9.92258c0,1.05357 0.8581,1.91158 1.915,1.91158l16.16796,0c1.05692,0 1.91501,-0.85801 1.91501,-1.91158l0,-9.92258c0,-1.0565 -0.85809,-1.91159 -1.91501,-1.91159l0,0zm-8.08397,12.66884c-3.20143,0 -5.80643,-2.60031 -5.80643,-5.79596c0,-3.19569 2.605,-5.79891 5.80643,-5.79891s5.80789,2.60322 5.80789,5.79891c0,3.19565 -2.60794,5.79596 -5.80789,5.79596zm0,-9.6804c-2.15036,0 -3.89142,1.7394 -3.89142,3.88444c0,2.14503 1.74252,3.8844 3.89142,3.8844c2.1489,0 3.89141,-1.73937 3.89141,-3.8844c0,-2.14503 -1.74105,-3.88444 -3.89141,-3.88444z", 10:"m0,-10c-0.20885,0 -0.39491,0.08583 -0.55177,0.24149c-0.15674,0.15536 -0.28646,0.37838 -0.39429,0.65665c-0.21586,0.55655 -0.34853,1.33844 -0.42114,2.27477c-0.07231,0.93446 -0.08474,2.02273 -0.05447,3.18765c-2.58175,1.05925 -7.81787,3.24648 -8.23854,3.73474c-0.56001,0.65029 -0.37908,1.3954 -0.15331,1.89002l8.608,-1.75235c0.18202,2.28374 0.4407,4.5455 0.66615,6.31771c-0.8418,0.24646 -2.41323,0.73303 -2.73754,1.03474c-0.4469,0.41562 -0.4469,1.75793 -0.4469,1.75793l3.52318,-0.28665c0.08286,0.57874 0.13486,0.9163 0.13486,0.9163l0.00511,0.03042l0.02778,0l0.06486,0l0.02778,0l0.00511,-0.03042c0,0 0.05185,-0.33756 0.13486,-0.9163l3.52424,0.28665c0,0 0,-1.34231 -0.44688,-1.75793c-0.32446,-0.30172 -1.89697,-0.7895 -2.73847,-1.0358c0.22484,-1.76681 0.4832,-4.02001 0.66507,-6.29634l8.50712,1.73203c0.22561,-0.49462 0.40765,-1.23973 -0.15237,-1.89002c-0.41538,-0.48221 -5.52504,-2.62071 -8.1386,-3.69423c0.03119,-1.17999 0.01971,-2.28285 -0.05353,-3.22816l0,-0.00233c-0.07263,-0.93523 -0.20545,-1.71635 -0.42114,-2.27244c-0.10784,-0.27827 -0.23634,-0.50114 -0.3932,-0.65665c-0.15689,-0.15567 -0.34293,-0.
_jsload2&&_jsload2('marker', 'function Xf(a,b){0<a.Zf.length?a.Zf[a.Zf.length-1].k.finish=b:a.k.finish=b} x.extend(fb.prototype,{initialize:function(a){this.map=a;this.Hj();this.ba();this.hg&&this.hg.pa(this.map,this);x.lang.Ba.call(this,this.ca);if(this.V)return this.V.ca=this.ca,this.Pa||x.D.U(this.V),this.V},ba:function(){function a(a,b){var f=a.srcElement||a.target,g=a.clientX||a.pageX,i=a.clientY||a.pageY;if(a&&b&&g&&i&&f){var f=x.D.ha(c.Ua),k=Bb();b.pixel=b.hb=new Q(g-f.left+k[1],i-f.top+k[0]);b.point=c.zb(b.hb)}return b}if(this.V){var b=this,c=this.map;x.K(this.V,"mouseover",function(c){b.el|| b.dispatchEvent(a(c,ma(new M("onmouseover"),c)))});x.K(this.V,"mouseout",function(c){b.el||b.dispatchEvent(a(c,ma(new M("onmouseout"),c)))});b.z.ff&&(x.K(this.V,"touchstart",function(a){b.ba.DB=new Q(a.changedTouches[0].clientX,a.changedTouches[0].clientY)}),x.K(this.V,"touchend",function(c){var e=$a(),f=new Q(c.changedTouches[0].clientX,c.changedTouches[0].clientY);10<Math.abs(f.x-b.ba.DB.x)||10<Math.abs(f.y-b.ba.DB.y)?b.ba.DB=p:(b.dispatchEvent(a(c,ma(new M("onclick"),c))),e-b.YG<b.map.M.gC&&b.dispatchEvent(a(c, ma(new M("ondblclick"),c))),b.YG=e)}),G()||x.K(this.V,"click",function(c){for(var e=c.srcElement||c.target;e;){if(e===b.V){(!(b instanceof T)||b instanceof T&&(!b.HA||b.HA&&b.ha().lb(b.HA)))&&b.dispatchEvent(a(c,ma(new M("onclick"),c)));break}else if(b.map&&b.map.La&&e===b.map.La.xc)break;e=e.parentNode}}),x.K(this.V,"dblclick",function(c){b.dispatchEvent(a(c,ma(new M("ondblclick"),c)));oa(c)}),(!x.ea.rg||4>x.ea.rg)&&x.K(this.V,"contextmenu",function(c){b.dispatchEvent(a(c,ma(new M("onrightclick"), c)))}));x.K(this.V,"mousedown",function(c){if(b instanceof T)b.HA=b.ha();b.dispatchEvent(a(c,ma(new M("onmousedown"),c)))});x.K(this.V,"mouseup",function(c){b.dispatchEvent(a(c,ma(new M("onmouseup"),c)));x.ea.rg>=4&&(c.button===2&&b.z.ff)&&b.dispatchEvent(a(c,ma(new M("onrightclick"),c)))})}},U:function(){this.Pa!==q&&(this.Pa=q,ic.prototype.U.call(this),this.xb&&(this.xb.$a&&this.xb.$a===this)&&this.Xc())},show:function(){this.Pa!==o&&(this.Pa=o,ic.prototype.show.call(this))},CN:function(a){if(a)for(var b in a)typeof this.z[b]=== typeof a[b]&&(this.z[b]=a[b])},St:function(a){this.zIndex=a;this.Ml()},Ml:function(){var a;Fb(this.zIndex)?a=this.zIndex:(a=0,this.map&&this.ha()&&(a=this.ha()?this.ha().lat:0,a=ic.ym(a)+(this.z.NJ||0)));this.V&&(this.V.style.zIndex=a)},uo:function(a){this.hg=a;this.map&&a.pa(this.map,this)},zp:function(){this.hg.remove();this.hg=p}});S(Ne,{show:Ne.show,hide:Ne.U,addContextMenu:Ne.uo,removeContextMenu:Ne.zp});T.Fu=ic.ym(-90)+1E6;T.eG=T.Fu+1E6;T.BR=function(a){if(T.Xu[a])return T.Xu[a];var b=T.Xu[a]=["BMap_"+Math.round(1E4*Math.random()),"BMap_"+Math.round(1E4*Math.random())],c=Bc[a],d=T.kU;d||(d=T.kU=K("style",{type:"text/css"}),document.getElementsByTagName("head")[0].appendChild(d));d.textContent+=T.mH(c.Bm,b[0])+T.mH(c.Tt,b[1]);return T.Xu[a]}; T.mH=function(a,b){var c=["@-webkit-keyframes "+b+" {\\\\n"];x.jc.Db(a,function(a){c.push(100*a.Zb,"% { ");c.push("-webkit-transform: translate(",a.translate[0],"px,",a.translate[1],"px); ");c.push("-webkit-animation-timing-function: ",a.gc,"; ");c.push("}\\\\n")});c.push("}\\\\n");return c.join("")}; T.GP=function(a,b){if(!T.Kh&&(T.Kh=K("img",{src:F.oa+"drag_cross.png",width:13,height:9}),T.Kh.style.position="absolute",6==x.ea.la)){delete T.Kh;var c=(T.Kh=K("div")).style;c.position="absolute";c.width="13px";c.height="9px";c.filter=\'progid:DXImageTransform.Microsoft.AlphaImageLoader(sizingMethod=image,src="\'+F.oa+\'drag_cross.png")\'}c=T.Kh.style;c.left=a.width-6+"px";c.top=a.height-5+"px";b.appendChild(T.Kh)};T.vT=function(){T.Kh&&T.Kh.parentNode&&T.Kh.parentNode.removeChild(T.Kh)};T.Xu=[]; T.FG=function(){this.style.WebkitAnimation=""}; x.extend(T.prototype,{initialize:function(a){this.br();fb.prototype.initialize.call(this,a);this.Pa||x.D.U(this.zc);this.ra(this.point);this.Tb(this.z.vj);this.xy(this.z.Nk);this.Lp(this.z.rotation);this.z.label&&this.Ru&&this.z.label.addEventListener("remove",this.Ru);this.fn(this.z.label);this.Bc(this.z.title);t
_jsload2&&_jsload2('draw', 'function gg(){}var hg=gg.prototype;hg.pF=s();hg.wo=function(){aa("addLine\\u63a5\\u53e3\\u6ca1\\u6709\\u5b9e\\u73b0")};hg.setAttribute=function(){aa("setAttribute\\u63a5\\u53e3\\u6ca1\\u6709\\u5b9e\\u73b0")};hg.ge=function(){aa("setPath\\u63a5\\u53e3\\u6ca1\\u6709\\u5b9e\\u73b0")};hg.fp=t("Lb");z.Vy=gg; ');
_jsload2&&_jsload2('drawbysvg', 'function ig(a){this.C=a;this.qG="http://www.w3.org/2000/svg";this.lU={strokeweight:"stroke-width",strokecolor:"stroke",fillcolor:"fill",strokeopacity:"stroke-opacity",fillopacity:"fill-opacity",strokestyle:"stroke-dasharray"};this.cf=this.Lz();this.Lb="svg"}ig.prototype=new z.Vy;var jg=ig.prototype; jg.Lz=function(){var a=this.cf=K("svg",{},this.qG);a.setAttribute("version","1.1");a.setAttribute("type","system");a.style.position="absolute";this.pF();this.C.Qf().ot.appendChild(a);x.K(a,G()?"touchstart":"mousedown",Ab);return a}; jg.pF=function(){if(this.cf){var a=this.cf,b=this.C,c=b.M.Tw,d=b.width+2*c,e=b.height+2*c,f=-b.offsetX-c,b=-b.offsetY-c;this.setAttribute(a,"x",d+"px");this.setAttribute(a,"y",e+"px");this.setAttribute(a,"viewBox",f+" "+b+" "+d+" "+e);a=a.style;a.top=b+"px";a.left=f+"px";a.width=d+"px";a.height=e+"px"}};jg.p2=t("cf");jg.setAttribute=function(a,b,c,d){if(a)return"strokestyle"==b&&(c="solid"==c?0:2*d),a.setAttributeNS(p,this.Sq(b),c||"none"),a};jg.Sq=function(a){return this.lU[a]||a}; jg.wo=function(){var a=K("path",{},this.qG);this.setAttribute(a,"stroke-linejoin","round");this.setAttribute(a,"stroke-linecap","round");this.setAttribute(a,"fill-rule","evenodd");this.cf.appendChild(a);return a};jg.ge=function(a,b){var c=this.fA(b)||"M -9999,-9999";this.setAttribute(a,"d",c)};jg.fA=function(a){if(0==a.length)return"";var b=[];x.jc.Db(a,function(a){if(!(2>a.length)){b.push("M "+a[0].x+" "+a[0].y+" L");for(var d=1,e=a.length;d<e;d++)b.push(a[d].x),b.push(a[d].y)}});return b.join(" ")}; z.rP=ig; ');
_jsload2&&_jsload2('poly', 'function Zf(a,b){fb.call(this);this.point=a;this.type=b;this.z={}}x.lang.sa(Zf,fb,"Vertex"); x.extend(Zf.prototype,{initialize:function(a){this.map=a;var b="",b=this.type?"BMap_vectex BMap_vectex_nodeT":"BMap_vectex BMap_vectex_node",c=this.$G=this.V=document.createElement("div");c.className=b;a.Qf().FO.appendChild(c);this.tA();return c},draw:function(){var a=this.map.Re(this.point);this.$G.style.left=a.x-5+"px";this.$G.style.top=a.y-5+"px"},ra:function(a){a instanceof H&&(this.point=this.z.point=new H(a.lng,a.lat),this.draw())},ha:t("point"),tA:function(){function a(a,b){b.pixel=b.hb=a.hb; b.point=b.point=a.point;return b}function b(a){var b=a.clientX,c=a.clientY;a.changedTouches&&(b=a.changedTouches[0].clientX,c=a.changedTouches[0].clientY);return new Q(b,c)}if(this.V&&!this.V.Li){this.V.Li=o;var c=this.map,d=this,e=0,f=0,g=0,i={x:0,y:0};this.zs=function(a){oa(a);if(2!=a.button){d.ml=o;var i=c.fc(d.point),m=b(a);e=m.x-i.x;f=m.y-i.y;g=$a();d.map.R.Yu=d;x.K(document,"mousemove",d.kj);x.K(document,"mouseup",d.jj);x.K(document,"touchmove",d.kj);x.K(document,"touchend",d.jj);d.V&&d.V.setCapture&& d.V.setCapture();d.V.style.cursor=d.z.Dd;"touchstart"==a.type&&na(a)}};this.kj=function(g){if(d.ml){g=b(g);i=g=new Q(g.x-e,g.y-f);d.Sz=g;var l=d.map.zb(g),m={hb:g,point:l};d.zl=d.Al=0;if(20>=g.x||g.x>=d.map.width-20||50>=g.y||g.y>=d.map.height-10){if(20>=g.x?d.zl=8:g.x>=d.map.width-20&&(d.zl=-8),50>=g.y?d.Al=8:g.y>=d.map.height-10&&(d.Al=-8),!d.Ae)d.Ae=setInterval(function(){c.yg(d.zl,d.Al,{noAnimation:o});var a=c.zb(d.Sz);d.ra(a)},30)}else d.Ae&&(clearInterval(d.Ae),d.Ae=p),d.ra(l);d.el||(d.dispatchEvent(a(m, new M("ondragstart"))),d.el=o);d.dispatchEvent(a(m,new M("ondragging")))}};this.jj=function(){d.V&&d.V.releaseCapture&&d.V.releaseCapture();d.ml=q;d.map.R.Yu=p;x.cd(document,"mousemove",d.kj);x.cd(document,"mouseup",d.jj);x.cd(document,"touchmove",d.kj);x.cd(document,"touchend",d.jj);e=f=0;d.Ae&&(clearInterval(d.Ae),d.Ae=p);if(100<=$a()-g&&(2<i.x||2<i.y))d.el=q,d.dispatchEvent(a({hb:d.map.fc(d.ha()),point:d.ha()},new M("ondragend"))),i.x=i.y=0;d.Ml();d.V&&(d.V.style.cursor=d.z.ff?"pointer":"")};x.K(this.V, "mousedown",this.zs);x.K(this.V,"touchstart",this.zs)}}});x.extend(oc.prototype,{ZP:function(a){return this.repeat?this.aQ(a):this.$P(a)},aQ:function(a){var b=this.repeat,c=[],d,e,f;if(this.wI){d=Math.floor(1/this.repeat)+1;for(e=0;e<d;e++)c.push($f(a,1-b*e,o))}else{f=a.Wi[a.Wi.length-1];d=Math.floor(f/b)+1;for(e=0;e<d;e++)c.push($f(a,f-e*b,q))}return c},$P:function(a){return[$f(a,this.$j,this.vI)]},hide:function(){if(this.Vc&&0<this.Vc.length)for(var a=this.Vc.length-1;0<=a;a--)this.Vc[a].U()},show:function(){if(this.Vc&&0<this.Vc.length)for(var a=this.Vc.length- 1;0<=a;a--)this.Vc[a].show()}});function $f(a,b,c){var d=a.ia;if(c){if(0>=b)return{point:d[0],index:1};if(1<=b)return{point:d[d.length-1],index:d.length-1};c=a.CS*b;b=ag(c,a.Gl);a=(c-a.Gl[b-1])/(a.Gl[b]-a.Gl[b-1])}else{c=b;b=a.Wi[a.Wi.length-1];if(0>=c)return{point:d[0],index:1};if(c>=b)return{point:d[d.length-1],index:d.length-1};b=ag(c,a.Wi);a=(c-a.Wi[b-1])/(a.Wi[b]-a.Wi[b-1])}c=d[b-1];d=d[b];return{point:new H(c.lng+(d.lng-c.lng)*a,c.lat+(d.lat-c.lat)*a),index:b}} x.jc.indexOf=function(a,b,c){var d=a.length,c=c|0;for(0>c&&(c=Math.max(0,d+c));c<d;c++)if(c in a&&a[c]===b)return c;return-1};function ag(a,b){var c=cg(b.concat(a));return x.jc.indexOf(c,a)}function cg(a){if(2>a.length)return a;for(var b=Math.floor(a.length/2),c=a.slice(0,b),a=a.slice(b),c=cg(c),a=cg(a),b=[];0<c.length&&0<a.length;)c[0]>a[0]?b.push(a.shift()):b.push(c.shift());return b.concat(c).concat(a)};x.extend(kc.prototype,{initialize:function(a){a&&this.iv&&a.addEventListener("onmousemove",this.iv);a=fb.prototype.initialize.call(this,a);this.z.Nf===o&&(this.mk(),this.Rl());return a},Hj:function(){this.V=(this.Rn=dg.Os(this.map)).wo()},ba:function(){function a(a,b){var c=a.srcElement||a.target,g=Bb(),i=a.pageX?a.pageX:a.clientX+g[1],g=a.pageY?a.pageY:a.clientY+g[0];if(a&&b&&i&&g&&c){var c=x.lang.Mc(c.ca).map,k=x.D.ha(c.Ua);b.hb=new Q(i-k.left,g-k.top);b.point=c.zb(b.h