diff --git a/index.html b/index.html index eb9dd42..f67ef5a 100644 --- a/index.html +++ b/index.html @@ -9,8 +9,8 @@ type="text/javascript" src="<%= BASE_URL %>static/map_load.js" > - - +
diff --git a/public/static/map_load.js b/public/static/map_load.js index bb07b54..897e071 100644 --- a/public/static/map_load.js +++ b/public/static/map_load.js @@ -4,10 +4,10 @@ var bmapcfg = { 'imgext': '.jpg', //瓦片图的后缀 ------ 根据需要修改,一般是 .png .jpg //这里我直接用的路径是/static/bmap_offline_demo/tiles,如果瓦片数量较大,可改为瓦片服务的地址 - tiles_dir: "images", //普通瓦片图的地址,为空默认在 offlinemap/tiles/ 目 - tiles_path : 'http://111.229.30.246:4008/HeBeiDarkMap/', - tiles_hybrid: 'http://111.229.30.246:4008/HeBeiDarkMap/', //卫星瓦片图的地址,为空默认在 offlinemap/tiles_hybrid/ 目 - tiles_self : 'http://111.229.30.246:4008/HeBeiDarkMap/' //自定义图层的地址,为空默认在 offlinemap/tiles_self/ 目录 + tiles_dir: "map", //普通瓦片图的地址,为空默认在 offlinemap/tiles/ 目 + tiles_path : 'http://13.14.64.150:3638/', + tiles_hybrid: 'http://13.14.64.150:3638/', //卫星瓦片图的地址,为空默认在 offlinemap/tiles_hybrid/ 目 + tiles_self : 'http://13.14.64.150:3638/' //自定义图层的地址,为空默认在 offlinemap/tiles_self/ 目录 // tiles_path: "http://111.229.30.246:4008/HeBeiDarkMap/", // tiles_hybrid: "http://111.229.30.246:4008/HeBeiDarkMap/", //卫星瓦片图的地址,为空默认在 offlinemap/tiles_hybrid/ 目 // tiles_self: "http://111.229.30.246:4008/HeBeiDarkMap/", //自定义图层的地址,为空默认在 offlinemap/tiles_self/ 目录 diff --git a/public/static/modules.rar b/public/static/modules.rar new file mode 100644 index 0000000..811b4f8 Binary files /dev/null and b/public/static/modules.rar differ diff --git a/public/static/modules/autocomplete_punr3o.js b/public/static/modules/autocomplete_punr3o.js new file mode 100644 index 0000000..54f2ae5 --- /dev/null +++ b/public/static/modules/autocomplete_punr3o.js @@ -0,0 +1 @@ +_jsload2&&_jsload2('autocomplete', 'z.lang.Ca.prototype.ci=ha(0,function(){delete window[z.aa]._instances[this.aa];for(var a in this)z.lang.wt(this[a])||delete this[a]});z.D.getComputedStyle=function(a,b){var a=z.D.Oj(a),c=z.D.QD(a);return c.defaultView&&c.defaultView.getComputedStyle&&(c=c.defaultView.getComputedStyle(a,s))?c[b]||c.getPropertyValue(b):""};z.D.remove=function(a){var a=z.D.Oj(a),b=a.parentNode;b&&b.removeChild(a)};z.lang.isArray=function(a){return"[object Array]"==Object.prototype.toString.call(a)}; z.event=z.event||{};z.event.stopPropagation=function(a){a.stopPropagation?a.stopPropagation():a.cancelBubble=q};z.event.preventDefault=function(a){a.preventDefault?a.preventDefault():a.returnValue=t};z.event.stop=function(a){var b=z.event;b.stopPropagation(a);b.preventDefault(a)};z.mc.indexOf=function(a,b,c){var e=a.length,c=c|0;for(0>c&&(c=Math.max(0,e+c));c",G5:"
#{2}
", s0:\'
\\u5173\\u95ed
\',r0:\'#{0}
\',u0:\'#{1}\',iY:function(){return z.Wo(this.t0, this.Xb(),this.Us(),this.aa)},va:function(a,b){var c,a=z.$(a);this.gC=b;!this.hi()&&a&&(this.d0=a.id?a.id:a.id=this.Xb("input"),c=this.YZ(),c.style.display="none",c.innerHTML=this.iY(),this.dispatchEvent("onload"))},SA:function(){var a=this.hi();return a&&"none"!=a.style.display},wj:function(a){var b=this.km,a={data:{item:(b&&"number"==typeof a&&"undefined"!=typeof b[a]?b[a].value:a)==a?{value:a,content:a}:b[a],index:a}};this.dispatchEvent("onbeforepick",a)&&this.dispatchEvent("onpick",a)},show:function(a, b,c){var a=0,e=b.length;this.tk=[];this.Zc=-1;if(0==e&&!c)this.U();else{for(this.km=[];ae.width&&(e.width=0)),b.height))e.height=parseFloat(b.height)-c(a,"paddingTop")-c(a,"paddingBottom")-c(a,"borderTopWidth")-c(a,"borderBottomWidth"),0>e.height&&(e.height=0);return z.D.ti(a,e)}; (function(){var a=z.Ob.Zl.HK=u();a.hz=t;a.dq;a.xG;a.yG;a.CP=function(){if(this.dq)this.DP(),z.Md(this.dq,"display","block");else{var a=this.nW||{},c=this.xG=a.Wa||this.hi(),e=a.opacity||"0",a=a.color||"",f=this.dq=document.createElement("iframe"),g=this.yG=document.createElement("div");0n+m?-p-(e.width||0):0;i.top+=i.topo+k?-v-(e.height||0):0;break;case "fix":i.left=Math.max(0-parseFloat(z.D.oj(b,"marginLeft"))||0,Math.min(i.left,z.page.jE()-p-x.left));i.top=Math.max(0-parseFloat(z.D.oj(b,"marginTop"))||0,Math.min(i.top,z.page.iE()- v-x.top));break;case "verge":var y=-1m-x.left?E-p:y;i.top+=i.top+A+v-o>k-x.top?C-v:A}z.D.sa(b,i);!g&&(k!=z.page.iE()||m!=z.page.jE())&&this._positionByCoordinate(b,e,{},q);g||this.dispatchEvent("onpositionupdate")}; b.gQ=function(a,b,f){("undefined"==typeof b||!b)&&z.event.M(z.D.uY(a),"resize",z.nm.bind.apply(this,["_positionByCoordinate",this].concat([].slice.call(f))));this._positionByCoordinate.apply(this,f)}})(); z.Ob.Bi.extend({PZ:q,lX:q,vY:function(){var a=this;return function(){a.Fw(q)}},Fw:function(a){var b=this.ym(),c=this.gC,e=this.hi();if(this.SA()||!a)c&&(b=c),a=z.D.ga(b),b={top:a.top+b.offsetHeight-1,left:a.left,width:b.offsetWidth},b="function"==typeof this.view?this.view(b):b,this.sa([b.left,b.top],s,{BZ:q}),z.D.E_(e,b.width)}}); z.Ob.Bi.Ye(function(a){a.T0=a.vY();a.addEventListener("onload",function(){a.Fw();a.lX&&(a.mX=setInterval(function(){var b=a.hi(),c=a.ym();0!=b.offsetWidth&&(c&&c.offsetWidth!=b.offsetWidth)&&(a.Fw(),b.style.display="block")},100));a.M(window,"resize",a.T0)});a.addEventListener("onshow",function(){a.Fw()});a.addEventListener("ondispose",function(){clearInterval(a.mX)})}); z.Ob.Bi.Ye(function(a){function b(){setTimeout(function(){var b=a.ym();f=b===s?"":b.value},20)}var c,e="",f,g,i=t,k=t;a.addEventListener("onload",function(){c=this.ym();b();a.M(window,"onload",b);a.e0=a.mY();a.M(c,"keydown",a.e0);c.setAttribute("autocomplete","off");a.$V=setInterval(function(){if(!k){z.$(c)==s&&a.ci();var b=c.value;b==e&&""!=b&&b!=f&&b!=g?0==a.vF&&(a.vF=setTimeout(function(){a.dispatchEvent("onneeddata",b)},100)):(clearTimeout(a.vF),a.vF=0,""==b&&""!=e&&(g="",a.U()),e=b,b!=g&&(a.ix= b),f!=c.value&&(f=""))}},10);a.M(c,"beforedeactivate",a.EV)});a.addEventListener("onitemclick",function(){k=t;a.ix=e=a.dE()});a.addEventListener("onpick",function(a){i&&c.blur();c.value=g=a.data.item.value;i&&c.focus()});a.addEventListener("onmousedownitem",function(){k=i=q;setTimeout(function(){i=k=t},500)});a.addEventListener("ondispose",function(){clearInterval(a.$V)})}); z.Ob.Bi.extend({EV:function(){return function(){mousedownView&&(window.event.cancelBubble=q,window.event.returnValue=t)}},mY:function(){var a=this;return function(b){var c=t,b=b||window.event;switch(b.keyCode){case 9:case 27:a.U();break;case 13:z.event.stop(b);a.confirm(-1==a.Zc?a.ym().value:a.tk[a.Zc],"keyboard");break;case 38:c=q;case 40:z.event.stop(b);b=c;if(a.SA()){var c=a.tk,e=a.Zc;if(0!=c.length){if(b)switch(e){case -1:e=c.length-1;a.wj(c[e]);a.jt(c[e]);break;case 0:e=-1;a.wj(a.ix);a.rC(); break;default:e--,a.wj(c[e]),a.jt(c[e])}else switch(e){case -1:e=0;a.wj(c[e]);a.jt(c[e]);break;case c.length-1:e=-1;a.wj(a.ix);a.rC();break;default:e++,a.wj(c[e]),a.jt(c[e])}a.Zc=e}}else a.dispatchEvent("onneeddata",a.dE());break;default:a.Zc=-1}}},ix:""});ia.K5=q;var ei=t,fi=B.Wc+"res/20/bmap_autocomplete.css",gi={ALL:"0",CITY:"1"}; z.extend(Zd.prototype,{Sd:function(){this.Mi()},Mi:function(){this.ml=-1;this.Ia=s;this.lw=[];this.mH=0;this.ha=this.ov();this.ub.input&&(this.NS(),this.lU(),this.Ly(this.lI));var a=s;this.Wi&&(a={method:"search"},a.arguments=[this.Wi]);this.cI();this.KH(a)},lU:function(){var a=this,b=new z.Ob.Bi({getData:function(b){a.iJ(b)},onhide:function(){a.ml=-1;""===a.pg.dE()&&(a.Wi="",a.ha=a.ov())},onhighlight:function(b){if(a.Ia){var e={},f={},f={index:b.data.index,value:a.Ia.Lm[b.data.index].value},e={index:a.ml, value:0<=a.ml?a.Ia.Lm[a.ml].value:{}},g=new P("onhighlight");g.fromitem=g.d3=e;g.toitem=g.D5=f;a.dispatchEvent(g);a.ml=b.data.index}},onbeforepick:function(b){if(a.Ia&&"number"===typeof b.data.index){var e=a.Ia.Lm[b.data.index].value;b.data.item.content=b.data.item.value=e.province+e.city+e.district+e.street+e.business}},onconfirm:function(b){if(a.Ia){Ra(5012);var e={};"number"===typeof b.data.index&&(e={index:b.data.index,value:a.Ia.Lm[b.data.index].value},b=new P("onconfirm"),b.item=b.item=e,a.dispatchEvent(b))}}}); b.va(z.$(this.ub.input),z.$(this.ub.gC));this.pg=b},show:function(){this.pg&&(this.pg.hi().style.display="block")},U:function(){this.pg&&this.pg.U();this.ml=-1},ci:function(){this.pg&&this.pg.ci();z.lang.Ca.prototype.ci.call(this)},KF:function(a){this.ub.types=a||[];this.cI()},fn:function(a){this.Ad.src=a;this.KH()},search:function(a){this.iJ(a)},Ly:function(a){this.pg&&this.pg.wj(a)},iJ:function(a){var b=this,c=(1E5*Math.random()).toFixed(0);B._rd["_cbk"+c]=function(a){z.$(b.ub.input)!==s&&b.mS(a); delete B._rd["_cbk"+c]};var e=B.url.proto+B.url.domain.baidumap+"/su?wd="+encodeURIComponent(a)+"&callback=BMap._rd._cbk"+c+"&cid="+b.mH+"&type="+b.lw+"&t="+(new Date).getTime()+"&from=jsapi";b.Wi=a;b.ml=-1;b.ha=this.ov();Ra(5010,{tp:b.lw,wd:encodeURIComponent(a)});B.alog("cus.fire","count","z_sug");oa(e)},mS:function(a){a&&a.q&&(this.Wi=a.q);this.LU(this.$R(a));this.ha=this.ov(this.Ia);this.ub.py(this.ha)},$R:function(a){var b=[],c=a.s,e={};e.vb=a.q||"";e.count=a.s.length||0;e.status=0>a.e?7:0;e.Lm= [];var f=0,g=c.length;for(H()&&6a.data.length&&b.U()}},wS:function(a,b){switch(b.toString()){case "1":return this.xS(a);default:return this.yS(a)}},yS:function(a){var a=a.split("$"),b=this.Wi,c=RegExp(b,"g"),e=""+b+"",f={province:"",city:a[0],district:a[1],street:a[2],streetNumber:"",business:a[3]},g="";7<=a.length&& (f.city=a[5]||f.city,f.district=a[6]||f.city);for(var i=3;0<=i;i--)if(g=a[i]+g,-1\'+k+"");break}if(!k)for(i=3;0<=i;i--)k+=a[i];return{value:{value:f},lM:g}},xS:function(a){var b=a.split("$"),c=this.Wi,a={province:b[0],city:b[1],district:"",street:"",streetNumber:"",business:""},b=(b[0]+b[1]).replace(RegExp(c,"g"),""+c+"");return{value:{value:a},lM:b}},cI:function(){var a= this.ub.types,b=[];if(z.wg(a))b.push(gi[a.toUpperCase()]);else if(z.lang.isArray(a))for(var c=0,e=a.length;c
  "+f+"
\')}b="";this.xc.moreResultsUrl&&(b=b+"");a.innerHTML=c.join("")+b;this.j.la.Ma.appendChild(a);this.Fa(W.vG,a)}},gT:function(a,b,c){var e=this.j.la.map; e&&(a=ab.Be(a,q).point,this.pB?this.pB!=c&&(e.Fd(a,b),this.pB=c):(e.Fd(a,b),this.pB=c))},UU:function(a){if(this.xc)for(var b=0,c=this.xc.$s();b\'); c.push(\'\\u9996\\u672b\\u8f66\\u65f6\\u95f4\'+this.Gc.startTime+"-"+this.Gc.endTime+"");c.push(\'\\u6240\\u5c5e\\u516c\\u53f8\'+this.Gc.company+ "");c.push("");4==this.Gc.Pi?c.push(\'

\\u6cbf\\u7ebf\\u5730\\u94c1\\u7ad9:

\'):c.push(\'

\\u6cbf\\u7ebf\\u516c\\u4ea4\\u7ad9\\u70b9:

\');c.push(\'\');for(var e=0,f=this.Gc.cp();e");c.push("
\'+(e+1)+""+this.Gc.ux(e).name+"
");b.innerHTML=c.join("")}a=z.Fc("divResult"+this.aa);this.Fa(W.uG,a)}},YI:function(a){if(this.j.la.map&&this.Gc&&0"];i.push("
"+e+"
");i.push("");var v=new tc(i.join(""),{title:"",height:0,width:220,margin:[10,10,20,10]});v.addEventListener("open",function(){var b=z.Fc("aStop_"+a+"_"+f);b&&(b.style.backgroundColor="#cccccc")});v.addEventListener("close",function(){var b=z.Fc("aStop_"+a+"_"+f);b&&(b.style.backgroundColor="#ffffff")});i=c.j.la.map;i.K.tD?qe.tM(v,i.getCurrentCity().code,{panoInstance:i.P,lngLat:g.target.ga(), titleTip:e,type:"busline"},function(){b.pc(v)}):b.pc(v)})})(g,i,e);g.LB=i;this.Si.push(g)}this.Fa(W.bq,this.Si);this.j.la.Zg&&this.j.la.map.yh(b.Ue(),{margins:[5,5,5,5]})}},_selectBusStop:function(a,b){if(this.j.la.map&&this.Si&&0"];e.push("
"+c.LB+"
");e.push("");var f=new tc(e.join(""),{title:"",height:0,width:220,margin:[10,10,20,10]});f.addEventListener("open", function(){var c=z.Fc("aStop_"+a+"_"+b);c&&(c.style.backgroundColor="#cccccc")});f.addEventListener("close",function(){var c=z.Fc("aStop_"+a+"_"+b);c&&(c.style.backgroundColor="#ffffff")});e=this.j.la.map;e.K.tD?qe.tM(f,e.getCurrentCity().code,{panoInstance:e.P,lngLat:c.ga(),titleTip:c.LB,type:"busline"},function(){c.pc(f)}):c.pc(f)}}else{this.PN&&(this.PN.style.backgroundColor="#ffffff");if(e=z.Fc("aStop_"+a+"_"+b))e.style.backgroundColor="#cccccc";this.PN=e}},Hj:function(){this.j.la.map&&this.j.la.map.yK()}, Ta:function(a){"number"==typeof a?this.Me=a:delete this.Me}});function ai(a){this.keyword=a.vb||"";this.city=a.city;this.moreResultsUrl=a.ni;this.XA=a.WM&&a.WM.slice(0)||[];this.Dh=a.Dh}z.extend(ai.prototype,{MD:function(a){if(this.XA[a])return this.XA[a]},$s:function(){return this.XA.length}});var ci=ai.prototype;T(ci,{getNumBusList:ci.$s,getBusListItem:ci.MD});function bi(a){this.name=a.name||"";this.startTime=a.startTime||"";this.endTime=a.fX||"";this.company=a.gW||"";this.$j=a.OZ||{};this.NB=a.HO&&a.HO.slice(0)||[];this.Pi=a.Pi||2}z.extend(bi.prototype,{ux:function(a){if(this.NB[a])return this.NB[a]},cp:function(){return this.NB.length},fp:w("$j"),Ue:function(){if(this.$j.Ue())return this.$j.Ue()}});var di=bi.prototype;T(di,{getNumBusStations:di.cp,getBusStation:di.ux,getPath:di.Ue,getPolyline:di.fp}); '); \ No newline at end of file diff --git a/public/static/modules/canvablepath_dia5aw.js b/public/static/modules/canvablepath_dia5aw.js new file mode 100644 index 0000000..10574a5 --- /dev/null +++ b/public/static/modules/canvablepath_dia5aw.js @@ -0,0 +1 @@ +_jsload2&&_jsload2('canvablepath', 'function og(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=og.jW(a);a=og.trim(a);this.RP=new function(a){this.ZF= a.split(" ");this.reset=function(){this.ih=-1;this.Rt=this.Ww="";this.start=new og.cg(0,0);this.Xw=new og.cg(0,0);this.kb=new og.cg(0,0);this.ja=[];this.Do=[]};this.vM=function(){return this.ih>=this.ZF.length-1};this.sj=function(){return this.vM()?q:this.ZF[this.ih+1].match(/^[A-Za-z]$/)!=s};this.CE=function(){switch(this.Ww){case "m":case "l":case "h":case "v":case "c":case "s":case "q":case "t":case "a":case "z":return q}return t};this.$L=function(){this.ih++;return this.ZF[this.ih]};this.mj=function(){return parseFloat(this.$L())}; this.yZ=function(){this.Rt=this.Ww;this.Ww=this.$L()};this.vm=function(){return this.kZ(new og.cg(this.mj(),this.mj()))};this.JD=function(){var a=this.vm();return this.Xw=a};this.vk=function(){var a=this.vm();return this.kb=a};this.SL=function(){return"c"!=this.Rt.toLowerCase()&&"s"!=this.Rt.toLowerCase()&&"q"!=this.Rt.toLowerCase()&&"t"!=this.Rt.toLowerCase()?this.kb:new og.cg(2*this.kb.x-this.Xw.x,2*this.kb.y-this.Xw.y)};this.kZ=function(a){this.CE()&&(a.x+=this.kb.x,a.y+=this.kb.y);return a};this.Xi= function(a,b,f){f!=s&&(0=y(v,x)&&(p=Math.PI);1<=y(v,x)&&(p=0);v=1-k?1:-1;x=o+v*(p/2);c.$B(new og.cg(i.x+m*Math.cos(x),i.y+n*Math.sin(x)),x-v*Math.PI/2);c.$B(f,x-v*Math.PI);e.qg(f.x,f.y);a!=s&&(y=m>n?m:n,f=m>n?1:m/n,m=m>n?n/m:1,a.translate(i.x,i.y),a.rotate(g),a.scale(f,m),a.arc(0,0,y,o,o+p,1-k),a.scale(1/f,1/m),a.rotate(-g),a.translate(-i.x,-i.y))}break;case "Z":case "z":a!=s&&a.closePath(),c.kb=c.start}return e}} og.trim=function(a){return a.replace(/^\\s+|\\s+$/g,"")};og.jW=function(a){return a.replace(/[\\s\\r\\t\\n]+/gm," ")};og.cg=function(a,b){this.x=a;this.y=b}; og.xP=function(){this.Cn=this.Bn=this.Aj=this.zj=Number.NaN;this.x=w("zj");this.y=w("Aj");this.width=function(){return this.Bn-this.zj};this.height=function(){return this.Cn-this.Aj};this.qg=function(a,b){if(a!=s){if(isNaN(this.zj)||isNaN(this.Bn))this.Bn=this.zj=a;athis.Bn&&(this.Bn=a)}if(b!=s){if(isNaN(this.Aj)||isNaN(this.Cn))this.Cn=this.Aj=b;bthis.Cn&&(this.Cn=b)}};this.dC=function(a){this.qg(a,s)};this.eC=function(a){this.qg(s,a)};this.XJ=function(a, b,c,e,f,g){c=a+2/3*(c-a);e=b+2/3*(e-b);this.ZB(a,b,c,c+1/3*(f-a),e,e+1/3*(g-b),f,g)};this.ZB=function(a,b,c,e,f,g,i,k){var m=[a,b],n=[c,e],o=[f,g],p=[i,k];this.qg(m[0],m[1]);this.qg(p[0],p[1]);for(pg=0;1>=pg;pg++)if(a=function(a){return Math.pow(1-a,3)*m[pg]+3*Math.pow(1-a,2)*a*n[pg]+3*(1-a)*Math.pow(a,2)*o[pg]+Math.pow(a,3)*p[pg]},b=6*m[pg]-12*n[pg]+6*o[pg],c=-3*m[pg]+9*n[pg]-9*o[pg]+3*p[pg],e=3*n[pg]-3*m[pg],0==c)0!=b&&(b=-e/b,0b&&(0==pg&&this.dC(a(b)),1==pg&&this.eC(a(b))));else if(e=Math.pow(b, 2)-4*e*c,!(0>e)&&(f=(-b+Math.sqrt(e))/(2*c),0f&&(0==pg&&this.dC(a(f)),1==pg&&this.eC(a(f))),b=(-b-Math.sqrt(e))/(2*c),0b))0==pg&&this.dC(a(b)),1==pg&&this.eC(a(b))};this.qg(l,l);this.qg(l,l)};B.yP=og; '); \ No newline at end of file diff --git a/public/static/modules/citylistcontrol_ms3ahy.js b/public/static/modules/citylistcontrol_ms3ahy.js new file mode 100644 index 0000000..493fffd --- /dev/null +++ b/public/static/modules/citylistcontrol_ms3ahy.js @@ -0,0 +1 @@ +_jsload2&&_jsload2('citylistcontrol', 'z.object.extend(ac.prototype,{zf:function(){this.B&&this.He(this.B)},initialize:function(a){var b=this;if(this.TV&&!this.RQ(a))return s;Vb.prototype.initialize.call(this,a);Vb.prototype.Aa.call(this);this.ML(function(){b.ib();Vb.prototype.Nr.call(b);b.ba(a)});return this.C},ib:function(){var a=this.Hq=L("div",{"class":"ui_city_change"}),b=this.j.anchor,c="",e=t;switch(b){case Wb:c="float: left";break;case Xb:c="float: right";break;case Yb:c="float: left";e=q;break;case 3:c="float: right",e=q}a.innerHTML= \'\'+this.B.$g+"";a.style.position="relative";a.style.height="26px";e||(z.D.Ua(a,"ui_city_change_top"),this.C.appendChild(a));c=this.Gj=L("div",{"class":"citylist_popup_main"});Ab(c,\'
\\u57ce\\u5e02\\u5217\\u8868
\');var f=L("div",{"class":"citylist_ctr_content"}),g=L("div",{"class":"city_content_top"}); g.innerHTML=\'

\\u5f53\\u524d\\u57ce\\u5e02\\uff1a\'+this.B.$g+"";Ab(g,\'

\\u641c\\u7d22
\'); f.appendChild(g);g=L("div",{"class":"city_content_medium"});Ab(g,\'
\'+this.gS()+"
"+(\'
\'+this.fS()+"
"));f.appendChild(g);g=L("div",{"class":"city_content_bottom",id:"city_detail_tpl"});g.innerHTML=this.eS();f.appendChild(g);c.appendChild(f);f=this.Bf=L("button",{id:"popup_close"});c.appendChild(f);this.j.expand?this.Tp(q):this.Tp(t);if(b==Xb||3==b)c.style.left="-2px";this.C.appendChild(c); e&&(z.D.Ua(a,"ui_city_change_bottom"),this.C.appendChild(a));z.D.Ua(this.C,"BMap_CityListCtrl")},RQ:function(a){return a.width&&400=e.Qg.scrollTop&&(e.Qg.scrollTop=0)):(e.Qg.scrollTop+=60,e.Qg.scrollTop>=b&&(e.Qg.scrollTop=b))}function b(){e.YU()}function c(a,b){var a= a||window.event,c=(a.target||a.srcElement).getAttribute("name");ma(a);var g=q;switch(b){case "cityHotIds":for(var i=0;ia.length?(a=a.replace(/(\\s)/g,"").replace(//g,">"),e.mC(a,q)):z.$("selCityTip").style.display="block"});z.M(e.Gj,"click",function(){z.$("selCityTip").style.display="none"})}},gS:function(){for(var a="\\u5168\\u56fd \\u5317\\u4eac \\u4e0a\\u6d77 \\u5e7f\\u5dde \\u6df1\\u5733 \\u6210\\u90fd \\u5929\\u6d25 \\u5357\\u4eac \\u6b66\\u6c49 \\u676d\\u5dde \\u91cd\\u5e86".split(" "), b="",c="",e=0;e\'+a[e]+"",c="";return b},fS:function(){for(var a="A F G H J L N Q S T X Y Z \\u5176\\u4ed6".split(" "),b="",c="",e=0;e\'+a[e]+"";return b},eS:function(){var a={A:{"\\u5b89\\u5fbd":"\\u5408\\u80a5 \\u5b89\\u5e86 \\u868c\\u57e0 \\u4eb3\\u5dde \\u5de2\\u6e56 \\u6c60\\u5dde \\u6ec1\\u5dde \\u961c\\u9633 \\u6dee\\u5317 \\u9ec4\\u5c71 \\u516d\\u5b89 \\u9a6c\\u978d\\u5c71 \\u5bbf\\u5dde \\u94dc\\u9675 \\u829c\\u6e56 \\u5ba3\\u57ce".split(" ")}, F:{"\\u798f\\u5efa":"\\u798f\\u5dde \\u9f99\\u5ca9 \\u5357\\u5e73 \\u5b81\\u5fb7 \\u8386\\u7530 \\u6cc9\\u5dde \\u4e09\\u660e \\u53a6\\u95e8 \\u6f33\\u5dde".split(" ")},G:{"\\u5e7f\\u4e1c":"\\u5e7f\\u5dde \\u6f6e\\u5dde \\u4e1c\\u839e \\u4f5b\\u5c71 \\u6cb3\\u6e90 \\u60e0\\u5dde \\u6c5f\\u95e8 \\u63ed\\u9633 \\u8302\\u540d \\u6885\\u5dde \\u6e05\\u8fdc \\u6c55\\u5934 \\u6c55\\u5c3e \\u97f6\\u5173 \\u6df1\\u5733 \\u9633\\u6c5f \\u4e91\\u6d6e \\u6e5b\\u6c5f \\u8087\\u5e86 \\u4e2d\\u5c71 \\u73e0\\u6d77".split(" "),"\\u5e7f\\u897f":"\\u5357\\u5b81 \\u767e\\u8272 \\u5317\\u6d77 \\u5d07\\u5de6 \\u9632\\u57ce\\u6e2f \\u6842\\u6797 \\u8d35\\u6e2f \\u6cb3\\u6c60 \\u8d3a\\u5dde \\u6765\\u5bbe \\u67f3\\u5dde \\u94a6\\u5dde \\u68a7\\u5dde \\u7389\\u6797".split(" "), "\\u8d35\\u5dde":"\\u8d35\\u9633 \\u5b89\\u987a \\u6bd5\\u8282\\u5730\\u533a \\u516d\\u76d8\\u6c34 \\u94dc\\u4ec1\\u5730\\u533a \\u9075\\u4e49 \\u9ed4\\u897f\\u5357\\u5dde \\u9ed4\\u4e1c\\u5357\\u5dde \\u9ed4\\u5357\\u5dde".split(" "),"\\u7518\\u8083":"\\u5170\\u5dde \\u767d\\u94f6 \\u5b9a\\u897f \\u7518\\u5357\\u5dde \\u5609\\u5cea\\u5173 \\u91d1\\u660c \\u9152\\u6cc9 \\u4e34\\u590f\\u5dde \\u9647\\u5357 \\u5e73\\u51c9 \\u5e86\\u9633 \\u5929\\u6c34 \\u6b66\\u5a01 \\u5f20\\u6396".split(" ")},H:{"\\u6d77\\u5357":"\\u6d77\\u53e3 \\u767d\\u6c99\\u9ece\\u65cf\\u81ea\\u6cbb\\u53bf \\u4fdd\\u4ead\\u9ece\\u65cf\\u82d7\\u65cf\\u81ea\\u6cbb\\u53bf \\u660c\\u6c5f\\u9ece\\u65cf\\u81ea\\u6cbb\\u53bf \\u510b\\u5dde \\u6f84\\u8fc8 \\u4e1c\\u65b9 \\u5b9a\\u5b89 \\u743c\\u6d77 \\u743c\\u4e2d\\u9ece\\u65cf\\u82d7\\u65cf\\u81ea\\u6cbb\\u53bf \\u4e50\\u4e1c\\u9ece\\u65cf\\u81ea\\u6cbb\\u53bf \\u4e34\\u9ad8 \\u9675\\u6c34\\u9ece\\u65cf\\u81ea\\u6cbb\\u53bf \\u4e09\\u4e9a \\u5c6f\\u660c \\u4e07\\u5b81 \\u6587\\u660c \\u4e94\\u6307\\u5c71".split(" "), "\\u6cb3\\u5357":"\\u90d1\\u5dde \\u5b89\\u9633 \\u9e64\\u58c1 \\u7126\\u4f5c \\u5f00\\u5c01 \\u6d1b\\u9633 \\u6f2f\\u6cb3 \\u5357\\u9633 \\u5e73\\u9876\\u5c71 \\u6fee\\u9633 \\u4e09\\u95e8\\u5ce1 \\u5546\\u4e18 \\u65b0\\u4e61 \\u4fe1\\u9633 \\u8bb8\\u660c \\u5468\\u53e3 \\u9a7b\\u9a6c\\u5e97".split(" "),"\\u9ed1\\u9f99\\u6c5f":"\\u54c8\\u5c14\\u6ee8 \\u5927\\u5e86 \\u5927\\u5174\\u5b89\\u5cad\\u5730\\u533a \\u9e64\\u5c97 \\u9ed1\\u6cb3 \\u9e21\\u897f \\u4f73\\u6728\\u65af \\u7261\\u4e39\\u6c5f \\u4e03\\u53f0\\u6cb3 \\u9f50\\u9f50\\u54c8\\u5c14 \\u53cc\\u9e2d\\u5c71 \\u7ee5\\u5316 \\u4f0a\\u6625".split(" "), "\\u6e56\\u5317":"\\u6b66\\u6c49 \\u9102\\u5dde \\u6069\\u65bd \\u9ec4\\u5188 \\u9ec4\\u77f3 \\u8346\\u95e8 \\u8346\\u5dde \\u6f5c\\u6c5f \\u795e\\u519c\\u67b6\\u5730\\u533a \\u5341\\u5830 \\u968f\\u5dde \\u5929\\u95e8 \\u4ed9\\u6843 \\u54b8\\u5b81 \\u8944\\u9633 \\u5b5d\\u611f \\u5b9c\\u660c".split(" "),"\\u6e56\\u5357":"\\u957f\\u6c99 \\u5e38\\u5fb7 \\u90f4\\u5dde \\u8861\\u9633 \\u6000\\u5316 \\u5a04\\u5e95 \\u90b5\\u9633 \\u6e58\\u6f6d \\u6e58\\u897f\\u5dde \\u76ca\\u9633 \\u6c38\\u5dde \\u5cb3\\u9633 \\u5f20\\u5bb6\\u754c \\u682a\\u6d32".split(" "),"\\u6cb3\\u5317":"\\u77f3\\u5bb6\\u5e84 \\u4fdd\\u5b9a \\u6ca7\\u5dde \\u627f\\u5fb7 \\u90af\\u90f8 \\u8861\\u6c34 \\u5eca\\u574a \\u79e6\\u7687\\u5c9b \\u5510\\u5c71 \\u90a2\\u53f0 \\u5f20\\u5bb6\\u53e3".split(" ")}, J:{"\\u6c5f\\u82cf":"\\u5357\\u4eac \\u5e38\\u5dde \\u6dee\\u5b89 \\u8fde\\u4e91\\u6e2f \\u5357\\u901a \\u82cf\\u5dde \\u5bbf\\u8fc1 \\u6cf0\\u5dde \\u65e0\\u9521 \\u5f90\\u5dde \\u76d0\\u57ce \\u626c\\u5dde \\u9547\\u6c5f".split(" "),"\\u6c5f\\u897f":"\\u5357\\u660c \\u629a\\u5dde \\u8d63\\u5dde \\u5409\\u5b89 \\u666f\\u5fb7\\u9547 \\u4e5d\\u6c5f \\u840d\\u4e61 \\u4e0a\\u9976 \\u65b0\\u4f59 \\u5b9c\\u6625 \\u9e70\\u6f6d".split(" "),"\\u5409\\u6797":"\\u957f\\u6625 \\u767d\\u57ce \\u767d\\u5c71 \\u5409\\u6797\\u5e02 \\u8fbd\\u6e90 \\u56db\\u5e73 \\u677e\\u539f \\u901a\\u5316 \\u5ef6\\u8fb9".split(" ")}, L:{"\\u8fbd\\u5b81":"\\u6c88\\u9633 \\u978d\\u5c71 \\u672c\\u6eaa \\u671d\\u9633 \\u5927\\u8fde \\u4e39\\u4e1c \\u629a\\u987a \\u961c\\u65b0 \\u846b\\u82a6\\u5c9b \\u9526\\u5dde \\u8fbd\\u9633 \\u76d8\\u9526 \\u94c1\\u5cad \\u8425\\u53e3".split(" ")},N:{"\\u5b81\\u590f":["\\u94f6\\u5ddd","\\u56fa\\u539f","\\u77f3\\u5634\\u5c71","\\u5434\\u5fe0","\\u4e2d\\u536b"],"\\u5185\\u8499\\u53e4":"\\u547c\\u548c\\u6d69\\u7279 \\u963f\\u62c9\\u5584\\u76df \\u5305\\u5934 \\u5df4\\u5f66\\u6dd6\\u5c14 \\u8d64\\u5cf0 \\u9102\\u5c14\\u591a\\u65af \\u547c\\u4f26\\u8d1d\\u5c14 \\u901a\\u8fbd \\u4e4c\\u6d77 \\u4e4c\\u5170\\u5bdf\\u5e03 \\u9521\\u6797\\u90ed\\u52d2\\u76df \\u5174\\u5b89\\u76df".split(" ")}, Q:{"\\u9752\\u6d77":"\\u897f\\u5b81 \\u679c\\u6d1b\\u5dde \\u6d77\\u4e1c\\u5730\\u533a \\u6d77\\u5317\\u5dde \\u6d77\\u5357\\u5dde \\u6d77\\u897f\\u5dde \\u9ec4\\u5357\\u5dde \\u7389\\u6811\\u5dde".split(" ")},S:{"\\u5c71\\u4e1c":"\\u6d4e\\u5357 \\u6ee8\\u5dde \\u4e1c\\u8425 \\u5fb7\\u5dde \\u83cf\\u6cfd \\u6d4e\\u5b81 \\u83b1\\u829c \\u804a\\u57ce \\u4e34\\u6c82 \\u9752\\u5c9b \\u65e5\\u7167 \\u6cf0\\u5b89 \\u5a01\\u6d77 \\u6f4d\\u574a \\u70df\\u53f0 \\u67a3\\u5e84 \\u6dc4\\u535a".split(" "),"\\u5c71\\u897f":"\\u592a\\u539f \\u957f\\u6cbb \\u5927\\u540c \\u664b\\u57ce \\u664b\\u4e2d \\u4e34\\u6c7e \\u5415\\u6881 \\u6714\\u5dde \\u5ffb\\u5dde \\u9633\\u6cc9 \\u8fd0\\u57ce".split(" "), "\\u9655\\u897f":"\\u897f\\u5b89 \\u5b89\\u5eb7 \\u5b9d\\u9e21 \\u6c49\\u4e2d \\u5546\\u6d1b \\u94dc\\u5ddd \\u6e2d\\u5357 \\u54b8\\u9633 \\u5ef6\\u5b89 \\u6986\\u6797".split(" "),"\\u56db\\u5ddd":"\\u6210\\u90fd \\u963f\\u575d\\u5dde \\u5df4\\u4e2d \\u8fbe\\u5dde \\u5fb7\\u9633 \\u7518\\u5b5c\\u5dde \\u5e7f\\u5b89 \\u5e7f\\u5143 \\u4e50\\u5c71 \\u51c9\\u5c71\\u5dde \\u6cf8\\u5dde \\u5357\\u5145 \\u7709\\u5c71 \\u7ef5\\u9633 \\u5185\\u6c5f \\u6500\\u679d\\u82b1 \\u9042\\u5b81 \\u96c5\\u5b89 \\u5b9c\\u5bbe \\u8d44\\u9633 \\u81ea\\u8d21".split(" ")},T:{"\\u53f0\\u6e7e":"\\u53f0\\u5317 \\u9ad8\\u96c4 \\u53f0\\u4e2d \\u53f0\\u5357 \\u65b0\\u5317 \\u57fa\\u9686 \\u65b0\\u7af9 \\u5609\\u4e49".split(" ")}, X:{"\\u897f\\u85cf":"\\u62c9\\u8428 \\u963f\\u91cc\\u5730\\u533a \\u660c\\u90fd\\u5730\\u533a \\u6797\\u829d\\u5730\\u533a \\u90a3\\u66f2\\u5730\\u533a \\u65e5\\u5580\\u5219\\u5730\\u533a \\u5c71\\u5357\\u5730\\u533a".split(" "),"\\u65b0\\u7586":"\\u4e4c\\u9c81\\u6728\\u9f50 \\u963f\\u62c9\\u5c14 \\u963f\\u514b\\u82cf\\u5730\\u533a \\u963f\\u52d2\\u6cf0\\u5730\\u533a \\u5df4\\u97f3\\u90ed\\u695e\\u8499\\u53e4\\u81ea\\u6cbb\\u5dde \\u535a\\u5c14\\u5854\\u62c9\\u5dde \\u660c\\u5409\\u5dde \\u54c8\\u5bc6\\u5730\\u533a \\u548c\\u7530\\u5730\\u533a \\u5580\\u4ec0\\u5730\\u533a \\u514b\\u62c9\\u739b\\u4f9d \\u514b\\u5b5c\\u52d2\\u82cf\\u5dde \\u77f3\\u6cb3\\u5b50 \\u5854\\u57ce\\u5730\\u533a \\u56fe\\u6728\\u8212\\u514b \\u5410\\u9c81\\u756a\\u5730\\u533a \\u4e94\\u5bb6\\u6e20 \\u4f0a\\u7281\\u5dde".split(" ")}, Y:{"\\u4e91\\u5357":"\\u6606\\u660e \\u4fdd\\u5c71 \\u695a\\u96c4\\u5dde \\u5927\\u7406\\u5dde \\u5fb7\\u5b8f\\u5dde \\u8fea\\u5e86\\u5dde \\u7ea2\\u6cb3\\u5dde \\u4e3d\\u6c5f \\u4e34\\u6ca7 \\u6012\\u6c5f\\u5dde \\u666e\\u6d31 \\u66f2\\u9756 \\u662d\\u901a \\u6587\\u5c71 \\u897f\\u53cc\\u7248\\u7eb3\\u50a3\\u65cf\\u81ea\\u6cbb\\u5dde \\u7389\\u6eaa".split(" ")},Z:{"\\u6d59\\u6c5f":"\\u676d\\u5dde \\u6e56\\u5dde \\u5609\\u5174 \\u91d1\\u534e \\u4e3d\\u6c34 \\u5b81\\u6ce2 \\u8862\\u5dde \\u7ecd\\u5174 \\u53f0\\u5dde \\u6e29\\u5dde \\u821f\\u5c71".split(" ")},"\\u5176\\u4ed6":["\\u9999\\u6e2f", "\\u6fb3\\u95e8"]},b=\'\',c;for(c in a){var e=t;if("\\u5176\\u4ed6"==c){b+=\'\';b+=\'";b+=\'"}else for(var f in a[c]){e?b+=\'\':(b+=\'",e=q);for(var b=b+(\'"),b=b+\'"}}return b+"
\'+c+"
\';for(e=0;e\'+a[c][e]+"";b+="
\'+c+"
\'+f+":
\',g=a[c][f],i=0;i\'+a[c][f][i]+"";b+="
"},Tp:function(a){this.Gj&&(a?this.Gj.style.display="block":this.Gj.style.display="none",a?this.C.style.width="400px":(this.C.style.width="auto",this.C.style.height="auto"));this.Hq&&(a?z.D.Ua(this.Hq,"ui_city_change_click"):z.D.Pb(this.Hq,"ui_city_change_click"))},mC:function(a,b){var c=this;if(c.C&&c.Hq){var e=z.$("cur_city_name"),f=z.$("cur_city_spn");rd.ab(function(a){var i=c.onChangeAfter||[],k=c.onChangeSuccess||[];setTimeout(function(){for(var a= 0;ac.length)){for(var a=[],e=c[0].data,b=b.oa().wm(),f=0,g=e.length;fa.spots.length||a.spots[0].tag!=this.ub.Fk)){this.Hg=a.spots;var b=this,a=this.Hg[0].getUserData().size[0],c="",e=b.B,f="",g=b.ub.eZ;0@,;:\\\\\\\\\\\\"\\\\[\\\\]\\\\?=\\\\{\\\\}\\\\/\\\\u0080-\\\\uffff]+$\').test(a)};z.cookie.cY=function(a){return z.cookie.oI(a)&&(a=RegExp("(^| )"+a+"=([^;]*)(;|$)").exec(document.cookie))?a[2]||s:s};z.cookie.get=function(a){a=z.cookie.cY(a);return"string"==typeof a?a=decodeURIComponent(a):s}; z.cookie.vO=function(a,b,c){if(z.cookie.oI(a)){var c=c||{},e=c.qx;"number"==typeof c.qx&&(e=new Date,e.setTime(e.getTime()+c.qx));document.cookie=a+"="+b+(c.path?"; path="+c.path:"")+(e?"; expires="+e.toGMTString():"")+(c.domain?"; domain="+c.domain:"")+(c.i5?"; secure":"")}};z.cookie.set=function(a,b,c){z.cookie.vO(a,encodeURIComponent(b),c)};z.cookie.remove=function(a,b){b=b||{};b.qx=new Date(0);z.cookie.vO(a,"",b)};z.xt=function(a){return/\\d{11}/.test(a)};z.TY=function(a){return/\\d{4}/.test(a)}; z.is=function(){function a(a){a=a.replace(/^#?([a-f\\d])([a-f\\d])([a-f\\d])$/i,function(a,b,c,e){return b+b+c+c+e+e});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)+")":s}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*,\\s*(\\d|\\d\\d|1\\d\\d|2[0-4]\\d|25[0-5])\\s*,\\s*(\\d|\\d\\d|1\\d\\d|2[0-4]\\d|25[0-5])\\s*\\)/,rgba:/rgba\\(\\s*(\\d|\\d\\d|1\\d\\d|2[0-4]\\d|25[0-5])\\s*,\\s*(\\d|\\d\\d|1\\d\\d|2[0-4]\\d|25[0-5])\\s*,\\s*(\\d|\\d\\d|1\\d\\d|2[0-4]\\d|25[0-5])\\s*,\\s*(0|1|0\\.[1-9])\\s*\\)/};return{cK:function(a){if(c.hex.test(a))return a;if(c.rgb.test(a))return a=a.match(c.rgb),"#"+("0"+parseInt(a[1],10).toString(16)).slice(-2)+("0"+parseInt(a[2],10).toString(16)).slice(-2)+ ("0"+parseInt(a[3],10).toString(16)).slice(-2);if(b[a])return b[a]},S3:a,x2:function(a){return c.hex.test(a)?a:b[a]?b[a]:"#000"},AC:function(e,f){f===l&&(f=1);if(c.rgba.test(e))return e;"undefined"!=typeof b[e.toLowerCase()]&&(e=b[e.toLowerCase()]);c.hex.test(e)&&(e=a(e));c.rgb.test(e)?(e=e.replace(/rgb/g,"rgba"),e=e.replace(/\\)/,","+f+")")):e="rgba(0,0,0,1)";return e}}}(); '); \ No newline at end of file diff --git a/public/static/modules/control_hlzh1t.js b/public/static/modules/control_hlzh1t.js new file mode 100644 index 0000000..1866e0d --- /dev/null +++ b/public/static/modules/control_hlzh1t.js @@ -0,0 +1 @@ +_jsload2&&_jsload2('control', 'function Zg(a){a&&(a.$n.style.border="1px solid "+B.iq.kq,a.Ch.style.backgroundColor=B.iq.kq,a.Ch.style.opacity="0.5",a.Ch.style.filter="Alpha(opacity=50);")}function $g(a){a&&(a.$n.style.border="1px solid "+B.iq.DG,a.Ch.style.backgroundColor=B.iq.DG,a.Ch.style.opacity="1",a.Ch.style.filter="")} z.object.extend(lb.prototype,{zf:function(){this.B&&this.He(this.B)},initialize:function(a){Vb.prototype.initialize.call(this,a);this.hr();this.Aa();this.ba();var b=this;this.B.Xx()?b.IA():this.B.addEventListener("load",function(){b.IA()});z.M(this.C,"click",ma);z.M(this.C,"dblclick",ma);z.M(this.C,"mousewheel",ma);z.M(this.C,"mouseup",function(a){a=window.event||a;2==a.button&&ma(a)});window.addEventListener&&this.C.addEventListener("DOMMouseScroll",function(a){ma(a)},q);return this.C},hr:function(){this.Li|| (this.Li=q,this.Aq=1,this.Cb=4,this.$a=s,this.Pn=this.Hf=this.Lh=-1,this.wv=this.sw=1,this.Ra={},this.Qn="",this.Nv=t)},MH:function(){if(this.B){var a=this.B.Oa-this.j.$0;return athis.Hf?this.Hf:a}},Aa:function(){Vb.prototype.Aa.call(this);var a=z.ca.ia!=t?" BMap_ie"+z.ca.ia:"",b=this.C;b.innerHTML=this.Uq();z.D.Ua(b,"BMap_omCtrl"+a);this.Kc=b.children[0].children[0];this.LI=this.Kc.children[0];this.nb=this.Kc.children[1];this.qr=this.nb.children[0];this.Ja=b.children[1];this.Ce(this.j.size); this.nb.style.cursor=G.Vb},Uq:ca(\'
\'),ba:function(){var a=this;z.M(this.Ja,"click",function(){a.se()});z.ca.ia&&z.M(this.Ja,"dblclick",function(){a.se()});if(!z.ca.ia||6=a.ba.im&&(a.ba.yl=3);0>=a.ba.jm&&(a.ba.zl=3);a.ba.im+a.nb.offsetWidth>=a.$a.width&&(a.ba.yl=-3);a.ba.jm+a.nb.offsetHeight>=a.$a.height&&(a.ba.zl=-3);a.nb.style.left=a.ba.im+"px";a.nb.style.top=a.ba.jm+"px";if((0!=a.ba.yl||0!=a.ba.zl)&&!a.ba.ut){a.ba.xI=q;var e=a.$a.offsetX+a.ba.yl,f=a.$a.offsetY+a.ba.zl;a.$a.Le(e,f);a.ba.ut=setInterval(function(){var b=a.ba.yl!=0?a.ba.yl>0?a.ba.ih=a.ba.ih+3:a.ba.ih=a.ba.ih-3:a.ba.ih,c=a.ba.zl!=0?a.ba.zl>0?a.ba.g=a.ba.g+3:a.ba.g= a.ba.g-3:a.ba.g;a.$a.Le(e+b,f+c)},30)}0==a.ba.yl&&0==a.ba.zl&&(clearInterval(a.ba.ut),delete a.ba.ut,a.ba.ih=0,a.ba.g=0);ma(b);return Cb(b)}});z.M(document,"mouseup",function(b){if(a.nb&&"true"==a.nb.Nq){a.nb.Nq="";a.qJ(G.Vb);a.nb.releaseCapture&&a.nb.releaseCapture();if(a.ba.c4==a.ba.im&&a.ba.d4==a.ba.jm)return ma(b),Cb(b);a.Qn="dragView";a.$a.K.pD=t;a.B.R.Jc=q;if(Hb(a.ba.im)&&Hb(a.ba.jm)){var c=a.ba.im+parseInt(a.nb.style.width)/2+1,e=a.ba.jm+parseInt(a.nb.style.height)/2+1;delete a.ba.im;delete a.ba.jm; var f=a.$a.xb({x:c,y:e},a.$a.Oa);a.B.R.Jc=t;a.ba.xI==q&&(clearInterval(a.ba.ut),delete a.ba.ut,a.ba.xI=t);a.B.R.Jc=q;setTimeout(function(){a.B.R.Jc=t;a.B.qi(f)},50);ma(b);return Cb(b)}}})},IA:function(){if(this.Nv!=q){var a=this,b=a.B;b.addEventListener("resize",function(){a.$a!=s&&a.$a.Zf(b.Ka());a.oe!=s&&(a.oe.sa(b.Ka()),a.Or());a.uc(a.j.anchor)});if(this.j.Xa!=t){this.Fi||(b.addEventListener("loadcode",function(){a.MI()}),b.addEventListener("moving",function(){a.BT()}),b.addEventListener("moveend", function(b){a.IT(b)}),b.addEventListener("zoomend",function(b){a.MI(b)}),b.addEventListener("maptypechange",function(){a.Or()}),this.Fi=q);var c=b.Ka();this.Lh=La.bp();this.Hf=La.sm();this.Pn=this.MH();this.$a=new Ka(this.LI,{Yx:q});this.$a.disableDoubleClickZoom();this.$a.Fd(c,this.Pn);this.oe=new pc({point:b.Ka(),ey:1,SM:"#6688cc"});this.$a.Ga(this.oe);this.oe.La().innerHTML=\'
\';this.iB=this.oe.La().children[0];c=this.oe.La().style; c.borderLeftColor="#84b0df";c.borderTopColor="#adcff4";c.borderRightColor="#274b8b";c.borderBottomColor="#274b8b";this.Or();this.$a.addEventListener("dragend",function(){a.Qn="dragMap";b.qi(a.$a.Ka())});this.$a.addEventListener("moveend",function(){a.JT()});this.$a.addEventListener("mousedown",function(b){a.Ra.B1=b.offsetX;a.Ra.C1=b.offsetY});this.$a.addEventListener("resize",function(){a.B&&a.$a&&a.$a.Zf(a.B.Ka());a.Or()});this.Nv=q}}},qJ:function(a){this.nb.style.cursor=a},uc:function(a){Vb.prototype.uc.call(this, a);if(this.B){if(z.ca.ia){var b=this.B.width,c=this.B.height,e=this.j.size.width,f=this.j.size.height,g=this.j.za.width,i=this.j.za.height;this.j.Xa==t&&(e=this.Cq,f=this.Bq);var k=this.C;switch(a){case Xb:k.style.right="auto";k.style.left=b-e-g+"px";break;case Yb:k.style.bottom="auto";k.style.top=c-f-i+"px";break;case 3:k.style.bottom="auto",k.style.right="auto",k.style.top=c-f-i+"px",k.style.left=b-e-g+"px"}}this.BU();this.wB()}},se:function(){this.se.mo=q;this.j.Xa=!this.j.Xa;if(this.C){var a= this.C,b=this.j.size.width,c=this.j.size.height,e=this.Cq,f=this.Bq,g=this;this.j.Xa?(this.Nv==t&&this.IA(),new tb({Ic:40,duration:120,kc:ub.eL,va:function(i){a.style.width=Math.ceil(b*i)+"px";a.style.height=Math.ceil(c*i)+"px";if(z.ca.ia&&(g.Ja.style.top=3==g.Cb||4==g.Cb?parseInt(a.style.height)-f+"px":"0",g.Ja.style.left=1==g.Cb||4==g.Cb?parseInt(a.style.width)-e+"px":"0",0<=g.j.anchor&&3>=g.j.anchor)){if(3==g.Cb||4==g.Cb)a.style.top=g.B.height-parseInt(a.style.height)-g.j.za.height+"px";if(1== g.Cb||4==g.Cb)a.style.left=g.B.width-parseInt(a.style.width)-g.j.za.width+"px"}g.dispatchEvent(new P("onviewchanging"))},finish:function(){if(0<=g.j.anchor&&3>=g.j.anchor&&z.ca.ia){if(3==g.Cb||4==g.Cb)a.style.top=g.B.height-c-g.j.za.height+"px";if(1==g.Cb||4==g.Cb)a.style.left=g.B.width-b-g.j.za.width+"px"}g.wB();g.jJ();z.D.Pb(g.Ja,"BMap_omBtnClosed");var e=new P("onviewchanged");e.isOpen=g.j.Xa;g.dispatchEvent(e);g.se.mo=t}})):(this.se.UT=this.Ja.style.top,this.se.TT=this.Ja.style.left,new tb({Ic:25, duration:120,kc:ub.hD,va:function(i){a.style.width=b-Math.ceil((b-e)*i)+"px";a.style.height=c-Math.ceil((c-f)*i)+"px";if(z.ca.ia&&(g.Ja.style.top=3==g.Cb||4==g.Cb?parseInt(a.style.height)-f+"px":"0",g.Ja.style.left=1==g.Cb||4==g.Cb?parseInt(a.style.width)-e+"px":"0",0<=g.j.anchor&&3>=g.j.anchor)){if(3==g.Cb||4==g.Cb)a.style.top=g.B.height-parseInt(a.style.height)-g.j.za.height+"px";if(1==g.Cb||4==g.Cb)a.style.left=g.B.width-parseInt(a.style.width)-g.j.za.width+"px"}g.dispatchEvent(new P("onviewchanging"))}, finish:function(){if(z.ca.ia&&(g.Ja.style.left="0",g.Ja.style.top="0",0<=g.j.anchor&&3>=g.j.anchor)){if(3==g.Cb||4==g.Cb)a.style.top=g.B.height-g.Bq-g.j.za.height+"px";if(1==g.Cb||4==g.Cb)a.style.left=g.B.width-g.Cq-g.j.za.width+"px"}g.wB();z.D.Ua(g.Ja,"BMap_omBtnClosed");var b=new P("onviewchanged");b.isOpen=g.j.Xa;g.dispatchEvent(b);g.se.mo=t}}))}else this.se.mo=t},Or:function(){if(this.B){var a=this.B.Oa,b=this.B.xb({x:0,y:0},a),a=this.B.xb({x:this.B.width,y:this.B.height},a),c=this.$a.xb({x:0, y:0},this.Pn),e=this.$a.xb({x:this.$a.width,y:this.$a.height},this.Pn);this.sw=(a.lng-b.lng)/(e.lng-c.lng);this.wv=(a.lat-b.lat)/(e.lat-c.lat);1<=this.sw||1<=this.wv?(this.nb.style.display="none",this.oe.U()):(b=parseInt(this.$a.height),a=Math.round(parseInt(this.$a.width)*this.sw),c=Math.round(b*this.wv),this.B.oa()==Qa&&(c=0.35*b),this.oe.show(),this.oe.u_(a,c),this.nb.style.display="");this.FB()}},FB:function(){if(this.oe&&this.oe.La())if(1<=this.sw||1<=this.wv)this.nb.style.display="none";else{var a= this.oe.La().style;this.nb.style.display="";this.nb.style.width=a.width;this.nb.style.height=a.height;var b=parseInt(a.width)-2,c=parseInt(a.height)-2;this.qr.style.width=(0>b?0:b)+"px";this.qr.style.height=(0>c?0:c)+"px";this.iB.style.width=this.qr.style.width;this.iB.style.height=this.qr.style.height;this.nb.style.left=parseInt(a.left)+this.$a.offsetX+"px";this.nb.style.top=parseInt(a.top)+this.$a.offsetY+"px"}},Ce:function(a){a instanceof O||(a=new O(150,150));var b=a.width,c=a.height,b=0
\'},Pk:function(a){this.j.color=a+"";if(this.C){this.C.children[0].style.backgroundColor="transparent";this.C.children[0].style.color=a;for(var b=1,c=this.C.children.length;b=b?this.Uh[this.j.fd].cP:this.Uh[this.j.fd].bP;e>=b&&(e=Math.round(e/b));this.nJ(e,c);0!=Math.round(a)%2&&6==z.ca.ia&&(a+=1);this.C.style.width=Math.round(a)+"px";this.B.Hb==Qa&&(this.C.style.width=3*Math.round(a)+"px",this.nJ(3*e,c))}}},dR:function(a,b){b=b||"metric"; return this.Uh[b]?a*this.Uh[b].CK:a}});T(vf,{setUnit:vf.LF});B.uz=[[-57,-179],[-45,-179]];B.uz.az=function(a){a=this[Number(a)];return a[0]+"px "+a[1]+"px"};var bh=new String(B.ka+"images/mapctrls2d0.gif");bh.az=function(a,b){return"transparent url("+this+") no-repeat "+("number"===typeof a?a+"px ":"")+("number"===typeof b?b+"px ":"")};B.GG={B_NORMAL_MAP:{zD:"B_SATELLITE_MAP",zF:"B_DIMENSIONAL_MAP",Qy:t},B_SATELLITE_MAP:{zD:"B_NORMAL_MAP",zF:"B_DIMENSIONAL_MAP",Qy:q},B_DIMENSIONAL_MAP:{zD:"B_NORMAL_MAP",zF:"B_SATELLITE_MAP",Qy:t}}; B.JP={B_DIMENSIONAL_MAP:Qa,B_SATELLITE_MAP:Ya,B_NORMAL_MAP:La};B.oz={B_DIMENSIONAL_MAP:{text:"\\u4e09\\u7ef4",title:"\\u663e\\u793a\\u4e09\\u7ef4\\u5730\\u56fe",file:bh,x:0,y:-131,right:"0px"},B_SATELLITE_MAP:{text:"\\u536b\\u661f",title:"\\u663e\\u793a\\u536b\\u661f\\u5730\\u56fe",file:bh,x:0,y:-177,right:"0px"},B_NORMAL_MAP:{text:"\\u5730\\u56fe",title:"\\u663e\\u793a\\u666e\\u901a\\u5730\\u56fe",file:bh,x:0,y:-221,right:"0px"}};B.BG=q; z.extend(mb.prototype,{zf:function(){this.B&&this.He(this.B)},initialize:function(a){this.bT();Vb.prototype.initialize.call(this,a);Vb.prototype.Aa.call(this);Vb.prototype.Nr.call(this);switch(this.j.type){case 1:this.gR();break;case 2:this.Uf={};this.hR(a);break;default:this.fR()}2!==this.j.type&&this.ba();this.ib(a);return this.C},bT:function(){this.Gf=[[Sa,Ya,q]];this.hb=[];this.Av=[]},fR:function(){for(var a=this.j.mh,b=0;b";i.onclick=function(){g.B.Dg(g.sv(a))};i.onmouseover=function(a){f.zd&& (clearTimeout(f.zd),f.zd=s);z.D.show(this);ma(a)};i.onmouseout=function(){var a=this;f.zd&&(clearTimeout(f.zd),f.zd=s);f.zd=setTimeout(function(){a&&z.D.U(a)},1E3)};f.Pg=this.Av[b]=i;f.appendChild(i);f.tl=i},gR:function(){var a=L("div");yb(a);a.title="\\u66f4\\u6539\\u5730\\u56fe\\u7c7b\\u578b";var b=a.style;b.font="bold 12px/1.5em "+G.fontFamily;b.background="#fff";b.boxShadow="2px 2px 3px rgba(0, 0, 0, 0.35)";b.padding="0 6px";b.border="1px solid #8ba4dc";a.innerHTML=\'\\u25bc\'+this.B.oa().getName();this.Cv=a;b=L("div");yb(b);dropDownStyle=b.style;dropDownStyle.position="relative";dropDownStyle.zIndex="-1";dropDownStyle.background="#fff";dropDownStyle.display="none";dropDownStyle.borderLeft=dropDownStyle.borderRight=dropDownStyle.borderBottom="1px solid #8ba4dc";for(var c=this.j.mh,e=0;ez.ca.ia&&(f.zoom="1");e.innerHTML=a.getName();e.title=a.gt();var g=this;e.onclick=function(){g.B.Dg(g.sv(a))};c.appendChild(e);this.hb[b]=e},mR:function(a,b,c){var e=L("div");yb(e);var f=e.style;f.font= "12px/1.6em "+G.fontFamily;f.padding="1px 0 1px 4px";f.whiteSpace="nowrap";e.title=a.gt();e.innerHTML="";var g=this;e.onclick=function(){g.B.Dg(g.sv(a))};c.appendChild(e);this.Av[b]=e;b=this.hb[this.qA(this.ol(a))];b.Gq=a;b.Pg=e},hR:function(a){function b(a){ma(a)}var c=B.iq,e={top:"2px",cursor:"pointer",width:"47px",height:"49px",zIndex:"800", display:"inline-block",position:"absolute",fontSize:"12px",border:"1px solid "+c.kq,backgroundColor:"#fff"},f={width:"41px",height:"43px",position:"absolute",margin:"2px",border:"1px solid "+c.kq},c={position:"absolute",top:"27px",width:"41px",height:"16px",backgroundColor:c.kq,opacity:"0.5",filter:"Alpha(opacity=50);"},g={position:"absolute",top:"29px",width:"41px",color:"white",textAlign:"center",lineHeight:"12px"};0=z.ca.ia&&(g.lineHeight="15px");z.extend(this.C.style,{cursor:"pointer", top:"10px",width:"120px",height:"60px"});this.C.style.background="url("+G.qa+"blank.gif)";var i=L("div");this.lg=i;z.extend(i.style,{position:"absolute",width:"71px",height:"21px",border:"1px solid #999",fontSize:"12px",bottom:"-26px",right:"-1px",backgroundColor:"white",display:"none"});var k=L("span");k.Pz=t;this.B&&"undefined"!==typeof this.B.ao&&(k.Pz=!!this.B.ao);var m=B.uz[1];i.Oz=k;z.extend(k.style,{background:bh.az(m[0],m[1]),width:"11px",height:"11px",position:"absolute",cssFloat:"left", top:"5px",left:"4px"});i.appendChild(k);k=L("span");k.innerHTML="\\u663e\\u793a\\u8def\\u7f51";z.extend(k.style,{position:"absolute",top:"4px",marginLeft:"18px"});i.appendChild(k);k.onmouseover=b;k.onmouseout=b;i.onmouseover=b;i.onmouseout=b;this.C.appendChild(i);for(var n,o,p,v=this.j.BW,x=0,y=v.length;x=0)v.style.right=Math.round(b*58)+4+"px";else{g=t;v.style.right=-Math.round(b*58)+4+"px"}},finish:function(){f.Mj=q}});else{v.style.right=offsetX-centerX>=0?"62px":"-62px";f.Mj=q}c.dispatchEvent(new P("onSecondShow"))}},100),f.Fv=q,$g(p))};c.lg.style.display=k.Qy?"":"none";c.XU(i);"B_SATELLITE_MAP"==i&&("undefined"===typeof c.B.ao?c.Xy(q):c.Xy(!!c.B.ao));f.Fv=t}}var c=this,e=this.Uf,f=this.C;f.Mj=t;var g=q,i;for(i in c.Uf)(function(a){z.M(a, "click",function(){b.call(a,s)})})(c.Uf[i]);z.M(f,"mouseover",function(a){a=window.event||a;c.mI(a.relatedTarget||a.toElement,q)||c.dispatchEvent(new P("onmouseover"))});var k=s;z.M(f,"mouseout",function(a){f.Jl&&(a=window.event||a,c.mI(a.relatedTarget||a.toElement,q)||(c.dispatchEvent(new P("onmouseout")),k!==s&&(clearTimeout(k),k=s),k=setTimeout(function(){if(!f.Fv){if(B.BG)new tb({duration:200,kc:ub.hD,va:function(a){f.Jl.style.right=g?Math.round((1-a)*58)+4+"px":-Math.round((1-a)*58)+4+"px"}, finish:function(){f.Mj=t}});else{f.Jl.style.right=g?"4px":"-4px";f.Mj=t}c.dispatchEvent(new P("onSecondHide"));Zg(f.Jl);Zg(f.BH)}},600),f.Fv=t))});this.lg.onclick=function(){c.Xy(!this.Oz.Pz)};a.addEventListener("onmaptypechange",function(){2==c.j.type&&(c.select(c.cr(a.Hb)),b.call(c.Uf[c.cr(a.Hb)],s),c.C.Jl.style.right=g?(c.C.Mj?62:4)+"px":(c.C.Mj?-54:4)+"px")});this.oU=function(){b.call(this.Uf[this.cr()],s);var a=this.C.Jl,c=this.C.BH;a.style.right="4px";Zg(a);Zg(c);this.C.Mj=t};this.oU()},Xy:function(a){var b= this.B;this.lg.Oz.Pz=b.ao=a;this.lg.Oz.style.backgroundPosition=B.uz.az(a);var c=new P("onchangehybirdmapmode");c.WY=a;b.ao=a;c.WY?b.Dg(Sa):b.Dg(Ya);b.dispatchEvent(c)},XU:function(a){if(this.B.Hb.getName()!=this.XH(a).getName()){var b=0;""!==this.B.Ub&&(b=1);var c=new P("onbeforesetmaptype");c.rL=b;c.Hb=a;c.X2=this.B.Hb;this.B.dispatchEvent(c);this.j.dX&&(b||a!=Qa)&&this.select(a)}},select:function(a){if(a!=l){a instanceof id&&(a=this.cr(a.getName()));var b=this.Uf[a];$g(b);b.DB=q;this.B.Dg(this.XH(a))}}, remove:function(){for(var a=this.Uf,b=0,c=a.length;b\\u25bc\'+this.B.oa().getName(),(f=this.hb[e])&&f.Gq&&f.Pg)z.D.show(f.Pg),f=f.Pg.getElementsByTagName("span")[0],f.checked="",ia.D.Pb(f,"checked")}else if(this.hb[e]&&this.hb[e].Gq==a){if(c=q,this.Cv.innerHTML=\'\\u25bc\'+this.ol(a).getName(),f=this.hb[e].Pg)z.D.show(f),f=f.getElementsByTagName("span")[0],f.checked="checked",ia.D.Ua(f,"checked")}else this.hb[e]&&(f=this.hb[e].Pg)&&z.D.U(f)}!b&&!c&&(this.Cv.innerHTML=\'\\u25bc\'+this.B.oa().getName())},remove:function(){this.hb=this.Av=[];this.Cv=s;Vb.prototype.remove.call(this)}});z.extend(cc.prototype,{zf:function(){this.B&&this.He(this.B)},initialize:function(a){Vb.prototype.initialize.call(this,a);this.Aa();this.ba();z.M(this.C,"click",ma);z.M(this.C,"dblclick",ma);z.M(this.C,"mousewheel",ma);z.M(this.C,"mouseup",function(a){a=window.event||a;2==a.button&&ma(a)});window.addEventListener&&this.C.addEventListener("DOMMouseScroll",function(a){ma(a)},q);this.Ff=1;this.RA=t;return this.C},Aa:function(){var a=L("div");a.innerHTML=\'\\u5168\\u666f\'; a.title="\\u8fdb\\u5165\\u5168\\u666f";var b=a.style;b.width="49px";b.height="51px";b.color="#565656";b.background=\'url("\'+G.qa+\'st-control.png") no-repeat 0 0\';b.position="absolute";b.cursor="pointer";b.fontFamily="arial,sans-serif";b.fontSize="13px";b.textAlign="center";b.WebkitBoxShadow=b.NP=b.MV="0px 0px 3px rgba(0, 0, 0, 0.3)";this.C=a;this.B.La().appendChild(a);a=this.Ug=L("div");b=a.style;b.position="absolute";b.width="24px";b.height="41px";b.cursor="pointer";b.backgroundImage=\'url("\'+G.qa+\'st-scout.png")\'; b.backgroundRepeat="no-repeat";b.backgroundPosition="-24px 0";b.overflow="hidden";b.display="none";6==z.ca.ia&&(b.background="",a.innerHTML="
");this.B.La().appendChild(a);a=this.Vd=L("div");b=a.style;b.position="absolute";b.width="112px";b.height="119px";b.backgroundImage=\'url("\'+G.qa+\'st-infowindow.gif")\';b.backgroundRepeat="no-repeat"; b.backgroundPosition="0 0";b.display="none";b.cursor="pointer";b=this.Ti=L("img");a.appendChild(b);b.src=G.qa+"st-noresult.png";b.style.width="100px";b.style.height="75px";b.style.left=b.style.top="6px";b.style.position="absolute";b=this.Ri=L("div");b.style.position="absolute";b.style.top="85px";b.style.fontFamily="arial,sans-serif";b.style.fontSize="13px";b.style.paddingLeft="6px";a.appendChild(b);this.B.La().appendChild(a)},ba:function(){var a=this;Ua()&&(z.M(this.C,"mouseover",function(){a.RA= q;a.ow()}),z.M(this.C,"mouseout",function(){a.RA=t;a.ow()}));z.M(this.C,"click",function(){a.Ni?a.Tz():a.KT()});z.M(document,"mousemove",function(b){if(a.Ni){var b=window.event||b,c=Bb(a.B.Wa),b=new Q((b.pageX||b.clientX)-c.left,(b.pageY||b.clientY)-c.top),e=a.B.xb(b);if(a.Ug.style.display!=""&&Ua()){a.Ug.style.display="";a.Vd.style.display=""}a.Ug.style.left=b.x-12+"px";a.Ug.style.top=b.y-41-2+"px";a.TI=a.Gh;a.Gh=b;if(a.TI){b=b.x-a.TI.x;if(b>0){a.Ug.style.backgroundPosition="-48px 0";if(z.ca.ia== 6)a.Ug.children[0].style.left="-48px"}else if(b<0){a.Ug.style.backgroundPosition="0 0";if(z.ca.ia==6)a.Ug.children[0].style.left="0"}}a.Ff=a.Gh.y<170?2:1;if(a.Gh.x<66)a.Ff=3;if(a.Gh.x>a.B.cb().width-56-10)a.Ff=4;b=a.Ff==1||a.Ff==2?112:126;c=a.Ff==1||a.Ff==2?119:105;if(a.Ff==1||a.Ff==2){a.Vd.style.left=a.Gh.x-Math.round(b/2)+"px";if(a.Ff==1){a.Vd.style.top=a.Gh.y-c-42+"px";a.Vd.style.backgroundPosition="0 0";a.Ti.style.top="6px";a.Ti.style.bottom="";a.Ri.style.top="85px";a.Ri.style.bottom=""}else{a.Vd.style.top= a.Gh.y+2+"px";a.Vd.style.backgroundPosition="-112px 0";a.Ti.style.top="";a.Ti.style.bottom="6px";a.Ri.style.top="";a.Ri.style.bottom="85px"}a.Vd.style.width="112px";a.Vd.style.height="119px";a.Ti.style.left="6px";a.Ri.style.left="0"}if(a.Ff==3||a.Ff==4){a.Vd.style.top=a.Gh.y-Math.round(c/2)-20+"px";if(a.Ff==3){a.Vd.style.left=a.Gh.x+12+"px";a.Vd.style.backgroundPosition="0 -119px";a.Ti.style.left="20px";a.Ri.style.left="14px"}else{a.Vd.style.left=a.Gh.x-12-b+"px";a.Vd.style.backgroundPosition="-126px -119px"; a.Ti.style.left="6px";a.Ri.style.left="0"}a.Vd.style.width="126px";a.Vd.style.height="105px"}a.Vd.style.backgroundImage=\'url("\'+G.qa+\'st-infowindow.gif")\';if(a.hw){clearTimeout(a.hw);a.hw=s}a.hw=setTimeout(function(){a.A1=e;a.Ug.style.backgroundPosition="-24px 0";if(z.ca.ia==6)a.Ug.children[0].style.left="-24px";a.RI.kj(e,function(b){if(b){a.$z=b.id;a.Ti.src="http://pcsv0.map.bdimg.com/scape/?qt=pdata&sid="+b.id+"&pos=0_0&z=0";a.Ri.innerHTML=b.description}else{a.$z=s;a.Ti.src=G.qa+"st-noresult.png"; a.Ri.innerHTML=""}})},200)}});this.B.addEventListener("click",function(b){if(a.Ni&&H()){var c=this.tm();a.RI.kj(b.point,function(b){if(b){c.vc(b.id);c.show();a.Tz();Ra(5043)}})}else if(a.Ni&&a.$z){c=this.tm();c.vc(a.$z);c.show();a.Tz();Ra(5043)}})},ow:function(){var a=this.C.style;this.Ni?(a.backgroundPosition="-49px 0",a.color="#fff"):this.RA?(a.backgroundPosition="-49px 0",a.color="#fff"):(a.backgroundPosition="0 0",a.color="#565656")},KT:function(){this.Ni||(this.Ni=q,this.B.Oe(this.QI),Ua()&& (this.VT=this.B.K.Vb,this.WT=this.B.K.Hd,this.B.setDefaultCursor("pointer"),this.B.setDraggingCursor("pointer")));this.ow()},Tz:function(){this.Ni&&(this.B.Yf(this.QI),Ua()&&(this.Ug.style.display="none",this.Vd.style.display="none",this.B.setDefaultCursor(this.VT),this.B.setDraggingCursor(this.WT)),this.Ni=t);this.ow()}}); '); \ No newline at end of file diff --git a/public/static/modules/convertor_d0ze2w.js b/public/static/modules/convertor_d0ze2w.js new file mode 100644 index 0000000..b58f001 --- /dev/null +++ b/public/static/modules/convertor_d0ze2w.js @@ -0,0 +1 @@ +_jsload2&&_jsload2('convertor', 'z.extend(lc.prototype,{qQ:function(){for(var a=0,b=this.Pa.length;a"+a.content+"")},Jd:function(a){var b=Vb.prototype.Jd.call(this); if(Hb(a)){if(b)for(var c=0,e=b.children.length;c=k&&a.lineTo(p,v);a.lineTo(tailX,tailY);a.moveTo(startX,startY);D=0;for(I=2*E;D(x-startX)*xMove)break;a.lineTo(startX, startY)}a.stroke()}var k=parseInt(o-m*E)-g,D=x-Math.abs(k)*(x-p)/o,I=y-Math.abs(k)*(y-v)/o;n===i-1&&0a.length)){b.push("M "+a[0].x+" "+a[0].y+" L");for(var e=1,f=a.length;e\')}; Fg.ke=function(a,b){this.setAttribute(a,"path",this.tA(b));6==z.ca.ia&&(a.style.display="none",a.style.display="")};Fg.tA=function(a){if(0==a.length)return"";var b=[];z.mc.Fb(a,function(a){if(!(2>a.length)){b.push("m "+a[0].x+" "+a[0].y+" l");for(var e=1,f=a.length;e\', \'
",\'
", "
",\'\'].join("")}, Lr:function(a){this.Xo.style.backgroundImage="url(\'"+a+"\')"},xU:function(a){this.DD.style.display="block";this.vL.textContent=a},VQ:function(){this.vL.textContent="";this.DD.style.display="none"}});Zb.prototype.location=Zb.prototype.location;Zb.prototype.getAddressComponent=Zb.prototype.xX; '); \ No newline at end of file diff --git a/public/static/modules/groundoverlay_ekozhc.js b/public/static/modules/groundoverlay_ekozhc.js new file mode 100644 index 0000000..adcadaf --- /dev/null +++ b/public/static/modules/groundoverlay_ekozhc.js @@ -0,0 +1 @@ +_jsload2&&_jsload2('groundoverlay', 'z.extend(vc.prototype,{ib:function(){if(this.map){this.V||this.Ej();var a=this.map.fa();if(athis.z.As)this.U();else{var b=this.z.bb.Ve(),c=this.z.bb.Rf(),a=this.map.Xe(b).x,e=this.map.Xe(c).y,c=this.map.Xe(c).x,b=this.map.Xe(b).y;this.V.style.left=a+"px";this.V.style.top=e+"px";this.V.style.width=c-a+"px";this.V.style.height=b-e+"px";this.show()}}},draw:function(){this.ib()},Ej:function(){if(!this.V){this.V=document.createElement("div");var a=this.V.style;a.cssText="position: absolute; -moz-user-select: none; overflow: hidden;"; a.zIndex=mc.Ck(this.z.bb.Ve().lat);this.z.opacity&&(a.opacity=this.z.opacity,a.filter="alpha(opacity="+100*parseInt(this.z.opacity,10)+")");this.Og=document.createElement("img");this.Og.style.width="100%";this.z.X_&&(this.Og.style.height="100%");this.V.appendChild(this.Og);var b=this;this.Og.onload=function(){b.P1=b.Og.naturalWidth||b.Og.width;b.O1=b.Og.naturalHeight||b.Og.height};this.z.Gm&&(this.Og.src=this.z.Gm);this.map.Tf().KE.appendChild(this.V);b=this;z.M(this.V,"click",function(a){b.dispatchEvent(new P("click"), a)});z.M(this.V,"dblclick",function(a){b.dispatchEvent(new P("dblclick"),a)})}},s_:function(a){this.z.bb=a;this.map&&this.ib();this.V.style.zIndex=mc.Ck(this.z.bb.Ve().lat)},ve:function(){return this.z.bb},HF:function(a){this.z.opacity=a;this.V.style.opacity=a;this.V.style.filter="alpha(opacity="+100*parseInt(a,10)+")"},XX:function(){return this.z.opacity},x_:function(a){this.z.Gm=a;this.Og&&(this.Og.src=a)},KX:function(){return this.z.Gm},p5:function(a){this.z.Bs=a},r3:function(){return this.z.Bs}, o5:function(a){this.z.As=a},q3:function(){return this.z.As}});vc.prototype.setBounds=vc.prototype.s_;vc.prototype.getBounds=vc.prototype.ve;vc.prototype.setOpacity=vc.prototype.HF;vc.prototype.getOpacity=vc.prototype.XX;vc.prototype.setImageURL=vc.prototype.x_;vc.prototype.getImageURL=vc.prototype.KX;vc.prototype.setDispalyOnMinLevel=vc.prototype.n5;vc.prototype.setDispalyOnMaxLevel=vc.prototype.m5; '); \ No newline at end of file diff --git a/public/static/modules/hotspot_vuwxs4.js b/public/static/modules/hotspot_vuwxs4.js new file mode 100644 index 0000000..25160c7 --- /dev/null +++ b/public/static/modules/hotspot_vuwxs4.js @@ -0,0 +1 @@ +_jsload2&&_jsload2('hotspot', 'B.Ye(function(a){function b(a){var b=this.R;b.Qe=[];if(this.Jh)for(var c in this.Jh)if(!(0==c.indexOf("vector_")&&!this.Sb()||0==c.indexOf("tile_")&&this.Sb())){var i=this.Jh[c],k;for(k in i){var m=i[k];if(!(m.Lh>this.fa()||m.Hfn.x-m.Jv[3]&&a.offsetY>n.y-m.Jv[0]&&a.offsetY