window.BMAP_AUTHENTIC_KEY="fpzGqedB7e8CA8WB8jUgxlOx";(function(){function aa(a){throw a;}var j=void 0,o=!0,p=null,q=!1;function s(){return function(){}}function ba(a){return function(b){this[a]=b}}function u(a){return function(){return this[a]}}function da(a){return function(){return a}}var ea,fa=[];function ha(a){return function(){return fa[a].apply(this,arguments)}}function ia(a,b){return fa[a]=b}var ja,v=ja=v||{version:"1.3.4"};v.Q="$BAIDU$";window[v.Q]=window[v.Q]||{};v.object=v.object||{}; v.extend=v.object.extend=function(a,b){for(var d in b)b.hasOwnProperty(d)&&(a[d]=b[d]);return a};v.C=v.C||{};v.C.N=function(a){return"string"==typeof a||a instanceof String?document.getElementById(a):a&&a.nodeName&&(1==a.nodeType||9==a.nodeType)?a:p};v.N=v.Xb=v.C.N;v.C.J=function(a){a=v.C.N(a);a.style.display="none";return a};v.J=v.C.J;v.lang=v.lang||{};v.lang.qf=function(a){return"[object String]"==Object.prototype.toString.call(a)};v.qf=v.lang.qf; v.C.Bi=function(a){return v.lang.qf(a)?document.getElementById(a):a};v.Bi=v.C.Bi;v.C.contains=function(a,b){var d=v.C.Bi,a=d(a),b=d(b);return a.contains?a!=b&&a.contains(b):!!(a.compareDocumentPosition(b)&16)};v.R=v.R||{};/msie (\d+\.\d)/i.test(navigator.userAgent)&&(v.R.aa=v.aa=document.documentMode||+RegExp.$1);var ka={cellpadding:"cellPadding",cellspacing:"cellSpacing",colspan:"colSpan",rowspan:"rowSpan",valign:"vAlign",usemap:"useMap",frameborder:"frameBorder"}; 8>v.R.aa?(ka["for"]="htmlFor",ka["class"]="className"):(ka.htmlFor="for",ka.className="class");v.C.VB=ka;v.C.JA=function(a,b,d){a=v.C.N(a);if("style"==b)a.style.cssText=d;else{b=v.C.VB[b]||b;a.setAttribute(b,d)}return a};v.JA=v.C.JA;v.C.KA=function(a,b){var a=v.C.N(a),d;for(d in b)v.C.JA(a,d,b[d]);return a};v.KA=v.C.KA;v.zj=v.zj||{};(function(){var a=RegExp("(^[\\s\\t\\xa0\\u3000]+)|([\\u3000\\xa0\\s\\t]+$)","g");v.zj.trim=function(b){return(""+b).replace(a,"")}})();v.trim=v.zj.trim; v.zj.Nk=function(a,b){var a=""+a,d=Array.prototype.slice.call(arguments,1),e=Object.prototype.toString;if(d.length){d=d.length==1?b!==p&&/\[object Array\]|\[object Object\]/.test(e.call(b))?b:d:d;return a.replace(/#\{(.+?)\}/g,function(a,b){var i=d[b];"[object Function]"==e.call(i)&&(i=i(b));return"undefined"==typeof i?"":i})}return a};v.Nk=v.zj.Nk; v.C.Rb=function(a,b){for(var a=v.C.N(a),d=a.className.split(/\s+/),e=b.split(/\s+/),f,g=e.length,i,k=0;k0&&b.getBoxObjectFor&&e(a,"position");var f={left:0,top:0},g;if(a==(d.aa&&!d.Yz?b.body:b.documentElement))return f;if(a.getBoundingClientRect){a=a.getBoundingClientRect();f.left=Math.floor(a.left)+Math.max(b.documentElement.scrollLeft,b.body.scrollLeft);f.top=Math.floor(a.top)+Math.max(b.documentElement.scrollTop,b.body.scrollTop);f.left=f.left-b.documentElement.clientLeft;f.top=f.top-b.documentElement.clientTop;a=b.body;b=parseInt(e(a, "borderLeftWidth"));e=parseInt(e(a,"borderTopWidth"));if(d.aa&&!d.Yz){f.left=f.left-(isNaN(b)?2:b);f.top=f.top-(isNaN(e)?2:e)}}else{g=a;do{f.left=f.left+g.offsetLeft;f.top=f.top+g.offsetTop;if(d.NG>0&&e(g,"position")=="fixed"){f.left=f.left+b.body.scrollLeft;f.top=f.top+b.body.scrollTop;break}g=g.offsetParent}while(g&&g!=a);if(d.opera>0||d.NG>0&&e(a,"position")=="absolute")f.top=f.top-b.body.offsetTop;for(g=a.offsetParent;g&&g!=b.body;){f.left=f.left-g.scrollLeft;if(!d.opera||g.tagName!="TR")f.top= f.top-g.scrollTop;g=g.offsetParent}}return f};/firefox\/(\d+\.\d)/i.test(navigator.userAgent)&&(v.R.Tf=+RegExp.$1);/BIDUBrowser/i.test(navigator.userAgent)&&(v.R.lV=o);var la=navigator.userAgent;/(\d+\.\d)?(?:\.\d)?\s+safari\/?(\d+\.\d+)?/i.test(la)&&!/chrome/i.test(la)&&(v.R.bI=+(RegExp.$1||RegExp.$2));/chrome\/(\d+\.\d)/i.test(navigator.userAgent)&&(v.R.RE=+RegExp.$1);v.Ob=v.Ob||{};v.Ob.vb=function(a,b){var d,e,f=a.length;if("function"==typeof b)for(e=0;e-1};v.xF=function(){function a(a){document.addEventListener&&(this.element=a,this.AF=this.Zk?"touchstart":"mousedown",this.Vy=this.Zk?"touchmove":"mousemove",this.Uy=this.Zk?"touchend":"mouseup",this.hg=q,this.Wq=this.Vq=0,this.element.addEventListener(this.AF,this,q),ja.D(this.element,"mousedown",s()),this.handleEvent(p))}a.prototype={Zk:"ontouchstart"in window||"createTouch"in document,start:function(a){ma(a);this.hg=q;this.Vq=this.Zk?a.touches[0].clientX:a.clientX;this.Wq=this.Zk?a.touches[0].clientY: a.clientY;this.element.addEventListener(this.Vy,this,q);this.element.addEventListener(this.Uy,this,q)},move:function(a){na(a);var d=this.Zk?a.touches[0].clientY:a.clientY;if(10d&&(e=o,a=d);return{zoom:a,Wy:e}},Da:u("Ga"),Db:function(a,b){b=b||this.$();return this.Hd.Db(a,b,this.gc,this.yb(),this.Cb)},ib:function(a,b){b=b||this.$();return this.Hd.ib(a,b,this.gc,this.yb(),this.Cb)},$d:function(a,b){if(a){var d=this.Db(new I(a.lng,a.lat),b);d.x-=this.offsetX;d.y-=this.offsetY;return d}},LH:function(a,b){if(a){var d= new P(a.x,a.y);d.x+=this.offsetX;d.y+=this.offsetY;return this.ib(d,b)}},pointToPixelFor3D:function(a,b){var d=map.Cb;this.rb==Na&&d&&ab.ZE(a,this,b)},SW:function(a,b){var d=map.Cb;this.rb==Na&&d&&ab.YE(a,this,b)},TW:function(a,b){var d=this,e=map.Cb;d.rb==Na&&e&&ab.ZE(a,d,function(a){a.x-=d.offsetX;a.y-=d.offsetY;b&&b(a)})},QW:function(a,b){var d=map.Cb;this.rb==Na&&d&&(a.x+=this.offsetX,a.y+=this.offsetY,ab.YE(a,this,b))},Oe:function(a){if(!this.Uz())return new bb;var b=a||{},a=b.margins||[0,0, 0,0],d=b.zoom||p,b=this.ib({x:a[3],y:this.height-a[2]},d),a=this.ib({x:this.width-a[1],y:a[0]},d);return new bb(b,a)},Uz:function(){return!!this.loaded},AL:function(a,b){for(var d=this.ma(),e=b.margins||[10,10,10,10],f=b.zoomFactor||0,g=e[1]+e[3],e=e[0]+e[2],i=d.Im(),k=d=d.Rk();k>=i;k--){var l=this.ma().ac(k);if(a.gB().lng/ld&&(k=d);return k},dq:function(a,b){var d={center:this.Fa(),zoom:this.$()};if(!a||!a instanceof bb&&0==a.length|| a instanceof bb&&a.ji())return d;var e=[];a instanceof bb?(e.push(a.Pe()),e.push(a.Yd())):e=a.slice(0);for(var b=b||{},f=[],g=0,i=e.length;gb&&(d.Fd=b)},setMinZoom:function(a){a>this.F.Fd&&(a=this.F.Fd);this.F.RI=a;this.iE()},setMaxZoom:function(a){aa.Fd&&this.od(a.Fd);var b=new N("onzoomspanchange");b.Vc=a.Vc;b.Fd=a.Fd;this.dispatchEvent(b)},nW:u("Ax"),getKey:function(){return oa},yn:function(a){window.MPC_Mgr&&window.MPC_Mgr.close();var b=this;b.F.Cm=q;if(a){if(a.styleId)this.fG(a.styleId);else{b=this;a.styleJson&&(a.styleStr=b.wT(a.styleJson));F()&&v.R.bI?setTimeout(function(){b.F.Dd=a;b.dispatchEvent(new N("onsetcustomstyles",a))},50):(this.F.Dd=a,this.dispatchEvent(new N("onsetcustomstyles", a)),this.AG(b.F.Dd.geotableId));this.zG(a.controls);var d={style:a.style};a.features&&0=this.F.lB&&this.ma()==La&&18>=this.$(),b=q;try{document.createElement("canvas").getContext("2d"),b=o}catch(d){b=q}return a&&b},getCurrentCity:function(){return{name:this.um,code:this.Nx}},getPanorama:u("H"),setPanorama:function(a){this.H=a;this.H.NA(this)},wT:function(a){for(var b={featureType:"t",elementType:"e",visibility:"v",color:"c",lightness:"l",saturation:"s",weight:"w",zoom:"z", hue:"h"},d={all:"all",geometry:"g","geometry.fill":"g.f","geometry.stroke":"g.s",labels:"l","labels.text.fill":"l.t.f","labels.text.stroke":"l.t.s","lables.text":"l.t","labels.icon":"l.i"},e=[],f=0,g;g=a[f];f++){var i=g.stylers;delete g.stylers;v.extend(g,i);var i=[],k;for(k in b)g[k]&&("elementType"==k?i.push(b[k]+":"+d[g[k]]):i.push(b[k]+":"+g[k]));2=a.ew?(Ua(a.k.qa)&&a.k.qa(a.k.sd(1)),Ua(a.k.finish)&&a.k.finish(),0a?2*a*a:-2*(a-2)*a-1},FV:function(a){return 0.5>a?4*Math.pow(a,3):4*Math.pow(a-1,3)+1},GV:function(a){return(1-Math.cos(Math.PI*a))/2}};tb["ease-in"]=tb.Jy;tb["ease-out"]=tb.uF;var D={sB:34,tB:21,uB:new M(21,32),hJ:new M(10,32),gJ:new M(24,36),fJ:new M(12,36),qB:new M(13,1),da:C.ca+"images/",rB:C.ca+"images/markers_new.png",dJ:24,eJ:73,Tx:{"\u5317\u4eac":{yu:"bj",m:new I(116.403874,39.914889)},"\u4e0a\u6d77":{yu:"sh",m:new I(121.487899,31.249162)},"\u6df1\u5733":{yu:"sz",m:new I(114.025974,22.546054)},"\u5e7f\u5dde":{yu:"gz",m:new I(113.30765,23.120049)}},fontFamily:"arial,sans-serif"}; v.R.Tf?(v.extend(D,{lF:"url("+D.da+"ruler.cur),crosshair",Gb:"-moz-grab",Rc:"-moz-grabbing"}),v.platform.OG&&(D.fontFamily="arial,simsun,sans-serif")):v.R.RE||v.R.bI?v.extend(D,{lF:"url("+D.da+"ruler.cur) 2 6,crosshair",Gb:"url("+D.da+"openhand.cur) 8 8,default",Rc:"url("+D.da+"closedhand.cur) 8 8,move"}):v.extend(D,{lF:"url("+D.da+"ruler.cur),crosshair",Gb:"url("+D.da+"openhand.cur),default",Rc:"url("+D.da+"closedhand.cur),move"});function wb(a,b){var d=a.style;d.left=b[0]+"px";d.top=b[1]+"px"}function xb(a){0>4,e=(e&15)<<4|g>>2,f=(g&3)<<6|i,b+=String.fromCharCode(d),64!=g&&(b+=String.fromCharCode(e)),64!=i&&(b+=String.fromCharCode(f));while(k';var b=a.firstChild;if(!b.style)return q;b.style.behavior="url(#default#VML)";b=b?"object"==typeof b.adj:o;a.parentNode.removeChild(a);return b}function Kb(){return!!document.implementation.hasFeature("http://www.w3.org/TR/SVG11/feature#Shape","1.1")} function Lb(){return!!L("canvas").getContext}C.IR=function(){var a=o,b=o,d=o,e=o,f=0,g=0,i=0,k=0;return{EK:function(){f+=1;a&&(a=q,setTimeout(function(){Oa(5054,{pic:f});a=o;f=0},1E4))},CU:function(){g+=1;b&&(b=q,setTimeout(function(){Oa(5055,{move:g});b=o;g=0},1E4))},EU:function(){i+=1;d&&(d=q,setTimeout(function(){Oa(5056,{zoom:i});d=o;i=0},1E4))},DU:function(a){k+=a;e&&(e=q,setTimeout(function(){Oa(5057,{tile:k});e=o;k=0},5E3))}}}();var Xa; (function(){function a(a){this.gO=a;this.timing={};this.start=+new Date}function b(a,b){if(a.length===+a.length)for(var d=0,e=a.length;d=i&&m.send())},error:s()};Xa={Hl:{Pz:function(a){var b=navigator.wV||navigator.GW||navigator.CX||{type:0};g=Math.random()<=(a.GS||0.01);i=a.max||5;k=a.FW||b.type;l={p:a.qS,mnt:k,b:50};window.localStorage&&(window.JSON&&window.addEventListener)&& (f=e.get(o),window.addEventListener("load",function(){m.send(f)},q))},Ap:function(b){return new a(b)}}}})();Xa.Hl.Pz({qS:18,GS:0.1,max:1});C.Pn={HB:"#83a1ff",Rn:"#808080"};function fb(a,b){if(b){var d=(1E5*Math.random()).toFixed(0);C._rd["_cbk"+d]=function(a){b&&b(a);delete C._rd["_cbk"+d]};a+="&callback=BMap._rd._cbk"+d}var e=L("script",{type:"text/javascript"});e.charset="utf-8";e.src=a;e.addEventListener?e.addEventListener("load",function(a){a=a.target;a.parentNode.removeChild(a)},q):e.attachEvent&&e.attachEvent("onreadystatechange",function(){var a=window.event.srcElement;a&&("loaded"==a.readyState||"complete"==a.readyState)&&a.parentNode.removeChild(a)});setTimeout(function(){document.getElementsByTagName("head")[0].appendChild(e); e=p},1)};var Mb={map:"pvu1om",common:"wjyrdz",style:"pgq3iu",tile:"v1otxj",groundoverlay:"j3wbdg",pointcollection:"vfsfov",marker:"evvsik",symbol:"wxdhrg",canvablepath:"rtkcqo",vmlcontext:"oysd5s",markeranimation:"f0ufkl",poly:"0w5u20",draw:"sper0m",drawbysvg:"qydmwo",drawbyvml:"k2d3y0",drawbycanvas:"v3zcxu",infowindow:"5pqfh3", oppc:"jgp5tf",opmb:"0mgrjl",menu:"rafhul",control:"kb0hci",navictrl:"2nq1hv",geoctrl:"rwytiz",copyrightctrl:"y2yjnv",scommon:"ktcda3",local:"pvdvag",route:"ayw2lc",othersearch:"tow5kq",mapclick:"gh3mwu",buslinesearch:"qvczd0",hotspot:"lpihxg",autocomplete:"vxbf0t",coordtrans:"hbze4q",coordtransutils:"mqp0qo", clayer:"trmb5i",panorama:"i1wy2h",pservice:"zd2xyg",pcommon:"q04nsl",panoramaflash:"24ls3e",vector:"uvpyd4"}; v.Xu=function(){function a(a){return e&&!!d[b+a+"_"+Mb[a]]}var b="BMap_",d=window.localStorage,e="localStorage"in window&&d!==p&&d!==j;return{xR:e,set:function(a,g){if(e){for(var i=b+a+"_",k=d.length,l;k--;)l=d.key(k),-1");this.Ea==q&&v.C.J(this.A);return this.A},ns:function(){this.Sb(this.k.anchor)},Sb:function(a){if(this.hV||!Ta(a)||isNaN(a)||a=a?a:0},Rm:function(){return this.k.type},ze:function(){var a=this;K.load("navictrl",function(){a.Df()})}});function Qb(a){R.call(this);a=a||{};this.k={anchor:a.anchor||Pb,na:a.offset||new M(10,30),kX:a.showAddressBar||q,IV:a.enableAutoLocation||q,cH:a.locationIcon||p};var b=this;this.Hv=1200;b.aU=[];this.yd=[];K.load("geoctrl",function(){(function e(){if(0!==b.yd.length){var a=b.yd.shift();b[a.method].apply(b,a.arguments);e()}})();b.XJ()});Oa(Ja)}v.lang.ga(Qb,R,"GeolocationControl");v.extend(Qb.prototype,{location:function(){this.yd.push({method:"location",arguments:arguments})},getAddressComponent:da(p)});function Rb(a){R.call(this);a=a||{};this.k={kg:q,anchor:a.anchor,na:a.offset};this.Bb=[];this.defaultAnchor=Pb;this.defaultOffset=new M(5,2);this.Sb(a.anchor);this.IE=q;this.ze()}v.lang.ga(Rb,R,"CopyrightControl"); v.object.extend(Rb.prototype,{initialize:function(a){this.B=a;return this.A},Ns:function(a){if(a&&Ta(a.id)&&!isNaN(a.id)){var b={bounds:p,content:""},d;for(d in a)b[d]=a[d];if(a=this.Pk(a.id))for(var e in b)a[e]=b[e];else this.Bb.push(b)}},Pk:function(a){for(var b=0,d=this.Bb.length;b=a.SN)){for(var b=0,d=this.ka.length;ba)&&this.ka[b].yi--;this.Od.splice(a,1)}},Uc:u("A"),show:function(){this.Fg!=o&&(this.Fg=o)},J:function(){this.Fg!=q&&(this.Fg=q)},SS:function(a){a&&(this.k.cursor=a)},getItem:function(a){return this.Fe[a]}});function Wb(a,b,d){if(a&&Ua(b)){v.lang.oa.call(this);this.k={width:100,id:""};d=d||{};this.k.width=1*d.width?d.width:100;this.k.id=d.id?d.id:"";this.Mh=a+"";this.Jv=b;this.B=p;this.lb="menuitem";this.A=this.wg=p;this.Ag=o;var e=this;K.load("menu",function(){e.ob()})}}v.lang.ga(Wb,v.lang.oa,"MenuItem"); v.object.extend(Wb.prototype,{ea:function(a,b){this.B=a;this.wg=b},remove:function(){this.B=this.wg=p},Mq:function(a){a&&(this.Mh=a+"")},Uc:u("A"),enable:function(){this.Ag=o},disable:function(){this.Ag=q}});function bb(a,b){a&&!b&&(b=a);this.Sd=this.Rd=this.Wd=this.Vd=this.nk=this.Yj=p;a&&(this.nk=new I(a.lng,a.lat),this.Yj=new I(b.lng,b.lat),this.Wd=a.lng,this.Vd=a.lat,this.Sd=b.lng,this.Rd=b.lat)} v.object.extend(bb.prototype,{ji:function(){return!this.nk||!this.Yj},wb:function(a){return!(a instanceof bb)||this.ji()?q:this.Yd().wb(a.Yd())&&this.Pe().wb(a.Pe())},Yd:u("nk"),Pe:u("Yj"),QO:function(a){return!(a instanceof bb)||this.ji()||a.ji()?q:a.Wd>this.Wd&&a.Sdthis.Vd&&a.RdMath.max(this.Wd, this.Sd)||Math.max(a.Vd,a.Rd)Math.max(this.Vd,this.Rd))return p;var b=Math.max(this.Wd,a.Wd),d=Math.min(this.Sd,a.Sd),e=Math.max(this.Vd,a.Vd),a=Math.min(this.Rd,a.Rd);return new bb(new I(b,e),new I(d,a))},ft:function(a){return!(a instanceof I)||this.ji()?q:a.lng>=this.Wd&&a.lng<=this.Sd&&a.lat>=this.Vd&&a.lat<=this.Rd},extend:function(a){if(a instanceof I){var b=a.lng,a=a.lat;this.nk||(this.nk=new I(0,0));this.Yj||(this.Yj=new I(0,0));if(!this.Wd|| this.Wd>b)this.nk.lng=this.Wd=b;if(!this.Sd||this.Sda)this.nk.lat=this.Vd=a;if(!this.Rd||this.Rd=a.lng&&-180<=a.lng&&74>=a.lat&&-74<=a.lat};I.prototype.wb=function(a){return a&&this.lat==a.lat&&this.lng==a.lng};function Xb(){}Xb.prototype.eg=function(){aa("lngLatToPoint\u65b9\u6cd5\u672a\u5b9e\u73b0")};Xb.prototype.jh=function(){aa("pointToLngLat\u65b9\u6cd5\u672a\u5b9e\u73b0")};function Yb(){};var ab={ZE:function(a,b,d){K.load("coordtransutils",function(){ab.lO(a,b,d)},o)},YE:function(a,b,d){K.load("coordtransutils",function(){ab.kO(a,b,d)},o)}};function Q(){}Q.prototype=new Xb; v.extend(Q,{rJ:6370996.81,NB:[1.289059486E7,8362377.87,5591021,3481989.83,1678043.12,0],pr:[75,60,45,30,15,0],xJ:[[1.410526172116255E-8,8.98305509648872E-6,-1.9939833816331,200.9824383106796,-187.2403703815547,91.6087516669843,-23.38765649603339,2.57121317296198,-0.03801003308653,1.73379812E7],[-7.435856389565537E-9,8.983055097726239E-6,-0.78625201886289,96.32687599759846,-1.85204757529826,-59.36935905485877,47.40033549296737,-16.50741931063887,2.28786674699375,1.026014486E7],[-3.030883460898826E-8, 8.98305509983578E-6,0.30071316287616,59.74293618442277,7.357984074871,-25.38371002664745,13.45380521110908,-3.29883767235584,0.32710905363475,6856817.37],[-1.981981304930552E-8,8.983055099779535E-6,0.03278182852591,40.31678527705744,0.65659298677277,-4.44255534477492,0.85341911805263,0.12923347998204,-0.04625736007561,4482777.06],[3.09191371068437E-9,8.983055096812155E-6,6.995724062E-5,23.10934304144901,-2.3663490511E-4,-0.6321817810242,-0.00663494467273,0.03430082397953,-0.00466043876332,2555164.4], [2.890871144776878E-9,8.983055095805407E-6,-3.068298E-8,7.47137025468032,-3.53937994E-6,-0.02145144861037,-1.234426596E-5,1.0322952773E-4,-3.23890364E-6,826088.5]],KB:[[-0.0015702102444,111320.7020616939,1704480524535203,-10338987376042340,26112667856603880,-35149669176653700,26595700718403920,-10725012454188240,1800819912950474,82.5],[8.277824516172526E-4,111320.7020463578,6.477955746671607E8,-4.082003173641316E9,1.077490566351142E10,-1.517187553151559E10,1.205306533862167E10,-5.124939663577472E9, 9.133119359512032E8,67.5],[0.00337398766765,111320.7020202162,4481351.045890365,-2.339375119931662E7,7.968221547186455E7,-1.159649932797253E8,9.723671115602145E7,-4.366194633752821E7,8477230.501135234,52.5],[0.00220636496208,111320.7020209128,51751.86112841131,3796837.749470245,992013.7397791013,-1221952.21711287,1340652.697009075,-620943.6990984312,144416.9293806241,37.5],[-3.441963504368392E-4,111320.7020576856,278.2353980772752,2485758.690035394,6070.750963243378,54821.18345352118,9540.606633304236, -2710.55326746645,1405.483844121726,22.5],[-3.218135878613132E-4,111320.7020701615,0.00369383431289,823725.6402795718,0.46104986909093,2351.343141331292,1.58060784298199,8.77738589078284,0.37238884252424,7.45]],VV:function(a,b){if(!a||!b)return 0;var d,e,a=this.qb(a);if(!a)return 0;d=this.Aj(a.lng);e=this.Aj(a.lat);b=this.qb(b);return!b?0:this.oe(d,this.Aj(b.lng),e,this.Aj(b.lat))},Gm:function(a,b){if(!a||!b)return 0;a.lng=this.xz(a.lng,-180,180);a.lat=this.Cz(a.lat,-74,74);b.lng=this.xz(b.lng,-180, 180);b.lat=this.Cz(b.lat,-74,74);return this.oe(this.Aj(a.lng),this.Aj(b.lng),this.Aj(a.lat),this.Aj(b.lat))},qb:function(a){if(a===p||a===j)return new I(0,0);var b,d;b=new I(Math.abs(a.lng),Math.abs(a.lat));for(var e=0;e=this.NB[e]){d=this.xJ[e];break}a=this.$E(a,d);return a=new I(a.lng.toFixed(6),a.lat.toFixed(6))},pb:function(a){if(a===p||a===j||180a.lng||90a.lat)return new I(0,0);var b,d;a.lng=this.xz(a.lng,-180,180);a.lat=this.Cz(a.lat,-74, 74);b=new I(a.lng,a.lat);for(var e=0;e=this.pr[e]){d=this.KB[e];break}if(!d)for(e=this.pr.length-1;0<=e;e--)if(b.lat<=-this.pr[e]){d=this.KB[e];break}a=this.$E(a,d);return a=new I(a.lng.toFixed(2),a.lat.toFixed(2))},$E:function(a,b){if(a&&b){var d=b[0]+b[1]*Math.abs(a.lng),e=Math.abs(a.lat)/b[9],e=b[2]+b[3]*e+b[4]*e*e+b[5]*e*e*e+b[6]*e*e*e*e+b[7]*e*e*e*e*e+b[8]*e*e*e*e*e*e,d=d*(0>a.lng?-1:1),e=e*(0>a.lat?-1:1);return new I(d,e)}},oe:function(a,b,d,e){return this.rJ*Math.acos(Math.sin(d)* Math.sin(e)+Math.cos(d)*Math.cos(e)*Math.cos(b-a))},Aj:function(a){return Math.PI*a/180},qX:function(a){return 180*a/Math.PI},Cz:function(a,b,d){b!=p&&(a=Math.max(a,b));d!=p&&(a=Math.min(a,d));return a},xz:function(a,b,d){for(;a>d;)a-=d-b;for(;av.R.aa||"BackCompat"==document.compatMode?a.addEventListener("zoomend",function(a){setTimeout(function(){b.draw(a)},20)}):a.addEventListener("zoomend",function(a){b.draw(a)});a.addEventListener("maptypechange",function(a){b.draw(a)});a.addEventListener("addoverlay",function(a){a=a.target;if(a instanceof cb)b.la[a.Q]||(b.la[a.Q]= a);else{for(var e=q,f=0,g=b.Nd.length;f=this.z.cc&&(this.z.cc=5);if(0>this.z.qd||1this.z.Sf||1a)||(this.z.qd=a)},HQ:function(){return this.z.qd},Lu:function(a){1a||(this.z.Sf=a)},gQ:function(){return this.z.Sf},Kq:function(a){"solid"!=a&&"dashed"!=a||(this.z.strokeStyle=a)},dG:function(){return this.z.strokeStyle},setFillColor:function(a){this.z.fillColor=a||""},fQ:function(){return this.z.fillColor},Oe:u("Gv"),remove:function(){this.map&&this.map.removeEventListener("onmousemove",this.Pr);cb.prototype.remove.call(this);this.fe.length=0},Me:function(){if(!(2> this.V.length)){this.z.Me=o;var a=this;K.load("poly",function(){a.sk()},o)}},oP:function(){this.z.Me=q;var a=this;K.load("poly",function(){a.Ri()},o)}});function bc(a){cb.call(this);this.K=this.map=p;this.z={width:0,height:0,na:new M(0,0),opacity:1,background:"transparent",fu:1,UG:"#000",GR:"solid",point:p};this.dI(a);this.point=this.z.point}v.lang.ga(bc,cb,"Division"); v.extend(bc.prototype,{Jj:function(){var a=this.z,b=this.content,d=['
');d.push(b);d.push("
");this.K=zb(this.map.Qe().fA,d.join(""))},initialize:function(a){this.map=a;this.Jj(); this.K&&v.D(this.K,F()?"touchstart":"mousedown",function(a){ma(a)});return this.K},draw:function(){var a=this.map.$d(this.z.point);this.z.na=new M(-Math.round(this.z.width/2)-Math.round(this.z.fu),-Math.round(this.z.height/2)-Math.round(this.z.fu));this.K.style.left=a.x+this.z.na.width+"px";this.K.style.top=a.y+this.z.na.height+"px"},T:function(){return this.z.point},OU:function(){return this.map.Db(this.T())},ha:function(a){this.z.point=a;this.draw()},TS:function(a,b){this.z.width=Math.round(a); this.z.height=Math.round(b);this.K&&(this.K.style.width=this.z.width+"px",this.K.style.height=this.z.height+"px",this.draw())}});function cc(a,b,d){a&&b&&(this.imageUrl=a,this.size=b,a=new M(Math.floor(b.width/2),Math.floor(b.height/2)),d=d||{},a=d.anchor||a,b=d.imageOffset||new M(0,0),this.imageSize=d.imageSize,this.anchor=a,this.imageOffset=b,this.infoWindowAnchor=d.infoWindowAnchor||this.anchor,this.printImageUrl=d.printImageUrl||"")} v.extend(cc.prototype,{aT:function(a){a&&(this.imageUrl=a)},lT:function(a){a&&(this.printImageUrl=a)},Zc:function(a){a&&(this.size=new M(a.width,a.height))},Sb:function(a){a&&(this.anchor=new M(a.width,a.height))},Fq:function(a){a&&(this.imageOffset=new M(a.width,a.height))},cT:function(a){a&&(this.infoWindowAnchor=new M(a.width,a.height))},ZS:function(a){a&&(this.imageSize=new M(a.width,a.height))},toString:da("Icon")});function dc(a,b){if(a){b=b||{};this.style={anchor:b.anchor||new M(0,0),fillColor:b.fillColor||"#000",Sf:b.fillOpacity||0,scale:b.scale||1,rotation:b.rotation||0,strokeColor:b.strokeColor||"#000",qd:b.strokeOpacity||1,cc:b.strokeWeight};this.lb="number"===typeof a?a:"UserDefined";this.wh=this.style.anchor;this.Oo=new M(0,0);this.anchor=p;this.ax=a;var d=this;K.load("symbol",function(){d.Ll()})}} v.extend(dc.prototype,{setPath:ba("ax"),setAnchor:function(a){this.wh=this.style.anchor=a},setRotation:function(a){this.style.rotation=a},setScale:function(a){this.style.scale=a},setStrokeWeight:function(a){this.style.cc=a},setStrokeColor:function(a){a=v.wp.by(a,this.style.qd);this.style.strokeColor=a},setStrokeOpacity:function(a){this.style.qd=a},setFillOpacity:function(a){this.style.Sf=a},setFillColor:function(a){this.style.fillColor=a}});function ec(a,b,d,e){a&&(this.fs={},this.EF=e?!!e:q,this.oc=[],this.AT=a instanceof dc?a:p,this.AD=b===j?o:!!(b.indexOf("%")+1),this.Fi=isNaN(parseFloat(b))?1:this.AD?parseFloat(b)/100:parseFloat(b),this.BD=!!(d.indexOf("%")+1),this.repeat=d!=j?this.BD?parseFloat(d)/100:parseFloat(d):0)};function fc(a,b){v.lang.oa.call(this);this.content=a;this.map=p;b=b||{};this.z={width:b.width||0,height:b.height||0,maxWidth:b.maxWidth||730,na:b.offset||new M(0,0),title:b.title||"",gA:b.maxContent||"",Qf:b.enableMaximize||q,Np:b.enableAutoPan===q?q:o,Ly:b.enableCloseOnClick===q?q:o,margin:b.margin||[10,10,40,10],Zx:b.collisions||[[10,10],[10,10],[10,10],[10,10]],fR:q,aS:b.onClosing||da(o),Oy:b.enableMessage===q?q:o,Qy:b.enableParano===o?o:q,message:b.message,Sy:b.enableSearchTool===o?o:q,Wt:b.headerContent|| ""};if(0!=this.z.width&&(220>this.z.width&&(this.z.width=220),730this.z.height&&(this.z.height=60),650this.z.maxWidth&&(this.z.maxWidth=220),730a)||(0!=a&&(220>a&&(a=220),730a)||(0!=a&&(60>a&&(a=60),650a)||(0!=a&&(220>a&&(a=220),730this.z.width&&(this.z.width=0);Fb(b.enableClicking)&&(this.z.je=b.enableClicking);this.point=this.z.position;var d=this;K.load("marker",function(){d.ob()})}v.lang.ga(gc,cb,"Label"); v.extend(gc.prototype,{T:function(){return this.Yr?this.Yr.T():this.point},ha:function(a){a instanceof I&&!this.Lt()&&(this.point=this.z.position=new I(a.lng,a.lat))},yc:ba("content"),OA:function(a){0<=a&&1>=a&&(this.z.opacity=a)},Id:function(a){a instanceof M&&(this.z.na=new M(a.width,a.height))},Zf:function(){return this.z.na},$c:function(a){a=a||{};this.z.Dn=v.extend(this.z.Dn,a)},lh:function(a){return this.$c(a)},Wb:function(a){this.z.title=a||""},getTitle:function(){return this.z.title},gI:function(a){this.point= (this.Yr=a)?this.z.position=a.T():this.z.position=p},Lt:function(){return this.Yr||p},Zi:u("content")});function hc(a,b){if(0!==arguments.length){cb.apply(this,arguments);b=b||{};this.z={Pa:a,opacity:b.opacity||1,bl:b.bl||"",zm:b.zm||1,ym:b.ym||18};var d=this;K.load("groundoverlay",function(){d.ob()})}}v.lang.ga(hc,cb,"GroundOverlay"); v.extend(hc.prototype,{setBounds:function(a){this.z.Pa=a},getBounds:function(){return this.z.Pa},setOpacity:function(a){this.z.opacity=a},getOpacity:function(){return this.z.opacity},setImageURL:function(a){this.z.bl=a},getImageURL:function(){return this.z.bl},setDispalyOnMinLevel:function(a){this.z.zm=a},getDispalyOnMinLevel:function(){return this.z.zm},setDispalyOnMaxLevel:function(a){this.z.ym=a},getDispalyOnMaxLevel:function(){return this.z.ym}});var ic=3,jc=4;function kc(){var a=document.createElement("canvas");return!(!a.getContext||!a.getContext("2d"))} function lc(a,b){var d=this;kc()&&(a===j&&aa(Error("\u6ca1\u6709\u4f20\u5165points\u6570\u636e")),"[object Array]"!==Object.prototype.toString.call(a)&&aa(Error("points\u6570\u636e\u4e0d\u662f\u6570\u7ec4")),b=b||{},cb.apply(d,arguments),d.ja={V:a},d.z={shape:b.shape||ic,size:b.size||jc,color:b.color||"#fa937e",$h:o},this.Zw=[],this.yd=[],K.load("pointcollection",function(){for(var a=0,b;b=d.Zw[a];a++)d[b.method].apply(d,b.arguments);for(a=0;b=d.yd[a];a++)d[b.method].apply(d,b.arguments)}))} v.lang.ga(lc,cb,"PointCollection");v.extend(lc.prototype,{initialize:function(a){this.Zw&&this.Zw.push({method:"initialize",arguments:arguments})},setPoints:function(a){this.yd&&this.yd.push({method:"setPoints",arguments:arguments})},setStyles:function(a){this.yd&&this.yd.push({method:"setStyles",arguments:arguments})},clear:function(){this.yd&&this.yd.push({method:"clear",arguments:arguments})},remove:function(){this.yd&&this.yd.push({method:"remove",arguments:arguments})}});var mc=new cc(D.da+"marker_red_sprite.png",new M(19,25),{anchor:new M(10,25),infoWindowAnchor:new M(10,0)}),nc=new cc(D.da+"marker_red_sprite.png",new M(20,11),{anchor:new M(6,11),imageOffset:new M(-19,-13)}); function T(a,b){cb.call(this);b=b||{};this.point=a;this.ao=this.map=p;this.z={na:b.offset||new M(0,0),cg:b.icon||mc,vj:nc,title:b.title||"",label:p,FE:b.baseZIndex||0,je:o,FX:q,Zz:q,$h:b.enableMassClear===q?q:o,$b:q,VH:b.raiseOnDrag===o?o:q,$H:q,Rc:b.draggingCursor||D.Rc,rotation:b.rotation||0};b.icon&&!b.shadow&&(this.z.vj=p);b.enableDragging&&(this.z.$b=b.enableDragging);Fb(b.enableClicking)&&(this.z.je=b.enableClicking);var d=this;K.load("marker",function(){d.ob()})}T.ur=Zb.Xk(-90)+1E6; T.FB=T.ur+1E6;v.lang.ga(T,cb,"Marker"); v.extend(T.prototype,{Lb:function(a){if(a instanceof cc||a instanceof dc)this.z.cg=a},Hm:function(){return this.z.cg},Ou:function(a){a instanceof cc&&(this.z.vj=a)},getShadow:function(){return this.z.vj},tl:function(a){this.z.label=a||p},tz:function(){return this.z.label},$b:function(){this.z.$b=o},ty:function(){this.z.$b=q},T:u("point"),ha:function(a){a instanceof I&&(this.point=new I(a.lng,a.lat))},mh:function(a,b){this.z.Zz=!!a;a&&(this.$B=b||0)},Wb:function(a){this.z.title=a+""},getTitle:function(){return this.z.title}, Id:function(a){a instanceof M&&(this.z.na=a)},Zf:function(){return this.z.na},sl:ba("ao"),Bn:function(a){this.z.rotation=a},bG:function(){return this.z.rotation}});function oc(a,b){ac.call(this,b);b=b||{};this.z.Sf=b.fillOpacity?b.fillOpacity:0.65;this.z.fillColor=""==b.fillColor?"":b.fillColor?b.fillColor:"#fff";this.Jd(a);var d=this;K.load("poly",function(){d.ob()})}v.lang.ga(oc,ac,"Polygon"); v.extend(oc.prototype,{Jd:function(a,b){this.jm=ac.It(a).slice(0);var d=ac.It(a).slice(0);1i;i+=9){var k=Math.PI/180*i,l=Math.asin(Math.sin(f)*Math.cos(e)+Math.cos(f)*Math.sin(e)*Math.cos(k)),k=new I(((g-Math.atan2(Math.sin(k)*Math.sin(e)*Math.cos(f),Math.cos(e)-Math.sin(f)* Math.sin(l))+Math.PI)%(2*Math.PI)-Math.PI)*(180/Math.PI),l*(180/Math.PI));d.push(k)}e=d[0];d.push(new I(e.lng,e.lat));return d}});var sc={};function tc(a){this.map=a;this.fl=[];this.We=[];this.Af=[];this.yO=300;this.wA=0;this.sf={};this.Th={};this.ig=0;this.Tz=o;this.eF={};this.Xr=this.lo(1);this.ie=this.lo(2);this.Mo=this.lo(3);a.platform.appendChild(this.Xr);a.platform.appendChild(this.ie);a.platform.appendChild(this.Mo)}C.ae(function(a){var b=new tc(a);b.ea();a.Ib=b}); v.extend(tc.prototype,{ea:function(){var a=this,b=a.map;b.addEventListener("loadcode",function(){a.gu()});b.addEventListener("addtilelayer",function(b){a.Mf(b)});b.addEventListener("removetilelayer",function(b){a.mg(b)});b.addEventListener("setmaptype",function(b){a.xf(b)});b.addEventListener("zoomstartcode",function(b){a.pc(b)});b.addEventListener("setcustomstyles",function(b){a.yn(b.target);a.vf(o)})},gu:function(){var a=this;if(v.R.aa)try{document.execCommand("BackgroundImageCache",q,o)}catch(b){}this.loaded|| a.au();a.vf();this.loaded||(this.loaded=o,K.load("tile",function(){a.WJ()}))},au:function(){for(var a=this.map.ma().Jo,b=0;bJ[0]||i<=J[0]||g>J[1]||n<=J[1]))&&this.Zt(B)}A=-m.offsetX+m.width/2;B=-m.offsetY+m.height/2;f.ub&&(f.ub.style.left= Math.ceil(x+A)-w[0]+"px",f.ub.style.top=Math.ceil(y+B)-w[1]+"px",f.ub.style.WebkitTransform="translate3d(0,0,0)");x=[];for(m.Ax=[];l0&&i.hE)i.jb.style.cssText=i.jb.style.cssText+(';filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src="'+i.src+'",sizingMethod=scale);')}var d=a.wA-a.yO,e;for(e in b){if(d<=0)break;if(!a.sf[e]){b[e].il=p;var g=b[e].jb;if(g&&g.parentNode){g.parentNode.removeChild(g);Bc(g)}g=p;b[e].jb=p;delete b[e];a.wA--;d--}}Cc&&new sb({Sc:20,duration:200,qa:function(a){if(i.jb&&i.jb.style)i.jb.style.opacity=a*1},finish:function(){i.jb&&i.jb.style&&delete i.jb.style.opacity}});vc(i)}}; this.jb.onerror=function(){vc(i);if(i.il){var a=i.il.map.ma();if(a.k.Ty){i.error=o;i.jb.src=a.k.Ty;i.jb&&!yb(i.jb)&&f.ub.appendChild(i.jb)}}};e=p}function xc(a,b){a.zr.push(b)}function Ac(a){a.jb.src=0=v.R.aa&&a.hE?D.da+"blank.gif":""!==a.src&&a.jb.src==a.src?a.src+"&t = "+Date.now():a.src}function vc(a){for(var b=0;bthis.k.predictDate.weekday||7this.k.predictDate.hour||23/g,"")};O.hS=function(a){return a.replace(/([1-9]\d*\.\d*|0\.\d*[1-9]\d*|0?\.0+|0|[1-9]\d*),([1-9]\d*\.\d*|0\.\d*[1-9]\d*|0?\.0+|0|[1-9]\d*)(,)/g,"$1,$2;")};O.iS=function(a,b){return a.replace(RegExp("(((-?\\d+)(\\.\\d+)?),((-?\\d+)(\\.\\d+)?);)(((-?\\d+)(\\.\\d+)?),((-?\\d+)(\\.\\d+)?);){"+b+"}","ig"),"$1")};var Sc=2,Tc=3,Uc=0,Vc="bt",Wc="nav",Xc="walk",Yc="bl",Zc="bsl",$c=14,ad=15,bd=18,cd=20,dd=31;C.I=window.Instance=v.lang.gd;function ed(a,b,d){v.lang.oa.call(this);if(a){this.Ga="object"==typeof a?a:v.Xb(a);this.page=1;this.Wc=100;this.DE="pg";this.Te=4;this.KE=b;this.update=o;a={page:1,xe:100,Wc:100,Te:4,DE:"pg",update:o};d||(d=a);for(var e in d)"undefined"!=typeof d[e]&&(this[e]=d[e]);this.qa()}} v.extend(ed.prototype,{qa:function(){this.ea()},ea:function(){this.DO();this.Ga.innerHTML=this.ZO()},DO:function(){isNaN(parseInt(this.page))&&(this.page=1);isNaN(parseInt(this.Wc))&&(this.Wc=1);1>this.page&&(this.page=1);1>this.Wc&&(this.Wc=1);this.page>this.Wc&&(this.page=this.Wc);this.page=parseInt(this.page);this.Wc=parseInt(this.Wc)},eW:function(){location.search.match(RegExp("[?&]?"+this.DE+"=([^&]*)[&$]?","gi"));this.page=RegExp.$1},ZO:function(){var a=[],b=this.page-1,d=this.page+1;a.push('

'); if(!(1>b)){if(this.page>=this.Te){var e;a.push('\u9996\u9875'.replace("{temp1}","BMap.I('"+this.Q+"').toPage(1);"))}a.push('\u4e0a\u4e00\u9875'.replace("{temp2}","BMap.I('"+this.Q+"').toPage("+b+");"))}if(this.pagethis.page+e?this.page+e:this.Wc;e=this.page-e-f}this.page>this.Wc-this.Te&&this.page>=this.Te&&(e=this.Wc-this.Te+1,b=this.Wc);for(f=e;f<=b;f++)0'+f+""):1<=f&&f<=this.Wc&&(e='['+f+"]",a.push(e.replace("{temp3}","BMap.I('"+this.Q+"').toPage("+f+");")))); d>this.Wc||a.push('\u4e0b\u4e00\u9875'.replace("{temp4}","BMap.I('"+this.Q+"').toPage("+d+");"));a.push("

");return a.join("")},toPage:function(a){a=a?a:1;"function"==typeof this.KE&&(this.KE(a),this.page=a);this.update&&this.qa()}});function Za(a,b){V.call(this,a,b);b=b||{};b.renderOptions=b.renderOptions||{};this.An(b.pageCapacity);"undefined"!=typeof b.renderOptions.selectFirstResult&&!b.renderOptions.selectFirstResult?this.uy():this.Ny();this.la=[];this.ye=[];this.Sa=-1;this.La=[];var d=this;K.load("local",function(){d.Nv()},o)}v.ga(Za,V,"LocalSearch");Za.Nn=10;Za.vU=1;Za.Gl=100;Za.DB=2E3;Za.MB=1E5; v.extend(Za.prototype,{search:function(a,b){this.La.push({method:"search",arguments:[a,b]})},rl:function(a,b,d){this.La.push({method:"searchInBounds",arguments:[a,b,d]})},vn:function(a,b,d,e){this.La.push({method:"searchNearby",arguments:[a,b,d,e]})},Xd:function(){delete this.ta;delete this.ge;delete this.U;delete this.S;this.Sa=-1;this.Za();this.k.W.Aa&&(this.k.W.Aa.innerHTML="")},Yk:s(),Ny:function(){this.k.W.Dq=o},uy:function(){this.k.W.Dq=q},An:function(a){this.k.mj="number"==typeof a&&!isNaN(a)? 1>a?Za.Nn:a>Za.Gl?Za.Nn:a:Za.Nn},pe:function(){return this.k.mj},toString:da("LocalSearch")});var fd=Za.prototype;W(fd,{clearResults:fd.Xd,setPageCapacity:fd.An,getPageCapacity:fd.pe,gotoPage:fd.Yk,searchNearby:fd.vn,searchInBounds:fd.rl,search:fd.search,enableFirstResultSelection:fd.Ny,disableFirstResultSelection:fd.uy});function gd(a,b){V.call(this,a,b)}v.ga(gd,V,"BaseRoute");v.extend(gd.prototype,{Xd:s()});function hd(a,b){V.call(this,a,b);b=b||{};this.Iq(b.policy);this.An(b.pageCapacity);this.ud=Vc;this.qr=$c;this.rr=Qc;this.la=[];this.Sa=-1;this.La=[];var d=this;K.load("route",function(){d.Md()})}hd.Gl=100;hd.tJ=[0,1,0,0,0,0,0,0,2,0,0,0,1,1,1];v.ga(hd,gd,"TransitRoute"); v.extend(hd.prototype,{Iq:function(a){this.k.Hc=0<=a&&4>=a?a:0},zw:function(a,b){this.La.push({method:"_internalSearch",arguments:[a,b]})},search:function(a,b){this.La.push({method:"search",arguments:[a,b]})},An:function(a){if("string"==typeof a&&(a=parseInt(a),isNaN(a))){this.k.mj=hd.Gl;return}this.k.mj="number"!=typeof a?hd.Gl:1<=a&&a<=hd.Gl?Math.round(a):hd.Gl},toString:da("TransitRoute"),zN:function(a){return a.replace(/\(.*\)/,"")}});var id=hd.prototype;W(id,{_internalSearch:id.zw});function jd(a,b){V.call(this,a,b);this.la=[];this.Sa=-1;this.La=[];var d=this,e=this.k.W;1!=e.hq&&2!=e.hq&&(e.hq=1);this.cw=this.k.W.$b?o:q;K.load("route",function(){d.Md()});this.Qz&&this.Qz()}jd.GJ=" \u73af\u5c9b \u65e0\u5c5e\u6027\u9053\u8def \u4e3b\u8def \u9ad8\u901f\u8fde\u63a5\u8def \u4ea4\u53c9\u70b9\u5185\u8def\u6bb5 \u8fde\u63a5\u9053\u8def \u505c\u8f66\u573a\u5185\u90e8\u9053\u8def \u670d\u52a1\u533a\u5185\u90e8\u9053\u8def \u6865 \u6b65\u884c\u8857 \u8f85\u8def \u531d\u9053 \u5168\u5c01\u95ed\u9053\u8def \u672a\u5b9a\u4e49\u4ea4\u901a\u533a\u57df POI\u8fde\u63a5\u8def \u96a7\u9053 \u6b65\u884c\u9053 \u516c\u4ea4\u4e13\u7528\u9053 \u63d0\u524d\u53f3\u8f6c\u9053".split(" "); v.ga(jd,gd,"DWRoute");v.extend(jd.prototype,{search:function(a,b,d){this.La.push({method:"search",arguments:[a,b,d]})}});function kd(a,b){jd.call(this,a,b);b=b||{};this.k.cf=b.enableTraffic||q;this.Iq(b.policy);this.ud=Wc;this.qr=cd;this.rr=Tc}v.ga(kd,jd,"DrivingRoute");kd.prototype.Iq=function(a){this.k.Hc=0<=a&&2>=a?a:0};function ld(a,b){jd.call(this,a,b);this.ud=Xc;this.qr=dd;this.rr=Sc;this.cw=q}v.ga(ld,jd,"WalkingRoute");function md(a,b){v.lang.oa.call(this);this.Se=[];this.ml=[];this.k=b;this.Kb=a;this.map=this.k.W.map||p;this.Iu=this.k.Iu;this.eb=p;this.Vh=0;this.Wu="";this.fd=1;this.Ct="";this.mn=[0,0,0,0,0,0,0];this.cA=[];this.Bp=[1,1,1,1,1,1,1];this.EI=[1,1,1,1,1,1,1];this.Bq=[0,0,0,0,0,0,0];this.nn=[0,0,0,0,0,0,0];this.ya=[{o:"",Je:0,Al:0,x:0,y:0,Ub:-1},{o:"",Je:0,Al:0,x:0,y:0,Ub:-1},{o:"",Je:0,Al:0,x:0,y:0,Ub:-1},{o:"",Je:0,Al:0,x:0,y:0,Ub:-1},{o:"",Je:0,Al:0,x:0,y:0,Ub:-1},{o:"",Je:0,Al:0,x:0,y:0,Ub:-1},{o:"", Je:0,Al:0,x:0,y:0,Ub:-1}];this.Ug=-1;this.Zq=[];this.$q=[];K.load("route",s())}v.lang.ga(md,v.lang.oa,"RouteAddr");function nd(a){this.k={};v.extend(this.k,a);this.La=[];var b=this;K.load("othersearch",function(){b.Md()})}v.ga(nd,v.lang.oa,"Geocoder");v.extend(nd.prototype,{Tk:function(a,b,d){this.La.push({method:"getPoint",arguments:[a,b,d]})},Yp:function(a,b,d){this.La.push({method:"getLocation",arguments:[a,b,d]})},toString:da("Geocoder")});var od=nd.prototype;W(od,{getPoint:od.Tk,getLocation:od.Yp});function Geolocation(a){a=a||{};this.F={timeout:a.timeout||1E4,maximumAge:a.maximumAge||6E5};this.yd=[];var b=this;K.load("othersearch",function(){for(var a=0,e;e=b.yd[a];a++)b[e.method].apply(b,e.arguments)})}v.extend(Geolocation.prototype,{getCurrentPosition:function(a,b){this.yd.push({method:"getCurrentPosition",arguments:arguments})},getStatus:da(2)});function pd(a){a=a||{};a.W=a.renderOptions||{};this.k={W:{map:a.W.map||p}};this.La=[];var b=this;K.load("othersearch",function(){b.Md()})}v.ga(pd,v.lang.oa,"LocalCity");v.extend(pd.prototype,{get:function(a){this.La.push({method:"get",arguments:[a]})},toString:da("LocalCity")});function qd(){this.La=[];var a=this;K.load("othersearch",function(){a.Md()})}v.ga(qd,v.lang.oa,"Boundary");v.extend(qd.prototype,{get:function(a,b){this.La.push({method:"get",arguments:[a,b]})},toString:da("Boundary")});function rd(a,b){V.call(this,a,b);this.DJ=Yc;this.FJ=ad;this.CJ=Zc;this.EJ=bd;this.La=[];var d=this;K.load("buslinesearch",function(){d.Md()})}rd.Sr=D.da+"iw_plus.gif";rd.gM=D.da+"iw_minus.gif";rd.HN=D.da+"stop_icon.png";v.ga(rd,V); v.extend(rd.prototype,{getBusList:function(a){this.La.push({method:"getBusList",arguments:[a]})},getBusLine:function(a){this.La.push({method:"getBusLine",arguments:[a]})},setGetBusListCompleteCallback:function(a){this.k.BH=a||s()},setGetBusLineCompleteCallback:function(a){this.k.AH=a||s()},setBusListHtmlSetCallback:function(a){this.k.zH=a||s()},setBusLineHtmlSetCallback:function(a){this.k.yH=a||s()},setPolylinesSetCallback:function(a){this.k.mA=a||s()}});function sd(a){V.call(this,a);a=a||{};this.dd={input:a.input||p,Lx:a.baseDom||p,types:a.types||[],ru:a.onSearchComplete||s()};this.Oc.src=a.location||"\u5168\u56fd";this.Ph="";this.lf=p;this.$C="";this.Dh();Oa(Ia);var b=this;K.load("autocomplete",function(){b.Md()})}v.ga(sd,V,"Autocomplete");v.extend(sd.prototype,{Dh:s(),show:s(),J:s(),RA:function(a){this.dd.types=a},ul:function(a){this.Oc.src=a},search:ba("Ph"),Mu:ba("$C")});var Qa;function Ma(a,b){this.A="string"==typeof a?v.N(a):a;this.k={enableScrollWheelZoom:o,panoramaRenderer:"flash",swfSrc:C.fc+"res/swf/APILoader.swf",visible:o,linksControl:o,navigationControl:o,indoorSceneSwitchControl:o,albumsControl:q,albumsControlOptions:{},copyrightControlOptions:{}};var b=b||{},d;for(d in b)this.k[d]=b[d];this.va={heading:p,pitch:p};this.Wl=[];this.gb=this.Ya=p;this.ap=this.Pj();this.la=[];this.pc=1;this.jf=this.yM=this.zi="";this.Td={};this.He=p;this.Hf=[];this.To=[];this.Xo=q; var e=this;"flashRender"===this.Pj()?K.load("panoramaflash",function(){e.Dh()},o):K.load("panorama",function(){e.ob()},o);this.WM(this.A);"api"==b.Ne?Oa(Da):Oa(Ea);this.addEventListener("id_changed",function(){Oa(Ca,{from:b.Ne})})}var td=4,ud=1;v.lang.ga(Ma,v.lang.oa,"Panorama"); v.extend(Ma.prototype,{WM:function(a){var b,d;b=a.style;d=Sa(a).position;"absolute"!=d&&"relative"!=d&&(b.position="relative",b.zIndex=0);if("absolute"===d||"relative"===d)if(a=Sa(a).zIndex,!a||"auto"===a)b.zIndex=0},nQ:u("Wl"),xb:u("Ya"),OQ:u("ys"),lI:u("ys"),T:u("gb"),Ia:u("va"),$:u("pc"),Wf:u("zi"),gW:function(){return this.WU||[]},cW:u("yM"),St:u("jf"),wl:function(a){a!==this.jf&&(this.jf=a,this.dispatchEvent(new N("onscene_type_changed")))},zc:function(a,b){a!=this.Ya&&(this.Uj=this.Ya,this.Tr= this.gb,this.Ya=a,this.jf=b||"street",this.gb=p)},ha:function(a){a.wb(this.gb)||(this.Uj=this.Ya,this.Tr=this.gb,this.gb=a,this.Ya=p)},Kd:function(a){a&&(this.va=a,a=this.va.pitch,"cvsRender"==this.Pj()?(90a&&(a=-90)):"cssRender"==this.Pj()&&(45a&&(a=-45)),this.Xo=o,this.va.pitch=a)},od:function(a){a!=this.pc&&(a>td&&(a=td),ab&&(e=90);0>a&&0>b&&(e=180);0>a&&0=v.R.aa&&(d+="&color_dep=32");return d};Ub.prototype.nq=da(o);Dd.de=new Q;function Dd(){}v.extend(Dd,{rP:function(a,b,d){d=v.lang.gd(d);b={data:b};"position_changed"==a&&(b.data=Dd.de.jh(new P(b.data.mercatorX,b.data.mercatorY)));d.dispatchEvent(new N("on"+a),b)}});var Ed=Dd;W(Ed,{dispatchFlashEvent:Ed.rP});var Fd={vJ:50,sr:"http://pcsv0.map.bdimg.com",or:{width:220,height:60}}; v.extend(Fd,{Wm:function(a,b,d,e){if(!b||!d||!d.lngLat||!d.panoInstance)e();else{this.bm===j&&(this.bm=new S(p,{Ne:"api"}));var f=this;this.bm.Rx(b,function(b){b?f.bm.bi(d.lngLat,Fd.vJ,function(b){if(b&&b.id){var g=b.id,l=b.nj,b=b.oj,m=S.de.eg(d.lngLat),n=f.OL(m,{x:l,y:b}),l=f.XF(g,n,0,Fd.or.width,Fd.or.height);a.content=f.PL(a.content,l,d.titleTip,d.beforeDomId);a.addEventListener("open",function(){ja.D(v.Xb("infoWndPano"),"click",function(){d.panoInstance.zc(g);d.panoInstance.show();d.panoInstance.Kd({heading:n, pitch:0})})})}e()}):e()})}},PL:function(a,b,d,e){var d=d||"",f;!e||!a.split(e)[0]?(e=a,a=""):(e=a.split(e)[0],f=e.lastIndexOf("<"),e=a.substring(0,f),a=a.substring(f));f=[];var g=Fd.or.width,i=Fd.or.height;f.push(e);f.push("
");f.push(""+d+"\u5916\u666f");f.push("
\u8fdb\u5165\u5168\u666f>>");f.push("
");f.push(a);return f.join("")},OL:function(a,b){var d=90-180*Math.atan2(a.y-b.y,a.x-b.x)/Math.PI;0>d&&(d+=360);return d},XF:function(a,b,d,e,f){var g={panoId:a,panoHeading:b||0,panoPitch:d||0,width:e,height:f};return(Fd.sr+"/?qt=pr3d&fovy=75&quality=80&panoid={panoId}&heading={panoHeading}&pitch={panoPitch}&width={width}&height={height}").replace(/\{(.*?)\}/g, function(a,b){return g[b]})}});C.Map=Ka;C.Hotspot=eb;C.MapType=Ic;C.Point=I;C.Pixel=P;C.Size=M;C.Bounds=bb;C.TileLayer=uc;C.Projection=Xb;C.MercatorProjection=Q;C.PerspectiveProjection=db;C.Copyright=function(a,b,d){this.id=a;this.Pa=b;this.content=d};C.Overlay=Zb;C.Label=gc;C.GroundOverlay=hc;C.PointCollection=lc;C.Marker=T;C.Icon=cc;C.IconSequence=ec;C.Symbol=dc;C.Polyline=pc;C.Polygon=oc;C.InfoWindow=fc;C.Circle=rc;C.Control=R;C.NavigationControl=gb;C.GeolocationControl=Qb;C.OverviewMapControl=ib;C.CopyrightControl=Rb; C.ScaleControl=hb;C.MapTypeControl=jb;C.PanoramaControl=Tb;C.TrafficLayer=Fc;C.CustomLayer=kb;C.ContextMenu=Vb;C.MenuItem=Wb;C.LocalSearch=Za;C.TransitRoute=hd;C.DrivingRoute=kd;C.WalkingRoute=ld;C.Autocomplete=sd;C.Geocoder=nd;C.LocalCity=pd;C.Geolocation=Geolocation;C.BusLineSearch=rd;C.Boundary=qd;C.VectorCloudLayer=Dc;C.VectorTrafficLayer=Ec;C.Panorama=Ma;C.PanoramaLabel=wd;C.PanoramaService=S;C.PanoramaCoverageLayer=Ub;C.PanoramaFlashInterface=Dd;function W(a,b){for(var d in b)a[d]=b[d]}W(window,{BMap:C,_jsload2:function(a,b){ja.Xu.xR&&ja.Xu.set(a,b);K.CO(a,b)},BMAP_API_VERSION:"2.0"});var Y=Ka.prototype; W(Y,{getBounds:Y.Oe,getCenter:Y.Fa,getMapType:Y.ma,getSize:Y.yb,setSize:Y.Zc,getViewport:Y.dq,getZoom:Y.$,centerAndZoom:Y.zd,panTo:Y.hh,panBy:Y.wf,setCenter:Y.Ue,setCurrentCity:Y.LA,setMapType:Y.xf,setViewport:Y.og,setZoom:Y.od,highResolutionEnabled:Y.gj,zoomTo:Y.Bf,zoomIn:Y.oB,zoomOut:Y.pB,addHotspot:Y.Os,removeHotspot:Y.vS,clearHotspots:Y.Ak,checkResize:Y.EO,addControl:Y.Ms,removeControl:Y.WH,getContainer:Y.Da,addContextMenu:Y.mm,removeContextMenu:Y.kn,addOverlay:Y.wa,removeOverlay:Y.sb,clearOverlays:Y.TE, openInfoWindow:Y.hc,closeInfoWindow:Y.tc,pointToOverlayPixel:Y.$d,overlayPixelToPoint:Y.LH,getInfoWindow:Y.Yf,getOverlays:Y.Az,getPanes:function(){return{floatPane:this.xd.$y,markerMouseTarget:this.xd.fA,floatShadow:this.xd.FF,labelPane:this.xd.aA,markerPane:this.xd.hH,markerShadow:this.xd.iH,mapPane:this.xd.rq}},addTileLayer:Y.Mf,removeTileLayer:Y.mg,pixelToPoint:Y.ib,pointToPixel:Y.Db,setFeatureStyle:Y.MA,selectBaseElement:Y.gX,setMapStyle:Y.yn,enable3DBuilding:Y.Bm,disable3DBuilding:Y.nP}); var Gd=Ic.prototype;W(Gd,{getTileLayer:Gd.MQ,getMinZoom:Gd.Im,getMaxZoom:Gd.Rk,getProjection:Gd.Nm,getTextColor:Gd.bq,getTips:Gd.cq});W(window,{BMAP_NORMAL_MAP:La,BMAP_PERSPECTIVE_MAP:Na,BMAP_SATELLITE_MAP:Va,BMAP_HYBRID_MAP:Pa});var Hd=Q.prototype;W(Hd,{lngLatToPoint:Hd.eg,pointToLngLat:Hd.jh});var Id=db.prototype;W(Id,{lngLatToPoint:Id.eg,pointToLngLat:Id.jh});var Jd=bb.prototype; W(Jd,{equals:Jd.wb,containsPoint:Jd.ft,containsBounds:Jd.QO,intersects:Jd.Rz,extend:Jd.extend,getCenter:Jd.Fa,isEmpty:Jd.ji,getSouthWest:Jd.Yd,getNorthEast:Jd.Pe,toSpan:Jd.gB});var Kd=Zb.prototype;W(Kd,{isVisible:Kd.dg,show:Kd.show,hide:Kd.J});Zb.getZIndex=Zb.Xk;var Ld=cb.prototype;W(Ld,{openInfoWindow:Ld.hc,closeInfoWindow:Ld.tc,enableMassClear:Ld.$h,disableMassClear:Ld.pP,show:Ld.show,hide:Ld.J,getMap:Ld.Kt,addContextMenu:Ld.mm,removeContextMenu:Ld.kn});var Md=T.prototype; W(Md,{setIcon:Md.Lb,getIcon:Md.Hm,setPosition:Md.ha,getPosition:Md.T,setOffset:Md.Id,getOffset:Md.Zf,getLabel:Md.tz,setLabel:Md.tl,setTitle:Md.Wb,setTop:Md.mh,enableDragging:Md.$b,disableDragging:Md.ty,setZIndex:Md.Nq,getMap:Md.Kt,setAnimation:Md.sl,setShadow:Md.Ou,hide:Md.J,setRotation:Md.Bn,getRotation:Md.bG});W(window,{BMAP_ANIMATION_DROP:1,BMAP_ANIMATION_BOUNCE:2});var Nd=gc.prototype; W(Nd,{setStyle:Nd.$c,setStyles:Nd.lh,setContent:Nd.yc,setPosition:Nd.ha,getPosition:Nd.T,setOffset:Nd.Id,getOffset:Nd.Zf,setTitle:Nd.Wb,setZIndex:Nd.Nq,getMap:Nd.Kt,getContent:Nd.Zi});var Od=cc.prototype;W(Od,{setImageUrl:Od.aT,setSize:Od.Zc,setAnchor:Od.Sb,setImageOffset:Od.Fq,setImageSize:Od.ZS,setInfoWindowAnchor:Od.cT,setPrintImageUrl:Od.lT});var Pd=fc.prototype; W(Pd,{redraw:Pd.nd,setTitle:Pd.Wb,setContent:Pd.yc,getContent:Pd.Zi,getPosition:Pd.T,enableMaximize:Pd.Qf,disableMaximize:Pd.vt,isOpen:Pd.Ja,setMaxContent:Pd.Gq,maximize:Pd.ku,enableAutoPan:Pd.Np});var Qd=ac.prototype; W(Qd,{getPath:Qd.Cd,setPath:Qd.Jd,setPositionAt:Qd.vl,getStrokeColor:Qd.GQ,setStrokeWeight:Qd.Lq,getStrokeWeight:Qd.eG,setStrokeOpacity:Qd.Jq,getStrokeOpacity:Qd.HQ,setFillOpacity:Qd.Lu,getFillOpacity:Qd.gQ,setStrokeStyle:Qd.Kq,getStrokeStyle:Qd.dG,getFillColor:Qd.fQ,getBounds:Qd.Oe,enableEditing:Qd.Me,disableEditing:Qd.oP});var Rd=rc.prototype;W(Rd,{setCenter:Rd.Ue,getCenter:Rd.Fa,getRadius:Rd.ZF,setRadius:Rd.we});var Sd=oc.prototype;W(Sd,{getPath:Sd.Cd,setPath:Sd.Jd,setPositionAt:Sd.vl}); var Td=eb.prototype;W(Td,{getPosition:Td.T,setPosition:Td.ha,getText:Td.Fz,setText:Td.Mq});I.prototype.equals=I.prototype.wb;P.prototype.equals=P.prototype.wb;M.prototype.equals=M.prototype.wb;W(window,{BMAP_ANCHOR_TOP_LEFT:Nb,BMAP_ANCHOR_TOP_RIGHT:Ob,BMAP_ANCHOR_BOTTOM_LEFT:Pb,BMAP_ANCHOR_BOTTOM_RIGHT:3});var Ud=R.prototype;W(Ud,{setAnchor:Ud.Sb,getAnchor:Ud.ez,setOffset:Ud.Id,getOffset:Ud.Zf,show:Ud.show,hide:Ud.J,isVisible:Ud.dg,toString:Ud.toString});var Vd=gb.prototype;W(Vd,{getType:Vd.Rm,setType:Vd.xl}); W(window,{BMAP_NAVIGATION_CONTROL_LARGE:0,BMAP_NAVIGATION_CONTROL_SMALL:1,BMAP_NAVIGATION_CONTROL_PAN:2,BMAP_NAVIGATION_CONTROL_ZOOM:3});var Wd=ib.prototype;W(Wd,{changeView:Wd.Ad,setSize:Wd.Zc,getSize:Wd.yb});var Xd=hb.prototype;W(Xd,{getUnit:Xd.QQ,setUnit:Xd.SA});W(window,{BMAP_UNIT_METRIC:"metric",BMAP_UNIT_IMPERIAL:"us"});var Yd=Rb.prototype;W(Yd,{addCopyright:Yd.Ns,removeCopyright:Yd.yA,getCopyright:Yd.Pk,getCopyrightCollection:Yd.mz}); W(window,{BMAP_MAPTYPE_CONTROL_HORIZONTAL:Sb,BMAP_MAPTYPE_CONTROL_DROPDOWN:1,BMAP_MAPTYPE_CONTROL_MAP:2});var Zd=uc.prototype;W(Zd,{getMapType:Zd.ma,getCopyright:Zd.Pk,isTransparentPng:Zd.nq});var $d=Vb.prototype;W($d,{addItem:$d.Ps,addSeparator:$d.Gx,removeSeparator:$d.AA});var ae=Wb.prototype;W(ae,{setText:ae.Mq});var be=V.prototype; W(be,{getStatus:be.Uk,setSearchCompleteCallback:be.QA,getPageCapacity:be.pe,setPageCapacity:be.An,setLocation:be.ul,disableFirstResultSelection:be.uy,enableFirstResultSelection:be.Ny,gotoPage:be.Yk,searchNearby:be.vn,searchInBounds:be.rl,search:be.search});W(window,{BMAP_STATUS_SUCCESS:0,BMAP_STATUS_CITY_LIST:1,BMAP_STATUS_UNKNOWN_LOCATION:2,BMAP_STATUS_UNKNOWN_ROUTE:3,BMAP_STATUS_INVALID_KEY:4,BMAP_STATUS_INVALID_REQUEST:5,BMAP_STATUS_PERMISSION_DENIED:6,BMAP_STATUS_SERVICE_UNAVAILABLE:7,BMAP_STATUS_TIMEOUT:8}); W(window,{BMAP_POI_TYPE_NORMAL:0,BMAP_POI_TYPE_BUSSTOP:1,BMAP_POI_TYPE_BUSLINE:2,BMAP_POI_TYPE_SUBSTOP:3,BMAP_POI_TYPE_SUBLINE:4});W(window,{BMAP_TRANSIT_POLICY_LEAST_TIME:0,BMAP_TRANSIT_POLICY_LEAST_TRANSFER:2,BMAP_TRANSIT_POLICY_LEAST_WALKING:3,BMAP_TRANSIT_POLICY_AVOID_SUBWAYS:4,BMAP_LINE_TYPE_BUS:0,BMAP_LINE_TYPE_SUBWAY:1,BMAP_LINE_TYPE_FERRY:2});var ce=gd.prototype;W(ce,{clearResults:ce.Xd});id=hd.prototype;W(id,{setPolicy:id.Iq,toString:id.toString,setPageCapacity:id.An}); W(window,{BMAP_DRIVING_POLICY_LEAST_TIME:0,BMAP_DRIVING_POLICY_LEAST_DISTANCE:1,BMAP_DRIVING_POLICY_AVOID_HIGHWAYS:2});W(window,{BMAP_HIGHLIGHT_STEP:1,BMAP_HIGHLIGHT_ROUTE:2});W(window,{BMAP_ROUTE_TYPE_DRIVING:Tc,BMAP_ROUTE_TYPE_WALKING:Sc});W(window,{BMAP_ROUTE_STATUS_NORMAL:Uc,BMAP_ROUTE_STATUS_EMPTY:1,BMAP_ROUTE_STATUS_ADDRESS:2});var de=kd.prototype;W(de,{setPolicy:de.Iq});var ee=sd.prototype;W(ee,{show:ee.show,hide:ee.J,setTypes:ee.RA,setLocation:ee.ul,search:ee.search,setInputValue:ee.Mu}); W(kb.prototype,{});var fe=qd.prototype;W(fe,{get:fe.get});W(Ub.prototype,{});W($a.prototype,{});W(window,{BMAP_POINT_DENSITY_HIGH:200,BMAP_POINT_DENSITY_MEDIUM:Hc,BMAP_POINT_DENSITY_LOW:50});W(window,{BMAP_POINT_SHAPE_STAR:1,BMAP_POINT_SHAPE_WATERDROP:2,BMAP_POINT_SHAPE_CIRCLE:ic,BMAP_POINT_SHAPE_SQUARE:4,BMAP_POINT_SHAPE_RHOMBUS:5});W(window,{BMAP_POINT_SIZE_TINY:1,BMAP_POINT_SIZE_SMALLER:2,BMAP_POINT_SIZE_SMALL:3,BMAP_POINT_SIZE_NORMAL:jc,BMAP_POINT_SIZE_BIG:5,BMAP_POINT_SIZE_BIGGER:6,BMAP_POINT_SIZE_HUGE:7}); W(window,{BMap_Symbol_SHAPE_CAMERA:11,BMap_Symbol_SHAPE_WARNING:12,BMap_Symbol_SHAPE_SMILE:13,BMap_Symbol_SHAPE_CLOCK:14,BMap_Symbol_SHAPE_POINT:9,BMap_Symbol_SHAPE_PLANE:10,BMap_Symbol_SHAPE_CIRCLE:1,BMap_Symbol_SHAPE_RECTANGLE:2,BMap_Symbol_SHAPE_RHOMBUS:3,BMap_Symbol_SHAPE_STAR:4,BMap_Symbol_SHAPE_BACKWARD_CLOSED_ARROW:5,BMap_Symbol_SHAPE_FORWARD_CLOSED_ARROW:6,BMap_Symbol_SHAPE_BACKWARD_OPEN_ARROW:7,BMap_Symbol_SHAPE_FORWARD_OPEN_ARROW:8});C.eO(); })()