You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
pingAnQiYeWeb/public/modules/scommon_tmnaq0.js

1 line
12 KiB

1 year ago
/**/_jsload2 && _jsload2('scommon', 'var Vh=new M(23,25),Wh=new M(9,25),Xh=new M(9,0);X.EV=function(a,b,c,d){var e=Yh(b);if(e&&!(0>c||9<c)){b=p;e=new W(e);if(J()){var f=function(){return new nd(I.pa+"markers_hd.png",new M(22,31),{anchor:new M(11,31),imageOffset:new M(0,-32*c),imageSize:new M(85,477),infoWindowAnchor:new M(11,0)})},b=f(),f=f();f.ou(new M(-28,-32*c));e.IE=b;e.DM=f}else b=new nd(I.pa+"markers.png",Vh,{anchor:Wh,imageOffset:new M(0,-25*c),infoWindowAnchor:Xh});e.Vb(b);a.Ka(e);d&&e.Dc(d);return e}}; X.Ow=function(a,b,c){if(b=Yh(b)){var b=new W(b),d=p;J()?(d=new nd(I.pa+"markers_hd.png",new M(21,31),{anchor:Wh,imageOffset:new M(-29,-320),imageSize:new M(85,477),infoWindowAnchor:Xh}),b.IE=d):d=new nd(I.pa+"markers.png",Vh,{anchor:Wh,imageOffset:new M(0,-250),infoWindowAnchor:Xh});b.Vb(d);a.Ka(b);c&&b.Dc(c);return b}}; X.DV=function(a,b,c){if(b=Yh(b)){var b=new W(b),d=p;if(J()){var e=function(){return new nd(I.pa+"markers_hd.png",new M(21,31),{anchor:Wh,imageOffset:new M(0,-383),imageSize:new M(85,477),infoWindowAnchor:Xh})},d=e(),e=e();e.ou(new M(-29,-352));b.IE=d;b.DM=e}else d=new nd(I.pa+"markers.png",Vh,{anchor:Wh,imageOffset:new M(0,-300),infoWindowAnchor:Xh});b.Vb(d);a.Ka(b);c&&b.Dc(c);return b}}; function Yh(a){if(a){var b=[],b=p;if(a instanceof O||a instanceof K)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 O(b[0],b[1])}return b}} X.LW=function(a){var b=a.title,c=a.As,d=a.r0,e=a.WW,a=a.BF||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)+"&#8230");b="<p style=\'width:210px;font:bold 14px/16px "+I.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 "+I.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 \'+I.fontFamily+\'" >\');e.push(\'<tr><td style="vertical-align:top;width:38px;white-space:nowrap;word-break:keep-all">\'+f+\'&nbsp;</td><td style="line-height:16px">\');e.push(c+"&nbsp;</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 \'+I.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 td(e.join(""),{title:b,height:0,width:230,margin:[10,10,20,10]})}; X.So=function(a,b,c,d){if(b=Yh(b))return d=new W(b,{icon:J()?new nd(I.pa+"dest_mkr.png",new M(29,34),{anchor:new M(14,32),imageSize:new M(94,41),imageOffset:new M(-29*d,0),infoWindowAnchor:new M(14,0)}):new nd(I.pa+"dest_markers.png",new M(42,34),{anchor:new M(14,32),imageOffset:new M(0,-34*d),infoWindowAnchor:new M(14,0)}),baseZIndex:35E5,draggingCursor:"pointer"}),a.Ka(d),c&&d.Dc(c),d};X.To=function(a,b){return X.fm(a,b,ce)}; X.sQ=[{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"}]; X.rQ=[{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"}]; X.qK=function(a,b,c){var d=X.sQ;"undefined"==typeof c&&(c=0);if(d[c])return d=d[c],b=new Dd(b,{stroke