/* 百度地图API V2 模块 * 此模块必须配套使用baidumap_offline_v2_20160822.js对 * 获取模块的方法: * http://api0.map.bdimg.com/getmodules?v=2.0&mod=模块1,模块2 * 模块名称就是文件名 * www.xiaoguo123.com 整理 */ _jsload2&&_jsload2('buslinesearch', 'x.extend(Gd.prototype,{Od:function(){for(var a=0,b=this.Oa.length;a
  "+e+"
\')}b="";this.uc.moreResultsUrl&&(b=b+"
"+("\\u5230\\u767e\\u5ea6\\u5730\\u56fe\\u67e5\\u770b»"),b+=" 
");a.innerHTML=c.join("")+b;this.k.ka.Ga.appendChild(a);this.Ra(V.fG,a)}},HS:function(a,b,c){var d=this.k.ka.map; d&&(a=P.tb(a,o).point,this.dB?this.dB!=c&&(d.Cd(a,b),this.dB=c):(d.Cd(a,b),this.dB=c))},vU:function(a){if(this.uc)for(var b=0,c=this.uc.Ts();b\'); c.push(\'\\u9996\\u672b\\u8f66\\u65f6\\u95f4\'+this.Fc.startTime+"-"+this.Fc.endTime+"");c.push(\'\\u6240\\u5c5e\\u516c\\u53f8\'+this.Fc.company+ "");c.push("");4==this.Fc.Ui?c.push(\'

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

\'):c.push(\'

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

\');c.push(\'\');for(var d=0,e=this.Fc.Yo();d");c.push("
\'+(d+1)+""+this.Fc.dx(d).name+"
");b.innerHTML=c.join("")}a=x.Ec("divResult"+this.ba);this.Ra(V.eG,a)}},GI:function(a){if(this.k.ka.map&&this.Fc&&0"];g.push("
"+d+"
");g.push("");var u=new qc(g.join(""),{title:"",height:0,width:220,margin:[10,10,20,10]});u.addEventListener("open",function(){var b=x.Ec("aStop_"+a+"_"+e);b&&(b.style.backgroundColor="#cccccc")});u.addEventListener("close",function(){var b=x.Ec("aStop_"+a+"_"+e);b&&(b.style.backgroundColor="#ffffff")});g=c.k.ka.map;g.K.lm?Yd.kp(u,g.getCurrentCity().code,{panoInstance:g.P,lngLat:f.target.ha(), titleTip:d,type:"busline"},function(){b.Mb(u)}):b.Mb(u)})})(f,g,d);f.zB=g;this.Yi.push(f)}this.Ra(V.Yp,this.Yi);this.k.ka.Zg&&this.k.ka.map.Bh(b.pe(),{margins:[5,5,5,5]})}},_selectBusStop:function(a,b){if(this.k.ka.map&&this.Yi&&0"];d.push("
"+c.zB+"
");d.push("");var e=new qc(d.join(""),{title:"",height:0,width:220,margin:[10,10,20,10]});e.addEventListener("open", function(){var c=x.Ec("aStop_"+a+"_"+b);c&&(c.style.backgroundColor="#cccccc")});e.addEventListener("close",function(){var c=x.Ec("aStop_"+a+"_"+b);c&&(c.style.backgroundColor="#ffffff")});d=this.k.ka.map;d.K.lm?Yd.kp(e,d.getCurrentCity().code,{panoInstance:d.P,lngLat:c.ha(),titleTip:c.zB,type:"busline"},function(){c.Mb(e)}):c.Mb(e)}}else{this.rN&&(this.rN.style.backgroundColor="#ffffff");if(d=x.Ec("aStop_"+a+"_"+b))d.style.backgroundColor="#cccccc";this.rN=d}},Lj:function(){this.k.ka.map&&this.k.ka.map.hK()}, rb:function(a){"number"==typeof a?this.Bd=a:delete this.Bd}});function Lh(a){this.keyword=a.sb||"";this.city=a.city;this.moreResultsUrl=a.ri;this.LA=a.tM&&a.tM.slice(0)||[];this.Gh=a.Gh}x.extend(Lh.prototype,{CD:function(a){if(this.LA[a])return this.LA[a]},Ts:function(){return this.LA.length}});var Nh=Lh.prototype;S(Nh,{getNumBusList:Nh.Ts,getBusListItem:Nh.CD});function Mh(a){this.name=a.name||"";this.startTime=a.startTime||"";this.endTime=a.yW||"";this.company=a.CV||"";this.Vi=a.hZ||{};this.BB=a.fO&&a.fO.slice(0)||[];this.Ui=a.Ui||2}x.extend(Mh.prototype,{dx:function(a){if(this.BB[a])return this.BB[a]},Yo:function(){return this.BB.length},ap:t("Vi"),pe:function(){if(this.Vi.pe())return this.Vi.pe()}});var Oh=Mh.prototype;S(Oh,{getNumBusStations:Oh.Yo,getBusStation:Oh.dx,getPath:Oh.pe,getPolyline:Oh.ap}); ');