You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
460 KiB
JavaScript
18 lines
460 KiB
JavaScript
2 years ago
|
_jsload2 && _jsload2('vectordrawlib', 'function Gf(a){this.aI=o;this.k=x.object.extend(a||{},{Ch:o});Hc.call(this,this.k);this.yg={};this.loaded=q;this.Gt=p;this.XB=q;this.WJ={road:"rd",water:"wt",building:"bd",land:"ld",government:"gv",point:"pts"};this.RE={market:"mt",food:"fd",communications:"cm",hotel:"ht",attractions:"at",recreation:"rc"}}Gf.prototype=new Hc; Gf.prototype.ra=function(a){if(!this.loaded){this.loaded=o;var b=this;b.map=a;b.cb=b.map.cb;b.map=a;b.Vw=q;b.wK=p;b.oe="df";b.k.poiElements&&b.k.poiElements.name&&(b.oe=b.RE[b.k.poiElements.name]);b.Qe=b.k.style||"normal";b.ln=b.k.styleStr||p;b.dq=200;b.ze=p;b.Zd=0;b.xb=this.cb.Nn(0);b.Nd=this.cb.Nn(10);b.cb.ld.appendChild(this.xb);b.cb.ld.appendChild(this.Nd);b.cb.xb=b.xb;b.cb.Nd=this.Nd;b.Jb=new z.VectorDrawLib;b.gs="";b.k.features&&(b.gs=b.TW(b.k.features));b.Jb.mC=b.Qe;b.Zl();b.Qe&&"normal"!== b.Qe||b.ln&&0<b.ln.length?b.Pt(b.Qe,b.ln,function(){b.map.addEventListener("click",function(a){b.Zd++;if(b.Zd===1)b.ze=setTimeout(function(){b.su(a);b.Zd=0},b.dq);else{clearTimeout(b.ze);b.Zd=0;return q}});b.xb.innerHTML="";b.Nd.innerHTML="";b.$d(o)}):(b.$d(),b.map.addEventListener("click",function(a){b.Zd++;if(b.Zd===1){if(!a.ab)b.ze=setTimeout(function(){b.su(a);b.Zd=0},b.dq)}else{clearTimeout(b.ze);b.Zd=0;return q}}));b.map.K.lj&&(G()&&b.Gf==j)&&(b.Gf=new z.tG(b.map),b.map.Ja(b.Gf))}}; x.extend(Gf.prototype,{Zl:function(){var a=this;setTimeout(function(){a.map.addEventListener("poilayervisiblechange",function(b){a.sV(b)});a.map.addEventListener("moveend",function(){a.$d()});a.map.addEventListener("zoomend",function(){a.ny();a.Vw=q;a.$d(o)});a.map.addEventListener("onresize",function(){a.$d()});Va()&&(a.map.addEventListener("onmoving",function(){a.$d()}),a.map.addEventListener("onmaptypechange",function(){a.$d()}));a.map.addEventListener("mousemove",function(b){a.map.Vb()&&a.EC(b)})}, 1);a.map.addEventListener("setcustomstyles",function(b){a.nC(b.target)})},TW:function(a){for(var b="",c=0,d=a.length;c<d;c++)b=b+this.WJ[a[c]]+",";b&&(this.Jb.bi=b);return b},Pt:function(a,b,c){if(this.map.Vb()){var d=this,e=z.wc+"custom/",f;b&&0<b.length?(f="setStyle_"+b.length,e+="mapstyle?styles="+encodeURIComponent(b)):(f="setStyle_"+a,e+="getstyle?customid="+a);f+=this.map.ba;window[f]=function(b,e){var k=x.extend({},d.Jb.oz);d.Jb.Fb=x.extend(k,b);k=z.Db.re(d.Jb.Fb["3181"][1]);d.map.K.Bo=k;d.map.Na().style.backgroundColor= k;c(a);d.map.dispatchEvent(new O("onsetmapstylesuccess",e));delete window[f]};pa(e+("&callback="+f+"&udt=20150116"),q)}},ON:function(a){if(this.map.Vb()){for(var b="",c=0,d=a.length;c<d;c++)b=b+(this.WJ[a[c]]||"")+",";b==this.gs&&""==!b||(""==b&&(b="no"),this.gs=b,this.Jb.bi=b,this.Jb.Cs({bg:this.gx(this.xb),poi:this.gx(this.Nd)},this.cb,this.oe))}},WN:function(a){if(a.name&&this.RE[a.name]){var b=this.RE[a.name];if(a.styles.visibility==o&&this.oe!==b&&-1<this.gs.indexOf("pts")){this.oe=b;if(this.Nd)for(var c= [],d=[],a=this.Nd.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.Jb.WC(c,d,this.oe,this.cb,p)}}},Lp:function(a){var b=this;b.Pt(a.style,a.styleStr,function(a){b.Qe=a;b.ny();b.Jb.mC=b.Qe;var a=b.Jb.Ms,d;for(d in a)delete a[d];"df"!==b.oe&&b.bE();b.YE()})},W3:function(a){var b=this,c=[],d=[],e=a.clickFea;b.wK=e;if(a.type){var f=x.$(e.tileId),g=e.tileId;if(b.oe==a.type){var i=Math.pow(2,18-b.map.Oa);b.g0();b.yg[g]={canvas:f,fea:e.fea};b.ZK(e,i);var c= this.yg,k;for(k in c)d=x.$(k).getContext("2d"),b.Jb.lm(d,c[k].fea,i,o);return}b.ny();b.oe=a.type;b.yg[g]={canvas:f,fea:e.fea};b.ZK(e,i)}else{b.pu();if("df"==b.oe)return;b.ny();b.oe="df"}if(b.Nd){i=b.Nd.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.XB||(b.map.addEventListener("onclickicondrawed",function(a){var c=a.tarPoi.id;b.Vw=o;b.yg&&b.yg[c]&&(b.yg[c].fea=a.tarPoi.fea)}),b.XB=o);"df"==b.oe?b.pu():b.bE();b.Jb.WC(c,d,b.oe,b.cb,e)}, g0:function(){var a=this.yg,b=Math.pow(2,18-this.map.Oa),c;for(c in a)this.Jb.lm(a[c].canvas.getContext("2d"),a[c].fea,b,q);for(var d in a)delete a[d]},ny:function(){
|
||
|
_jsload2 && _jsload2('map', 'rb.prototype.cancel=ia(1,function(){this.Ur&&clearTimeout(this.Ur);this.Wz=this.Mu;this.vy=0}); z.Ue(function(a){if(!a.K||!a.K.Mx){a.Lx()?Cf(a):a.addEventListener("load",function(){Cf(this)});a.Yg="\\u4e2d\\u56fd";a.$r="1";var b={jD:o,bb:function(){b.jD&&(b.jD=q,setTimeout(function(){b.Qg()},500))},Qg:function(){var c=a.Hd(),d=a.fa(),e=R.zb(c.se()),c=R.zb(c.of());dd.bb(function(c){9E3<=c.current_city.code&&9378>=c.current_city.code&&(c.current_city.name="\\u53f0\\u6e7e\\u7701");2E4<=c.current_city.code&&20499>=c.current_city.code&&(c.current_city.name="\\u65b0\\u52a0\\u5761");20500<=c.current_city.code&& 25999>=c.current_city.code&&(c.current_city.name="\\u6cf0\\u56fd");26E3<=c.current_city.code&&29999>=c.current_city.code&&(c.current_city.name="\\u65e5\\u672c");3E4<=c.current_city.code&&30999>=c.current_city.code&&(c.current_city.name="\\u97e9\\u56fd");31E3<=c.current_city.code&&37E3>=c.current_city.code&&(c.current_city.name="\\u4e9a\\u592a");46609<=c.current_city.code&&52505>=c.current_city.code&&(c.current_city.name="\\u6b27\\u6d32");39509<=c.current_city.code&&53500>=c.current_city.code&&(c.current_city.name= "\\u5357\\u7f8e\\u6d32");54E3<=c.current_city.code&&7E4>=c.current_city.code&&(c.current_city.name="\\u5317\\u7f8e\\u6d32");54003===c.current_city.code&&(60731<=c.current_city.code&&61123>=c.current_city.code)&&(c.current_city.name="\\u7f8e\\u56fd");if(54015===c.current_city.code||57970<=c.current_city.code&&60223>=c.current_city.code)c.current_city.name="\\u52a0\\u62ff\\u5927";if(54025===c.current_city.code||54338<=c.current_city.code&&57374>=c.current_city.code)c.current_city.name="\\u58a8\\u897f\\u54e5";b.jD= o;if(c&&c.current_city){var d=c.current_city.name,e=c.current_city.code;e!==a.$r&&a.dispatchEvent("citychange",{name:d,code:e});a.Yg=d;a.$r=c.current_city.code;G()||Df(a)}},{qt:"cen",b:e.lng+","+e.lat+";"+c.lng+","+c.lat,l:d},"","",o)}};a.addEventListener("load",function(){b.bb()});a.addEventListener("moveend",function(){b.bb()});a.addEventListener("zoomend",function(){b.bb()});b.bb()}}); function Cf(a){if(!a.R.IV){a.R.IV=o;if(!a.Lw){var b=new N(2,2);G()&&(b.width=72,b.height=0);var c=new Yb({offset:b,printable:o});a.Lw=c}G()||(Df(a),a.addEventListener("maptypechange",function(){Df(a)}));a.ow(c);var d=new Ef;d.k={zg:o};a.ow(d);a.addEventListener("resize",function(){if(this.Bb().width>=300&&a.Bb().height>=100){d.show();c.Ve(b)}else{d.U();c.Ve(new N(4,2))}});300<=a.Bb().width&&100<=a.Bb().height&&a.K.CY?d.show():(d.U(),c.Ve(new N(4,2)))}} function Df(a){if(!a.Lw){var b=new N(2,2);G()&&(b.width=72,b.height=0);b=new Yb({offset:b,printable:o});a.Lw=b}var c=a.Yg||"\\u4e2d\\u56fd",b=a.pa(),d="\\u5e38\\u5dde\\u5e02 \\u5357\\u660c\\u5e02 \\u4e4c\\u9c81\\u6728\\u9f50\\u5e02 \\u65e0\\u9521\\u5e02 \\u798f\\u5dde\\u5e02 \\u6cc9\\u5dde\\u5e02 \\u73e0\\u6d77\\u5e02 \\u8d35\\u9633\\u5e02".split(" "),e="\\u5317\\u4eac\\u5e02 \\u4e0a\\u6d77\\u5e02 \\u5e7f\\u5dde\\u5e02 \\u6df1\\u5733\\u5e02 \\u5b81\\u6ce2\\u5e02 \\u77f3\\u5bb6\\u5e84\\u5e02 \\u6c88\\u9633\\u5e02 \\u957f\\u6625\\u5e02 \\u9752\\u5c9b\\u5e02 \\u6e29\\u5dde\\u5e02 \\u53f0\\u5dde\\u5e02 \\u91d1\\u534e\\u5e02 \\u4f5b\\u5c71\\u5e02 \\u4e2d\\u5c71\\u5e02 \\u6606\\u660e\\u5e02 \\u5357\\u5b81\\u5e02 \\u82cf\\u5dde\\u5e02 \\u897f\\u5b89\\u5e02 \\u6d4e\\u5357\\u5e02 \\u90d1\\u5dde\\u5e02 \\u5408\\u80a5\\u5e02 \\u547c\\u548c\\u6d69\\u7279\\u5e02 \\u676d\\u5dde\\u5e02 \\u6210\\u90fd\\u5e02 \\u6b66\\u6c49\\u5e02 \\u957f\\u6c99\\u5e02 \\u5929\\u6d25\\u5e02 \\u5357\\u4eac\\u5e02 \\u91cd\\u5e86\\u5e02 \\u5927\\u8fde\\u5e02 \\u4e1c\\u839e\\u5e02 \\u53a6\\u95e8\\u5e02".split(" "), f=["\\u9999\\u6e2f\\u7279\\u522b\\u884c\\u653f\\u533a"],g;for(g in d)if(d[g]===c){var i=o;break}for(g in e)if(e[g]===c)break;for(g in f)if(f[g]===c){var k=o;break}if("\\u53f0\\u6e7e\\u7701"===c)var l=o;if("\\u65b0\\u52a0\\u5761"===c)var m=o;if("\\u65e5\\u672c"===c)var n=o;if("\\u97e9\\u56fd"===c)var t=o;if("\\u6cf0\\u56fd"===c)var v=o;if("\\u4e9a\\u592a"===c)var w=o;if("\\u6b27\\u6d32"===c)var y=o;if("\\u5357\\u7f8e\\u6d32"===c)var C=o;if("\\u5317\\u7f8e\\u6d32"===c)v
|
||
|
_jsload2 && _jsload2('scommon', 'var Tg=new N(23,25),Ug=new N(9,25),Vg=new N(9,0);U.PU=function(a,b,c,d){var e=Wg(b);if(e&&!(0>c||9<c)){b=p;e=new T(e);if(G()){var f=function(){return new qc(E.qa+"markers_hd.png",new N(22,31),{anchor:new N(11,31),imageOffset:new N(0,-32*c),imageSize:new N(85,477),infoWindowAnchor:new N(11,0)})},b=f(),f=f();f.Rt(new N(-28,-32*c));e.cE=b;e.UL=f}else b=new qc(E.qa+"markers.png",Tg,{anchor:Ug,imageOffset:new N(0,-25*c),infoWindowAnchor:Vg});e.Ub(b);a.Ja(e);d&&e.Cc(d);return e}}; U.nw=function(a,b,c){if(b=Wg(b)){var b=new T(b),d=p;G()?(d=new qc(E.qa+"markers_hd.png",new N(21,31),{anchor:Ug,imageOffset:new N(-29,-320),imageSize:new N(85,477),infoWindowAnchor:Vg}),b.cE=d):d=new qc(E.qa+"markers.png",Tg,{anchor:Ug,imageOffset:new N(0,-250),infoWindowAnchor:Vg});b.Ub(d);a.Ja(b);c&&b.Cc(c);return b}}; U.OU=function(a,b,c){if(b=Wg(b)){var b=new T(b),d=p;if(G()){var e=function(){return new qc(E.qa+"markers_hd.png",new N(21,31),{anchor:Ug,imageOffset:new N(0,-383),imageSize:new N(85,477),infoWindowAnchor:Vg})},d=e(),e=e();e.Rt(new N(-29,-352));b.cE=d;b.UL=e}else d=new qc(E.qa+"markers.png",Tg,{anchor:Ug,imageOffset:new N(0,-300),infoWindowAnchor:Vg});b.Ub(d);a.Ja(b);c&&b.Cc(c);return b}}; function Wg(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.TV=function(a){var b=a.title,c=a.Yr,d=a.z_,e=a.dW,a=a.TE||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)+"…");b="<p style=\'width:210px;font:bold 14px/16px "+E.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 "+E.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 \'+E.fontFamily+\'" >\');e.push(\'<tr><td style="vertical-align:top;width:38px;white-space:nowrap;word-break:keep-all">\'+f+\' </td><td style="line-height:16px">\');e.push(c+" </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 \'+E.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 tc(e.join(""),{title:b,height:0,width:230,margin:[10,10,20,10]})}; U.xo=function(a,b,c,d){if(b=Wg(b))return d=new T(b,{icon:G()?new qc(E.qa+"dest_mkr.png",new N(29,34),{anchor:new N(14,32),imageSize:new N(94,41),imageOffset:new N(-29*d,0),infoWindowAnchor:new N(14,0)}):new qc(E.qa+"dest_markers.png",new N(42,34),{anchor:new N(14,32),imageOffset:new N(0,-34*d),infoWindowAnchor:new N(14,0)}),baseZIndex:35E5,draggingCursor:"pointer"}),a.Ja(d),c&&d.Cc(c),d};U.yo=function(a,b){return U.Rl(a,b,cd)}; U.CP=[{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.BP=[{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.IJ=function(a,b,c){var d=U.CP;"undefined"==typeof c&&(c=0);if(d[c])return d=d[c],b=new Dc(b,{strokeWeight:d.stroke,strokeColor
|
||
|
_jsload2 && _jsload2('mapclick', 'var Xg=0,Yg=1,Zg=2,Jh,Kh=p;Ta=function(a){this.map=a;this.SE=this.Gw=p;this.Eo={};this.EY=8;this.bm=[];this.o_=4;this.BF="";this.Ok=this.ce=this.de=this.we=this.Qm=p;this.lp=this.Cm="";this.Ly=p;this.oi=0;this.oE=q;this.nN=p;this.gm=this.XK="";this.tj=new qc(E.qa+"spotmkrs.png",new N(18,18),{anchor:new N(9,9),imageOffset:new N(0,0),infoWindowOffset:new N(10,0)});this.cY()};Kh=Ta.prototype; Kh.cY=function(){var a=this;a.RU();a.bind();a.Wa=o;setTimeout(function(){a.Jn()},1E3);setInterval(function(){a.oE=q},300)};Kh.F4=ca(q);Kh.bind=function(){this.fV();this.gV();this.hV();this.iV()};Kh.iV=function(){var a=this,b=this.map;b.addEventListener("vectorchanged",function(c,d){d.isvector?a.close():b.K.lj==o&&a.open()})}; Kh.GY=function(a){var b=this.map;if(this.Wa)if(10>b.fa())this.dm();else if(this.gC(),a&&a.point)if(this.oi&&(this.nN=a.point),this.oE=o,1!=this.oi&&(this.ce&&this.ce.U(),this.de&&this.de.U(),this.Kd&&this.Kd.U()),a=b.IX(a.point,b.fa()),a.qy&&a.Iw&&a.ug)this.gm=a.ug+"_"+a.qy+"_"+a.Iw,this.Eo[a.ug+"_"+a.qy+"_"+a.Iw]?this.BF!=this.gm&&this.GG(this.gm):this.IZ({wE:a.ug,x:a.qy,y:a.Iw})}; Kh.GG=function(a){var b=this.map;if(b.pa()!=Ma&&b.pa()!=Sa)this.dm(),this.zk();else if(b=a.split("_"),b=b[0]+"_"+b[1]+"_"+b[2],this.Eo[b]){this.dm();this.SE=this.JJ(this.Eo[b][a]?this.Eo[b][a]:[],"MAP_CLICK_POI");this.BF=a;for(var a=-1,c=0,d=this.bm.length;c<d;c++)if(b==this.bm[c]){a=c;break}0<=a&&(this.bm.splice(a,1),this.bm.push(b))}};Kh.JJ=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.Xe=d.Xe;this.map.rw(g,b)}return o}; Kh.gV=function(){var a=this;this.map.addEventListener("mousemove",function(b){a.GY(b)})};Kh.BV=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.Dd(a.spots[b].o);break}}else this.Ly&&this.kC(this.Ly)};Kh.kC=function(a){var b=this.map;!(10>b.fa())&&a&&(this.oi=0,this.Ok&&(b.R.ob&&b.R.ob.close(),this.ti=a,this.LZ(this.Ok)))};Kh.LZ=function(a){if(a){var b=this;dd.bb(function(c){b.YR(a,c)},{qt:"inf",uid:a,operate:"mapclick",clicktype:"tile"})}}; Kh.YR=function(a,b){var c=this,d=this.map;if(b&&b.content){var e=b.content,f=e.pano||0;P.vb(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.Vq(e.cla);var l=M("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>></a>"),f.push("</div>"),l.innerHTML= f.join("")));i&&(f=M("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=M("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=M("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.textDecorat
|
||
|
_jsload2 && _jsload2('oppc', 'var Cg=256,Dg=32;function Eg(){this.B=p}var Fg;z.Ue(function(a){if(!a.K.Mx){var b=new Eg;yb(a.Va,b.va(a.K.Xb));b.B=a.Va.lastChild;a.R.m0=b}}); Eg.prototype.va=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("")}; Eg.prototype.action=function(a,b){if(!Fg){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;Fg&&Fg.end();Fg=new rb({Gc:20,duration:240,jc:sb.aD,Ko:100,va: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(){Fg=q;setTimeout(function(){g.visibility="hidden"},300)}})}}}};z.Ue(function(a){function b(a){if(f.K.Ro){var b=new O("ondeepzoommousewheel");c(a,ma(b,a));i.d0.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.Va;){c.ba&&(x.lang.Kc(c.ba)instanceof fb&&(g=x.lang.Kc(c.ba)),x.lang.Kc(c.ba)instanceof tc&&(i=x.lang.Kc(c.ba)));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.fq){var y=z.fq.Rs(f).ff;if(-1<navigator.userAgent.indexOf("Opera")&&"svg"!==c.tagName){if(c=x.lang.Kc(c.ba))c=c.Hd(),d+=f.bc(c.se()).x,e+=f.bc(c.of()).y;break}if(39<=x.da.nf||51<=x.da.dC)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.ba)d+=parseFloat(y.style.left)+f.offsetX,e+=parseFloat(y.style.top)+f.offsetY;if((9<=x.da.la||-1<navigator.userAgent.toLowerCase().indexOf("trident"))&&"svg"!==c.nodeName.toLowerCase()){d+=f.offsetX;e+=f.offsetY;break}if(!x.da.la)break}c=c.offsetParent}b.offsetX=d;b.offsetY=e;b.pixel=b.jb=new Q(d,e);b.point=b.point=f.wb(b.jb);b.overlay=b.ab=g;b.domEvent=a;b.Cb=i;return b}function d(a){var b=f.R,d=!b.Yx&&!b.Zx;if(b.py)clearTimeout(b.py),b.py=p,d&&(f.dispatchEvent(c(a, ma(new O("onrightclick"),a))),f.Ta|=Cg,f.dispatchEvent(c(a,ma(new O("onrightdblclick"),a))),f.Ta^=Cg);else{d&&f.dispatchEvent(c(a,ma(new O("onrightclick"),a)));var e=c(a,ma(new O("onrightclickex"),a));b.py=setTimeout(function(){b.py=p;d&&f.dispatchEvent(e)},f.K.jC)}}function e(a){if(f.K.Ro){var b=f.R;b.mb&&(b.mb.stop(),b.mb=p,setTimeout(function(){f.dispatchEvent(new O("onmoveend"))},1));f.Ta|=Dg;a=window.event||a;f.Lc=f.Oa;b=new O("onmousewheel");b.Xp=0<=a.wheelDelta||0>a.detail;var d=new Date;b.Xp=== o&&f.Oa===f.pa().sm()||b.Xp===q&&f.Oa===f.pa().Zo()||220>d-g?f.Ta^=Dg:(g=d,c(a,ma(b,a)),f.dispatchEvent(b),f.Ta^=Dg,a.returnValue=q);Ab(a)}}var f=a;f.tY=a.Vb();a.Va.F3=ca(q);x.M(f.platform,"mousemove",function(a){0===f.Ta&&f.dispatchEvent(c(a,ma(new O("onmousemove"),a)))});x.M(f.platform,"mousedown",function(a){if(f.K.hD){a=window.event||a;x.da.la||Ab(a);var b=f.R;b.Hc=o;var d=a.srcElement||a.target;b.mb&&(b.mb.stop(),b.mb=p,f.dispatchEvent(new O("onmoveend")));b
|
||
|
_jsload2 && _jsload2('navictrl', 'x.extend(ib.prototype,{xf:function(){this.C&&this.Ee(this.C)},initialize:function(a){Tb.prototype.initialize.call(this,a);this.er();this.Lv();this.Aa();this.ca={};!G()?this.dQ():this.cQ();this.Mv(a.fa());this.eQ(a);this.k.uW&&this.j_();return this.B},er:function(){this.Oi||(this.Oi=o,this.YS=19,this.oo=-1,this.Pv=6,this.Wj=1,this.dl=this.co=-1,this.Nv=this.fJ=this.Nf=p,this.vz="1100")},eQ:function(a){var b=this;a.addEventListener("zoomend",function(){b.C&&(b.Mv(b.C.fa()),!b.qI&&b.jr&&(b.Cf=setTimeout(function(){b.oA()}, 1E3)))});a.addEventListener("mousewheel",function(){b.C&&(b.C.K.Ro&&b.jr)&&(b.Cf&&(clearTimeout(b.Cf),b.Cf=p),b.dJ())});a.addEventListener("load",function(){b.C&&b.Mv(b.C.fa())});a.addEventListener("maptypechange",function(){b.C&&b.ge()});a.addEventListener("zoomspanchange",function(){b.C&&b.ge()})},ge:function(){this.Lv();this.jn(this.k.type);this.C&&this.Mv(this.C.fa())},Lv:function(){var a=this.C.pa();this.Qh=this.C.K.gc;this.Ff=this.C.K.$b;this.jr=a==Pa||this.Qh!=a.Zo()||this.Ff!=a.sm()?q:o;this.B&& (this.B.style.width=this.xH(0).width+"px");this.k.AF||(this.jr=q);this.oo=this.Ff-this.Qh+1;this.co=this.Wj+(this.oo-1)*this.Pv},Aa:function(){Tb.prototype.Aa.call(this);var a=6==x.da.la?" BMap_ie6":"",b=" BMap_stdMpType"+this.k.type,c=this.B;x.D.Ua(c,"BMap_stdMpCtrl");x.D.Ua(c,a);x.D.Ua(c,b);c.innerHTML=this.Tq(this.k.type);this.vB(x.da.opera?"pointer":E.Xb);this.jd=x.$(c.children[0]);a=this.Nf=x.$(c.children[1]);this.Dh=x.$(a.children[0]);this.ag=x.$(a.children[1]);this.fJ=x.$(a.children[2]);this.Nv= x.$(a.children[2].children[0]);this.Ov=x.$(a.children[2].children[1]);this.dG=this.B.children[1];this.uD=this.B.children[2];this.jn(this.k.type)},dU:function(){var a=this.xH(this.k.type),b=a.width,c=a.height,d=a.vu,a=a.bu,e=(this.YS-this.oo)*this.Pv;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.Nf.style.height=d+"px";this.Nf.style.width=b+"px";this.ag.style.top=G()?"44px":d-21+"px";this.fJ.style.height=a+"px";this.Nv.style.height= a+"px";this.Nf.children[0].style.left=3==this.k.type?this.Nf.children[1].style.left="0":this.Nf.children[1].style.left=""},xH:function(a){var b=62;if(!this.k.AF||this.C.pa()==Pa)b=37;return[{width:b,height:204,vu:159,Ry:37,bu:120,Fy:120},{width:37,height:97,vu:42,Ry:37,bu:0,Fy:0},{width:37,height:57,vu:0,Ry:0,bu:0,Fy:0},{width:22,height:42,vu:42,Ry:18,bu:0,Fy:0},{width:35,height:71,Ry:35,vu:71,bu:0,Fy:0}][a]},Tq:function(){var a=[];a.push(this.$z());a.push(this.aA());a.push(this.KR());return a.join("")}, $z: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>\'),aA: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
|
||
|
_jsload2 && _jsload2('style', 'var xf=".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_
|
||
|
_jsload2 && _jsload2('tile', 'function Ff(){this.Cd=this.Gp=this.sp=this.Lj=p;this.pE=q;this.ci=p}x.lang.ua(Ff,kc,"MobileInfoWindow"); x.extend(Ff.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.Lj=document.createElement("div");this.ci.appendChild(b);this.sp=document.createElement("div");this.sp.className="iw_l";b.appendChild(this.sp);this.Gp=document.createElement("div");this.Gp.className="iw_r";b.appendChild(this.Gp);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.Rf().rD.appendChild(this.ci);this.bind();this.Cd=this.kk.getElementsByTagName("DIV")[0];this.sp.style.display="block";this.Gp.style.display="block";return this.ci},bind:function(){var a=this;x.M(a.sp,"click",function(b){a.QY();b.preventDefault();b.stopPropagation()});x.M(a.Gp,"click",function(b){a.yY();b.preventDefault();b.stopPropagation()});x.M(a.kk,"click",function(a){a.stopPropagation()}); x.Gb("touchstart touchmove touchend gesturestart gesturechange mousedown mouseout mouseover click mousewheel keydown selectstart".split(" "),function(b){x.M(a.kk,b,na);x.M(a.sp,b,na);x.M(a.Gp,b,na)})},YI:s(),NI:s(),ha:function(){return new H(this.hI.lng,this.hI.lat)},ta:s(),Wa:u("pE"),U:function(){x.D.U(this.V);this.ci.style.display="none";this.pE=q},show:function(a){a&&(this.point=a);x.D.show(this.V);this.ci.style.display="block";this.pE=o;this.C.R.ob=this},UZ:function(){var a=this.C,b=this.Uh,c= this.Lj.offsetWidth,d=this.Lj.offsetHeight,e=a.Bb(),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.xg(f.x,f.y)}},switchTo:function(a){this.Uh=a.point;this.cf=a.name;this.gk=a.uid;this.Zj=a.za;this.rT=parseInt(this.C.platform.style.left);this.sT=parseInt(this.C.platform.style.top);this.hI=this.C.wb(this.Uh);this.show();this.tZ();this.RN()},Y3:function(){this.Lj.className= "iw_rt";this.show();this.RN()},tZ:function(){this.kk.setAttribute("href","http://map.baidu.com/place/detail?uid="+this.gk+"&output=html&source=jsapi&operate=mapclick&clicktype=vector");this.Lj.className="iw_rt";this.Cd.innerHTML="<div class=\'iw_poir\'><div class=\'crl_ar\' style=\'white-space:nowrap;text-overflow:ellipsis;overflow:hidden;\'>"+this.cf+"</div></div>";this.draw()},RN:function(){var a=this;a.fE||(a.fE=setTimeout(function(){a.UZ();clearTimeout(a.fE);a.fE=p},100))},P4:function(){var a=$("popList"); 43<this.Cd.textContent.length&&(58<=this.Cd.textContent.length?a.Ua("zoom2"):a.Ua("zoom1"))},E1:function(){this.Cd.innerHTML=""},draw:function(){if(this.Uh){var a=this.Uh,b=a.y;this.ci.style.left=a.x-98-this.rT+"px";this.ci.style.top=b-62-this.sT+"px"}},j3:function(){Va()&&(location.href="http://map.baidu.com/detail?qt=ninf&wd=&detail=scope&uid="+this.gk);G()&&(location.href="http://map.baidu.com/mobile/#place/detail/qt=inf&c=131&uid="+this.gk)},QY:function(){this.C.wb(this.Uh);var a=this.C.fa(), a=Math.pow(2,18-a),b=this.C.Bb(),c=this.C.mc,a="http://map.baidu.com/mobile/?third_party=uri_api#index/searchnearby/foo=bar/"+this.vY({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.cf,from:"searchnearby"});window.open(a,"_blank")},yY:function(){var a=this.C.Yg,b=this.C.Vb()?"&operate=vectorclick":"&operate=mapclick",a=z.wc+"direction?origin=\\u6211\\u7684\\u4f4d\\u7f6e&destination="+this.cf+"&mode=navigation&output=html&src=jsapi"+b+"®ion="+a;Ra("navlinkmobile"); window.open(a,"_blank")},vY:function(a){if(!a)return"";var b=[],c;for(c in a)b.push(c+"="+encodeURIComponent(a[c]));return b.join("&")}});z.tG=Ff;window.Fb={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
|
||
|
_jsload2 && _jsload2('common', 'x.cookie=x.cookie||{};x.cookie.$H=function(a){return RegExp(\'^[^\\\\x00-\\\\x20\\\\x7f\\\\(\\\\)<>@,;:\\\\\\\\\\\\"\\\\[\\\\]\\\\?=\\\\{\\\\}\\\\/\\\\u0080-\\\\uffff]+$\').test(a)};x.cookie.xX=function(a){return x.cookie.$H(a)&&(a=RegExp("(^| )"+a+"=([^;]*)(;|$)").exec(document.cookie))?a[2]||p:p};x.cookie.get=function(a){a=x.cookie.xX(a);return"string"==typeof a?a=decodeURIComponent(a):p}; x.cookie.YN=function(a,b,c){if(x.cookie.$H(a)){var c=c||{},d=c.bh;"number"==typeof c.bh&&(d=new Date,d.setTime(d.getTime()+c.bh));document.cookie=a+"="+b+(c.path?"; path="+c.path:"")+(d?"; expires="+d.toGMTString():"")+(c.domain?"; domain="+c.domain:"")+(c.GZ?"; secure":"")}};x.cookie.set=function(a,b,c){x.cookie.YN(a,encodeURIComponent(b),c)};x.cookie.remove=function(a,b){b=b||{};b.bh=new Date(0);x.cookie.YN(a,"",b)};x.mt=function(a){return/\\d{11}/.test(a)};x.kY=function(a){return/\\d{4}/.test(a)}; x.cs=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('canvablepath', 'function fg(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=fg.GV(a);a=fg.trim(a);this.vP=new function(a){this.LF= a.split(" ");this.reset=function(){this.jh=-1;this.Kt=this.Jw="";this.start=new fg.Yf(0,0);this.Kw=new fg.Yf(0,0);this.ib=new fg.Yf(0,0);this.ia=[];this.Ao=[]};this.aM=function(){return this.jh>=this.LF.length-1};this.wj=function(){return this.aM()?o:this.LF[this.jh+1].match(/^[A-Za-z]$/)!=p};this.qE=function(){switch(this.Jw){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.GL=function(){this.jh++;return this.LF[this.jh]};this.qj=function(){return parseFloat(this.GL())}; this.RY=function(){this.Kt=this.Jw;this.Jw=this.GL()};this.vm=function(){return this.DY(new fg.Yf(this.qj(),this.qj()))};this.yD=function(){var a=this.vm();return this.Kw=a};this.rk=function(){var a=this.vm();return this.ib=a};this.zL=function(){return"c"!=this.Kt.toLowerCase()&&"s"!=this.Kt.toLowerCase()&&"q"!=this.Kt.toLowerCase()&&"t"!=this.Kt.toLowerCase()?this.ib:new fg.Yf(2*this.ib.x-this.Kw.x,2*this.ib.y-this.Kw.y)};this.DY=function(a){this.qE()&&(a.x+=this.ib.x,a.y+=this.ib.y);return a};this.aj= function(a,b,e){e!=p&&(0<this.Ao.length&&this.Ao[this.Ao.length-1]==p)&&(this.Ao[this.Ao.length-1]=Math.atan2(e.y-this.ia[this.ia.length-1].y,e.x-this.ia[this.ia.length-1].x));this.OB(a,b==p?p:Math.atan2(a.y-b.y,a.x-b.x))};this.OB=function(a,b){this.ia.push(a);this.Ao.push(b)}}(a);this.hb=function(){return this.hi(p)};this.hi=function(a){var c=this.vP;c.reset();var d=new fg.bP;for(a!=p&&a.beginPath();!c.aM();)switch(c.RY(),c.Jw){case "M":case "m":var e=c.rk();c.aj(e);d.ng(e.x,e.y);a!=p&&a.moveTo(e.x, e.y);for(c.start=c.ib;!c.wj();)e=c.rk(),c.aj(e,c.start),d.ng(e.x,e.y),a!=p&&a.lineTo(e.x,e.y);break;case "L":case "l":for(;!c.wj();){var f=c.ib,e=c.rk();c.aj(e,f);d.ng(e.x,e.y);a!=p&&a.lineTo(e.x,e.y)}break;case "H":case "h":for(;!c.wj();)e=new fg.Yf((c.qE()?c.ib.x:0)+c.qj(),c.ib.y),c.aj(e,c.ib),c.ib=e,d.ng(c.ib.x,c.ib.y),a!=p&&a.lineTo(c.ib.x,c.ib.y);break;case "V":case "v":for(;!c.wj();)e=new fg.Yf(c.ib.x,(c.qE()?c.ib.y:0)+c.qj()),c.aj(e,c.ib),c.ib=e,d.ng(c.ib.x,c.ib.y),a!=p&&a.lineTo(c.ib.x,c.ib.y); break;case "C":case "c":for(;!c.wj();){var g=c.ib,f=c.vm(),i=c.yD(),e=c.rk();c.aj(e,i,f);d.NB(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.wj();)g=c.ib,f=c.zL(),i=c.yD(),e=c.rk(),c.aj(e,i,f),d.NB(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.wj();)g=c.ib,i=c.yD(),e=c.rk(),c.aj(e,i,i),d.HJ(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.wj();)g= c.ib,i=c.zL(),c.Kw=i,e=c.rk(),c.aj(e,i,i),d.HJ(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.wj();){var g=c.ib,k=c.qj(),l=c.qj(),f=c.qj()*(Math.PI/180),m=c.qj(),i=c.qj(),e=c.rk(),n=new fg.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),t=Math.pow(n.x,2)/Math.pow(k,2)+Math.pow(n.y,2)/Math.pow(l,2);1<t&&(k*=Math.sqrt(t),l*=Math.sqrt(t));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 fg.Yf(m*k*n.y/l,m*-l*n.x/k),g=new fg.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[
|
||
|
_jsload2 && _jsload2('symbol', 'var hg={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,-
|
||
|
_jsload2 && _jsload2('marker', 'function ig(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.ca();this.hg&&this.hg.ra(this.map,this);x.lang.Ca.call(this,this.ba);if(this.V)return this.V.ba=this.ba,this.Qa||x.D.U(this.V),this.V},ca: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.Va),k=Bb();b.pixel=b.jb=new Q(g-f.left+k[1],i-f.top+k[0]);b.point=c.wb(b.jb)}return b}if(this.V){var b=this,c=this.map;x.M(this.V,"mouseover",function(c){b.fl|| b.dispatchEvent(a(c,ma(new O("onmouseover"),c)))});x.M(this.V,"mouseout",function(c){b.fl||b.dispatchEvent(a(c,ma(new O("onmouseout"),c)))});b.z.hf&&(x.M(this.V,"touchstart",function(a){b.ca.GB=new Q(a.changedTouches[0].clientX,a.changedTouches[0].clientY)}),x.M(this.V,"touchend",function(c){var e=ab(),f=new Q(c.changedTouches[0].clientX,c.changedTouches[0].clientY);10<Math.abs(f.x-b.ca.GB.x)||10<Math.abs(f.y-b.ca.GB.y)?b.ca.GB=p:(b.dispatchEvent(a(c,ma(new O("onclick"),c))),e-b.fH<b.map.K.jC&&b.dispatchEvent(a(c, ma(new O("ondblclick"),c))),b.fH=e)}),G()||x.M(this.V,"click",function(c){for(var e=c.srcElement||c.target;e;){if(e===b.V){(!(b instanceof T)||b instanceof T&&(!b.JA||b.JA&&b.ha().nb(b.JA)))&&b.dispatchEvent(a(c,ma(new O("onclick"),c)));break}else if(b.map&&b.map.La&&e===b.map.La.yc)break;e=e.parentNode}}),x.M(this.V,"dblclick",function(c){b.dispatchEvent(a(c,ma(new O("ondblclick"),c)));oa(c)}),(!x.da.nf||4>x.da.nf)&&x.M(this.V,"contextmenu",function(c){b.dispatchEvent(a(c,ma(new O("onrightclick"), c)))}));x.M(this.V,"mousedown",function(c){if(b instanceof T)b.JA=b.ha();b.dispatchEvent(a(c,ma(new O("onmousedown"),c)))});x.M(this.V,"mouseup",function(c){b.dispatchEvent(a(c,ma(new O("onmouseup"),c)));x.da.nf>=4&&(c.button===2&&b.z.hf)&&b.dispatchEvent(a(c,ma(new O("onrightclick"),c)))})}},U:function(){this.Qa!==q&&(this.Qa=q,kc.prototype.U.call(this),this.Cb&&(this.Cb.ab&&this.Cb.ab===this)&&this.Wc())},show:function(){this.Qa!==o&&(this.Qa=o,kc.prototype.show.call(this))},PN:function(a){if(a)for(var b in a)typeof this.z[b]=== typeof a[b]&&(this.z[b]=a[b])},Xt:function(a){this.zIndex=a;this.Nl()},Nl:function(){var a;Eb(this.zIndex)?a=this.zIndex:(a=0,this.map&&this.ha()&&(a=this.ha()?this.ha().lat:0,a=kc.Am(a)+(this.z.XJ||0)));this.V&&(this.V.style.zIndex=a)},wo:function(a){this.hg=a;this.map&&a.ra(this.map,this)},Cp:function(){this.hg.remove();this.hg=p}});S(Ye,{show:Ye.show,hide:Ye.U,addContextMenu:Ye.wo,removeContextMenu:Ye.Cp});T.Iu=kc.Am(-90)+1E6;T.lG=T.Iu+1E6;T.NR=function(a){if(T.Zu[a])return T.Zu[a];var b=T.Zu[a]=["BMap_"+Math.round(1E4*Math.random()),"BMap_"+Math.round(1E4*Math.random())],c=Fc[a],d=T.uU;d||(d=T.uU=M("style",{type:"text/css"}),document.getElementsByTagName("head")[0].appendChild(d));d.textContent+=T.uH(c.Dm,b[0])+T.uH(c.Yt,b[1]);return T.Zu[a]}; T.uH=function(a,b){var c=["@-webkit-keyframes "+b+" {\\\\n"];x.kc.Gb(a,function(a){c.push(100*a.ac,"% { ");c.push("-webkit-transform: translate(",a.translate[0],"px,",a.translate[1],"px); ");c.push("-webkit-animation-timing-function: ",a.hc,"; ");c.push("}\\\\n")});c.push("}\\\\n");return c.join("")}; T.SP=function(a,b){if(!T.Kh&&(T.Kh=M("img",{src:E.qa+"drag_cross.png",width:13,height:9}),T.Kh.style.position="absolute",6==x.da.la)){delete T.Kh;var c=(T.Kh=M("div")).style;c.position="absolute";c.width="13px";c.height="9px";c.filter=\'progid:DXImageTransform.Microsoft.AlphaImageLoader(sizingMethod=image,src="\'+E.qa+\'drag_cross.png")\'}c=T.Kh.style;c.left=a.width-6+"px";c.top=a.height-5+"px";b.appendChild(T.Kh)};T.GT=function(){T.Kh&&T.Kh.parentNode&&T.Kh.parentNode.removeChild(T.Kh)};T.Zu=[]; T.MG=function(){this.style.WebkitAnimation=""}; x.extend(T.prototype,{initialize:function(a){this.er();fb.prototype.initialize.call(this,a);this.Qa||x.D.U(this.Ac);this.ta(this.point);this.Ub(this.z.uj);this.Ay(this.z.Mk);this.Op(this.z.rotation);this.z.label&&this.Tu&&this.z.label.addEventListener("remove",this.Tu);this.fn(this.z.label);this.Cc(this.z.title)
|
||
|
_jsload2 && _jsload2('infowindow', 'x.extend(tc.prototype,{initialize:function(a){var b=this.map=a.map;this.ab=a;this.va();this.ca();this.z.ah?this.ah():this.Ww();this.Tc()&&(this.map.La.jy.style.display="none",this.map.La.gy.style.display=this.z.iD?"block":"none");this.Cc(this.z.title);this.ad(this.content,o);this.z.ZX&&this.XZ(o);this.ge(p,o);if(b=b.La)b.Nm=a instanceof T?a:p},va:function(){var a=this.map,b=a.La,c=this.Di;if(!b){b=a.La={};a.Cb=a.La;var d=[\'<div class="BMap_shadow" style="position: absolute;display:none" type="infowindow_shadow">\']; d.push(\'<div><img onmousedown="return false" style="margin-left: -323px; margin-top: 0px;" src="\'+c+\'iws3.png"/></div>\');d.push(\'<div><img onmousedown="return false" style="margin-left: -393px; margin-top: 0px;" src="\'+c+\'iws3.png"/></div>\');d.push(\'<div><img onmousedown="return false" style="margin-left: -1033px; margin-top: 0px;" src="\'+c+\'iws3.png"/></div>\');d.push(\'<div><img onmousedown="return false" style="margin-top: -30px;" src="\'+c+\'iws3.png"/></div>\');d.push(\'<div><img onmousedown="return false" style="margin-left: -360px; margin-top: -30px;" src="\'+ c+\'iws3.png"/></div>\');d.push(\'<div><img onmousedown="return false" style="margin-top: -30px;" src="\'+c+\'iws3.png"/></div>\');d.push(\'<div><img onmousedown="return false" style="margin-left: -14px; margin-top: -310px;" src="\'+c+\'iws3.png"/></div>\');d.push(\'<div><img onmousedown="return false" style="margin-left: -255px; margin-top: -310px;" src="\'+c+\'iws3.png"/></div>\');d.push(\'<div><img onmousedown="return false" style="margin-left: -440px; margin-top: -310px;" src="\'+c+\'iws3.png"/></div>\');d.push(\'<div><img onmousedown="return false" style="margin-left: -255px; margin-top: -310px;" src="\'+ c+\'iws3.png"/></div>\');d.push(\'<div><img onmousedown="return false" style="margin-left: -754px; margin-top: -310px;" src="\'+c+\'iws3.png"/></div>\');d.push("</div>");d.push(\'<div class="BMap_pop" style="box-sizing:content-box;position:absolute;display:none;cursor:default">\');d.push(\'<div><div style="box-sizing:content-box;background:#fff;border-top:1px solid #ababab;border-left:1px solid #ababab;width:30px;height:30px;"></div></div>\');d.push(\'<div class="BMap_top"></div>\');d.push(\'<div><div style="box-sizing:content-box;position:absolute;top:0;left:-6px;background:#fff;border-top:1px solid #ababab;border-right:1px solid #ababab;width:30px;height:30px;"></div></div>\'); d.push(\'<div class="BMap_center"></div>\');d.push(\'<div><div style="box-sizing:content-box;position:absolute;top:-6px;left:0;background:#fff;border-bottom:1px solid #ababab;border-left:1px solid #ababab;width:30px;height:30px;"></div></div>\');d.push(\'<div class="BMap_bottom"></div>\');d.push(\'<div><div style="box-sizing:content-box;position:absolute;top:-6px;left:-6px;background:#fff;border-right:1px solid #ababab;border-bottom:1px solid #ababab;width:30px;height:30px;"></div></div>\');d.push(\'<div><img style="box-sizing:content-box;border:none;margin:0px;padding:0px;margin-left:-186px;margin-top:-691px;max-width:none; width:690px;height:786px;" src="\'+ c+\'iw3.png"/></div>\');d.push(\'<div style="box-sizing:content-box;overflow-y:hidde;overflow-x:hidde;width:auto;height:auto;position:absolute;left:16px; top:16px;z-index:10;"></div>\');d.push("</div>");b.yc=yb(a.platform,d.join(""));b.cc=b.yc.previousSibling;b.Wm=b.yc.children;b.Zt=b.cc.getElementsByTagName("div");b.ei=b.Wm[8];b.Wp=yb(b.Wm[8],\'<div class="BMap_bubble_title" style="display:block;overflow:hidden;height:24px;line-height:24px;white-space:nowrap"></div>\');b.og=yb(b.Wm[8],\'<div class="BMap_bubble_content" style="display:block"></div>\'); b.qi=yb(b.Wm[8],\'<div class="BMap_bubble_max_content" style="display:none;position:relative"></div>\');a=10;G()&&(a=15);b.Hw=yb(b.yc,\'<img style="position:absolute;top:12px;width:\'+a+"px;height:"+a+\'px;-moz-user-select:none;cursor:pointer;z-index:10000;" src="\'+c+\'iw_close1d3.gif"/>\');b.gy=yb(b.yc,\'<img style="position:absolute;top:12px;width:\'+a+"px;height:"+a+\'px;-moz-user-select:none;cursor:pointer;z
|
||
|
_jsload2 && _jsload2('newvectordrawlib', 'function Gf(a){this.aI=o;this.k=x.object.extend(a||{},{Ch:o});Hc.call(this,this.k);this.yg={};this.loaded=q;this.Gt=p;this.XB=q}Gf.prototype=new Hc; Gf.prototype.ra=function(a){if(!this.loaded){this.loaded=o;var b=this;b.map=a;b.cb=b.map.cb;b.map=a;this.Ib=this.map.pa();this.Pb=this.Ib.k.Pb;this.zc=this.map.K.devicePixelRatio;b.Vw=q;b.wK=p;b.Qe=b.k.style||"normal";b.ln=b.k.styleStr||p;b.dq=200;b.ze=p;b.Zd=0;b.xb=this.cb.Nn(0);b.cb.ld.appendChild(this.xb);b.cb.xb=b.xb;b.Jb=new z.NewVectorDrawLib(a);b.Jb.Pb=this.Ib.k.Pb;b.gs="";b.Jb.mC=b.Qe;b.Zl();b.Qe&&"normal"!==b.Qe||b.ln&&0<b.ln.length?b.Pt(b.Qe,b.ln,function(){b.map.addEventListener("click", function(a){b.Zd++;if(1===b.Zd)b.ze=setTimeout(function(){b.su(a);b.Zd=0},b.dq);else return clearTimeout(b.ze),b.Zd=0,q});b.xb.innerHTML="";b.$d(o)}):(b.$d(),b.map.addEventListener("click",function(a){b.Zd++;if(1===b.Zd)a.ab||(b.ze=setTimeout(function(){b.su(a);b.Zd=0},b.dq));else return clearTimeout(b.ze),b.Zd=0,q}));b.map.K.lj&&(G()&&b.Gf==j)&&(b.Gf=new z.tG(b.map),b.map.Ja(b.Gf))}}; x.extend(Gf.prototype,{Zl:function(){var a=this;setTimeout(function(){a.map.addEventListener("moveend",function(b){"centerAndZoom"!=b.kH&&a.$d()});a.map.addEventListener("zoomend",function(){a.Vw=q;a.$d()});a.map.addEventListener("onresize",function(){a.$d()});Va()&&(a.map.addEventListener("onmoving",function(){a.$d()}),a.map.addEventListener("onmaptypechange",function(){a.$d()}));a.map.addEventListener("mousemove",function(b){a.map.Vb()&&a.EC(b)})},1);a.map.addEventListener("setcustomstyles",function(b){a.nC(b.target)})}, Pt:function(a,b,c){if(this.map.Vb()){var d=this,e=z.wc+"custom/",f;b&&0<b.length?(f="setStyle_"+b.length,e+="mapstyle?styles="+encodeURIComponent(b)):(f="setStyle_"+a,e+="getstyle?customid="+a);f+=this.map.ba;window[f]=function(b,e){var k=x.extend({},d.Jb.oz);d.Jb.Fb=x.extend(k,b);k=z.Db.re(d.Jb.Fb["3181"][1]);d.map.K.Bo=k;d.map.Na().style.backgroundColor=k;c(a);d.map.dispatchEvent(new O("onsetmapstylesuccess",e));delete window[f]};pa(e+("&callback="+f+"&udt=20150526"),q)}},Lp:function(a){var b=this; b.Pt(a.style,a.styleStr,function(a){b.Qe=a;b.Jb.mC=b.Qe;var a=b.Jb.Ms,d;for(d in a)delete a[d];b.YE()})},$d:function(){this.map.fa();this.map.Vb()?(this.xb.style.display="block",this.Jb.Cs(this.zm())):(this.xb.style.display="none",this.xb.innerHTML="")},zm:function(){var a=this.map,b=this.Ib,c=a.fa(),d=a.mc,e=b.Bc(c),f=b.aE(c),b=a.ba.replace(/^TANGRAM_/,""),g=Math.ceil(d.lng/f);column=Math.ceil(d.lat/f);var i=this.Pb,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.Qc?this.Qc.length=0:this.Qc=[];f<m;f++)for(g=l;g<n;g++)this.Qc.push([f,g]);this.Qc.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.xb;e.style.left=-a.offsetX+a.width/2+"px";e.style.top= f+"px";this.Me?this.Me.length=0:this.Me=[];f=0;for(a=e.childNodes.length;f<a;f++)g=e.childNodes[f],g.hr=q,this.Me.push(g);if(f=this.Sm)for(var t in f)delete f[t];else this.Sm={};this.Ne?this.Ne.length=0:this.Ne=[];f=0;for(a=this.Qc.length;f<a;f++){t=this.Qc[f][0];k=this.Qc[f][1];g=0;for(l=this.Me.length;g<l;g++)if(m=this.Me[g],m.id==b+"_"+t+"_"+k+"_"+c){m.hr=o;this.Sm[m.id]=m;break}}f=0;for(a=this.Me.length;f<a;f++)m=this.Me[f],m.hr||(m.Xd=p,delete m.Xd,this.Ne.push(m));this.nn=[];g=i*this.zc;f=0; for(a=this.Qc.length;f<a;f++)t=this.Qc[f][0],k=this.Qc[f][1],l=t*i+d[0],m=(-1-k)*i+d[1],n=b+"_"+t+"_"+k+"_"+c,cvs=this.Sm[n],cvsStyle=p,cvs?(cvsStyle=cvs.style,cvsStyle.left=l+"px",cvsStyle.top=m+"px",cvs.Ze||(cvs.Xd=p,delete cvs.Xd,this.nn.push([t,k,cvs]))):(0<this.Ne.length?(cvs=this.Ne.shift(),cvs.getContext("2d").clearRect(0,0,g,g),cvsStyle=cvs.style):(cvs=document.createElement("canvas"),cvsStyle=cvs.style,cvsStyle.position="absolute",cvsStyle.background="
|
||
|
_jsload2 && _jsload2('markeranimation', 'Fc[1]={options:{duration:400},Dm:[{ac:0,translate:[0,-500],hc:"ease-in"},{ac:0.5,translate:[0,0],hc:"ease-out"},{ac:0.75,translate:[0,-20],hc:"ease-in"},{ac:1,translate:[0,0],hc:"ease-out"}],Yt:[{ac:0,translate:[375,-375],hc:"ease-in"},{ac:0.5,translate:[0,0],hc:"ease-out"},{ac:0.75,translate:[15,-15],hc:"ease-in"},{ac:1,translate:[0,0],hc:"ease-out"}]}; Fc[2]={options:{duration:700,loop:tb},Dm:[{ac:0,translate:[0,0],hc:"ease-out"},{ac:0.5,translate:[0,-20],hc:"ease-in"},{ac:1,translate:[0,0],hc:"ease-out"}],Yt:[{ac:0,translate:[0,0],hc:"ease-out"},{ac:0.5,translate:[15,-15],hc:"ease-in"},{ac:1,translate:[0,0],hc:"ease-out"}]};Fc[3]={options:{duration:200,IO:o},Dm:[{ac:0,translate:[0,0],hc:"ease-in"},{ac:1,translate:[0,-20],hc:"ease-out"}],Yt:[{ac:0,translate:[0,0],hc:"ease-in"},{ac:1,translate:[15,-15],hc:"ease-out"}]}; Fc[4]={options:{duration:500,IO:o},Dm:[{ac:0,translate:[0,-20],hc:"ease-in"},{ac:0.5,translate:[0,0],hc:"ease-out"},{ac:0.75,translate:[0,-10],hc:"ease-in"},{ac:1,translate:[0,-0.0],hc:"ease-out"}],Yt:[{ac:0,translate:[15,-15],hc:"ease-in"},{ac:0.5,translate:[0,0],hc:"ease-out"},{ac:0.75,translate:[8,-8],hc:"ease-in"},{ac:1,translate:[0,0],hc:"ease-out"}]}; ');
|
||
|
_jsload2 && _jsload2('canvablepath', 'function fg(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=fg.GV(a);a=fg.trim(a);this.vP=new function(a){this.LF= a.split(" ");this.reset=function(){this.jh=-1;this.Kt=this.Jw="";this.start=new fg.Yf(0,0);this.Kw=new fg.Yf(0,0);this.ib=new fg.Yf(0,0);this.ia=[];this.Ao=[]};this.aM=function(){return this.jh>=this.LF.length-1};this.wj=function(){return this.aM()?o:this.LF[this.jh+1].match(/^[A-Za-z]$/)!=p};this.qE=function(){switch(this.Jw){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.GL=function(){this.jh++;return this.LF[this.jh]};this.qj=function(){return parseFloat(this.GL())}; this.RY=function(){this.Kt=this.Jw;this.Jw=this.GL()};this.vm=function(){return this.DY(new fg.Yf(this.qj(),this.qj()))};this.yD=function(){var a=this.vm();return this.Kw=a};this.rk=function(){var a=this.vm();return this.ib=a};this.zL=function(){return"c"!=this.Kt.toLowerCase()&&"s"!=this.Kt.toLowerCase()&&"q"!=this.Kt.toLowerCase()&&"t"!=this.Kt.toLowerCase()?this.ib:new fg.Yf(2*this.ib.x-this.Kw.x,2*this.ib.y-this.Kw.y)};this.DY=function(a){this.qE()&&(a.x+=this.ib.x,a.y+=this.ib.y);return a};this.aj= function(a,b,e){e!=p&&(0<this.Ao.length&&this.Ao[this.Ao.length-1]==p)&&(this.Ao[this.Ao.length-1]=Math.atan2(e.y-this.ia[this.ia.length-1].y,e.x-this.ia[this.ia.length-1].x));this.OB(a,b==p?p:Math.atan2(a.y-b.y,a.x-b.x))};this.OB=function(a,b){this.ia.push(a);this.Ao.push(b)}}(a);this.hb=function(){return this.hi(p)};this.hi=function(a){var c=this.vP;c.reset();var d=new fg.bP;for(a!=p&&a.beginPath();!c.aM();)switch(c.RY(),c.Jw){case "M":case "m":var e=c.rk();c.aj(e);d.ng(e.x,e.y);a!=p&&a.moveTo(e.x, e.y);for(c.start=c.ib;!c.wj();)e=c.rk(),c.aj(e,c.start),d.ng(e.x,e.y),a!=p&&a.lineTo(e.x,e.y);break;case "L":case "l":for(;!c.wj();){var f=c.ib,e=c.rk();c.aj(e,f);d.ng(e.x,e.y);a!=p&&a.lineTo(e.x,e.y)}break;case "H":case "h":for(;!c.wj();)e=new fg.Yf((c.qE()?c.ib.x:0)+c.qj(),c.ib.y),c.aj(e,c.ib),c.ib=e,d.ng(c.ib.x,c.ib.y),a!=p&&a.lineTo(c.ib.x,c.ib.y);break;case "V":case "v":for(;!c.wj();)e=new fg.Yf(c.ib.x,(c.qE()?c.ib.y:0)+c.qj()),c.aj(e,c.ib),c.ib=e,d.ng(c.ib.x,c.ib.y),a!=p&&a.lineTo(c.ib.x,c.ib.y); break;case "C":case "c":for(;!c.wj();){var g=c.ib,f=c.vm(),i=c.yD(),e=c.rk();c.aj(e,i,f);d.NB(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.wj();)g=c.ib,f=c.zL(),i=c.yD(),e=c.rk(),c.aj(e,i,f),d.NB(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.wj();)g=c.ib,i=c.yD(),e=c.rk(),c.aj(e,i,i),d.HJ(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.wj();)g= c.ib,i=c.zL(),c.Kw=i,e=c.rk(),c.aj(e,i,i),d.HJ(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.wj();){var g=c.ib,k=c.qj(),l=c.qj(),f=c.qj()*(Math.PI/180),m=c.qj(),i=c.qj(),e=c.rk(),n=new fg.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),t=Math.pow(n.x,2)/Math.pow(k,2)+Math.pow(n.y,2)/Math.pow(l,2);1<t&&(k*=Math.sqrt(t),l*=Math.sqrt(t));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 fg.Yf(m*k*n.y/l,m*-l*n.x/k),g=new fg.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[
|
||
|
_jsload2 && _jsload2('copyrightctrl', 'x.extend(Yb.prototype,{xf:function(){this.C&&this.Ee(this.C)},initialize:function(a){Tb.prototype.initialize.call(this,a);this.Aa();this.ro();this.ca(a);return this.B},ca:function(a){var b=this;a.addEventListener("load",function(){b.ro()});a.addEventListener("moveend",function(){b.ro()});a.addEventListener("zoomend",function(){b.ro()});a.addEventListener("maptypechange",function(){b.B&&(b.B.style.color=b.C.pa().ym())})},Aa:function(){Tb.prototype.Aa.call(this);x.D.Ua(this.B,"BMap_cpyCtrl");var a= this.B.style;a.cursor="default";a.whiteSpace="nowrap";a.MozUserSelect="none";a.color=this.C.pa().ym();a.background="none";a.font="11px/15px "+E.fontFamily;Tb.prototype.Lr.call(this)},ro:function(){if(this.C&&this.B&&0!=this.dc.length)for(var a=0,b=this.dc.length;a<b;a++){this.C.fa();var c=this.C.wb({x:0,y:0}),d=this.C.wb({x:this.C.width,y:this.C.height}),c=new eb(c,d);if(this.dc[a].bounds&&c.it(this.dc[a].bounds)==p){if(this.B)for(d=0;d<this.B.children.length;d++)if(this.B.children[d].getAttribute("_cid")== this.dc[a].id&&"none"!=this.B.children[d].style.display){this.B.children[d].style.display="none";return}}else if(this.B){for(var c=q,d=0,e=this.B.children.length;d<e;d++)if(this.B.children[d].getAttribute("_cid")==this.dc[a].id){c=o;this.B.children[d].style.display="inline";this.B.children[d].innerHTML!=this.dc[a].content&&(this.B.children[d].innerHTML=this.dc[a].content);break}c||this.Sq(this.dc[a])}}},qw:function(a){if(a&&Xa(a.id)&&!isNaN(a.id)){var b={bounds:p,content:""},c;for(c in a)b[c]=a[c]; if(a=this.pm(a.id))for(var d in b)a[d]=b[d];else this.dc.push(b);this.ro()}},pm:function(a){for(var b=0,c=this.dc.length;b<c;b++)if(this.dc[b].id==a)return this.dc[b]},ED:u("dc"),aF:function(a){for(var b,c=0,d=this.dc.length;c<d;c++)this.dc[c].id==a&&(b=this.dc.splice(c,1),c--,d=this.dc.length);(a=this.Id(a))&&a.parentNode&&a.parentNode.removeChild(a);this.ro();return b},Sq:function(a){this.B&&(this.B.innerHTML+="<span _cid=\'"+a.id+"\'>"+a.content+"</span>")},Id:function(a){var b=Tb.prototype.Id.call(this); if(Eb(a)){if(b)for(var c=0,d=b.children.length;c<d;c++)if(b.children[c].getAttribute("_cid")==a)return b.children[c]}else return b}});S(lf,{addCopyright:lf.qw,removeCopyright:lf.aF,getCopyright:lf.pm,getCopyrightCollection:lf.ED}); ');
|