/* 百度地图API V2 模块 * 此模块必须配套使用baidumap_offline_v2_20160822.js对 * 获取模块的方法: * http://api0.map.bdimg.com/getmodules?v=2.0&mod=模块1,模块2 * 模块名称就是文件名 * www.xiaoguo123.com 整理 */ _jsload2&&_jsload2('pservice', 'var Uh=5;bc.Du=z.tg("pano")[0];bc.$k=bc.Du+"?";bc.bG=z.tg("baidumap");bc.rP=z.tg("main_domain_nocdn");bc.Sd=new R;bc.$A=[]; x.extend(bc.prototype,{sQ:function(){var a=this,b;for(b in this.xd)if(0!==this.xd[b].length)switch(b){case "getPanoramaById":x.Fb(this.xd[b],function(b){a.$o.apply(a,b)});break;case "getPanoramaByLocation":x.Fb(this.xd[b],function(b){a.qj.apply(a,b)});break;case "getVisiblePOIs":x.Fb(this.xd[b],function(b){a.aE.apply(a,b)});break;case "getRecommendPanosById":x.Fb(this.xd[b],function(b){a.wx.apply(a,b)});break;case "getPanoramaVersions":x.Fb(this.xd[b],function(b){a.vx.apply(a,b)});break;case "checkPanoSupportByCityCode":x.Fb(this.xd[b], function(b){a.dC.apply(a,b)});break;case "getPanoramaByPOIId":x.Fb(this.xd[b],function(b){a.ux.apply(a,b)});break;case "getCopyrightProviders":x.Fb(this.xd[b],function(b){a.f2.apply(a,b)})}},$o:function(a,b,c){this.xH(bc.$k+"qt=sdata&l=17&sid="+a+"&fn=",b,c)},qj:function(a,b,c){"function"==typeof b&&(c=b,b=50);a=bc.Sd.nh(a);this.xH(bc.$k+"qt=qsdata&x="+a.x+"&y="+a.y+"&r="+b+"&action=1&fn=",c)},aE:function(a,b,c,d){a=bc.Sd.nh(a);this.Sg(bc.$k+"qt=search&x="+a.x+"&y="+a.y+"&radius="+b+"&tag="+c+"&fn=", function(a){for(var a=a.content,b=[],c=p,i=a.length-1;0<=i;i--)c=a[i],b.push({iconType:c.Type,title:c.name,altitude:c.Height,panoInfo:{panoId:c.PID,panoIId:c.IID,heading:c.Dir,pitch:c.Pitch},position:bc.Sd.wi(new Q(c.X,c.Y))});d(b)})},wx:function(a,b){this.Sg(bc.$k+"qt=guide&sid="+a+"&fn=",function(a){if(a.content){for(var a=a.content,d=[],e=p,f=0,g=a.length;f