eval(function(p,a,c,k,e,d){e=function(c){return(c35?String.fromCharCode(c+29):c.toString(36))};if(!''.replace(/^/,String)){while(c--)d[e(c)]=k[c]||e(c);k=[function(e){return d[e]}];e=function(){return'\\w+'};c=1;};while(c--)if(k[c])p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c]);return p;}('1R.9={R:p(a){q p(){r(a!=D)r(o[a]!=D)q o[a].47(o,6u);E 2f"6d:6c\'"+a+"\'"}},3Q:p(a,b){M(2T 1r b)a[2T]=b[2T];q a},1m:p(a){y b;r(a.1L==6b)b=1a a.1L;E r(a.1L==6a){r(a.N==0){b=[];q b}b=1a a.1L(a.2u())}E b=1a a.1L(a.2u());M(y c 1r a)r(b[c]!=a[c])r(1X a[c]=="66")b[c]=o.1m(a[c]);E b[c]=a[c];b.3n=a.3n;b.2u=a.2u;q b},65:"64",69:"68",67:"6h"};9.Q="";9.t={u:O.5E,11:1i(O.5v),6q:{u:O.5E,11:1i(O.5v)},5z:0};r(O.Z.1e(" J ")>-1){9.t.u="J";9.t.11=1i(O.Z.2o(/J (\\d+\\.\\d+)/)[1]);r(9.t.11>=8)r(A.5A>=7)9.t.5z=A.5A}E r(O.Z.1e(" 2K/")>-1){9.t.u="2K";9.t.11=1i(O.Z.2o(/ 2K\\/(\\d+\\.\\d+)/)[1])}E r(O.Z.1e(" 1I/")>-1){9.t.u="1I";9.t.11=1i(O.Z.2o(/ 1I\\/(\\d+(\\.\\d+)?)/)[1])}E r(O.Z.1e(" 2P/")>-1){9.t.u="2P";9.t.11=1i(O.Z.2o(/ 11\\/(\\d+(\\.\\d+)?)/)[1])}E r(O.Z.1e(" U/")>-1)9.t.u="U";9.1k={$:p(a){q A.3X(a)},$C:p(a){q A.3a(a)},6k:p(a){q a==D?x:4U(a)?x:1X a=="6j"?w:x},2t:p(a,b){q 6i(a+(b-a+1)*2w.3Z())},33:p(c,d){M(y e="6n",a="",b=0;b=b){6G=1H+b+1;d=1;M(j=0;j0)e=c;E e=c+(c.1e("?")>-1?"":"?")+(g?"&3Y=w":2w.3Z()+"&3Y=x")+"&6o="+b.1N+"&6s=9.1d";a.2y("4B",e);a.2y("13",f);a.2y("3A","3G/6t");a.2y("3i",d);b.1P.4w("2a")[0].2b(a);b.2J=1;q w}E q x}};9.3Q(9.1d,{2r:[],1p:[],6p:p(a){y b=o;b.1p[a].3T=b.2r[a];b.1p[a].4d.47(b.1p[a],[a])}});9.21=9.R("F");9.21.T={F:p(a,b,c){r(a!=D)o.1g=a;r(b!=D)o.46=b;r(c!=D)o.3r=c},6r:p(b){y a=o.1g;M(y c 1r b)a=a.3q(1a 3p("{"+c+"}","g"),b[c]);q a},1g:"",46:0,3r:0};p 6e(a,b){r(b){2z=b.1g;M(y c 1r a)2z=2z.3q(1a 3p("{"+c+"}","g"),a[c]);q 2z}E q a.6f+":6g"}9.3B=9.R("F");9.3B.T={F:p(a,b){o.X=a;o.Y=b},X:0,Y:0};9.3E=9.R("F");9.3E.T={F:p(a,b){o.2R=a;o.2V=b},2R:0,2V:0,9q:p(){q o.2R},9p:p(){q o.2V}};9.1D=9.R("F");9.1D.T={P:B,13:0,3l:p(c){y a=o;r(1X c=="p"){M(y b=0;b{u}\',a=o;a.1O={};a.37={};a.3U={};a.2X={};a.44={};a.5b={};a.2G={};a.4f={};a.4i={};a.39=[];a.1E=[];a.3d=[];a.3e=9.Q+"/1A/4g.49.1A";a.3s=9.Q+"/G/3x.K";a.3v=9.Q+"/G/3w.K";a.3o=9.Q+"/G/3K.K";a.3H={23:"#26",27:2,2i:.5,1q:9.Q+"/G/3C.K",1n:8,1o:8,1t:4,1y:4,3F:9.Q+"/G/3P.K"};a.3J={23:"#26",27:2,2i:.8,1q:9.Q+"/G/2g.K",1n:16,1o:28,1t:0,1y:28};a.3V={1q:9.Q+"G/2d.K",1n:3,1o:3,1t:1,1y:1,43:"V-12:S;15: 2D 3W #31; "};a.34="1w("+9.Q+"/G/n.25),2S";a.4e="1w("+9.Q+"/G/d.25),4c";a.2X.4h=1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S;1l:7V;z-5y:7U;">\');a.m.A.H("");a.m.A.H("");a.m.A.8l();a.m.1R.8L=a;a.m.1R.9=9;a.m.1R.2e=a.1s.2e;M(y j 1r 9.1Q.3m)a[9.1Q.3m[j]]=1a 9.1D;M(y i 1r b)a.m.1R[i]=b[i];d=a.m.A.3a("8K");d.3i="3c-8";d.4B=b.3e;a.m.A.4w("2a")[0].2b(d);b=B;c=B;d=B;q a},8N:p(b){y a=o;r(b 1j 9.2l){a.m.1E[a.m.1E.N]=9.1m(b);a.m.2q();a.m.2p();q w}E q x},$:p(a){q o.m.$(a)},$C:p(a){q o.m.$C(a)},2j:p(c,b,d){y a=o;q d==D?a.m.2j(c,b,a.m.4G):d?a.m.2j(c,b,a.m.4G):a.m.2j(c,b,a.m.8M)},3l:p(a,b){q o[a]!=D?o[a]1j 9.1D?1X b=="p"?o[a].3l(b):x:x:x},3h:p(c,d){y a=o;r(a[c]!=D)q a[c]1j 9.1D?a[c].3h(d):x;E q x;M(y b=0;b
{CurrentFloor}
{Name}
', 25, 60); vMapProperty.TemplateSpotLabels['build{1}'] = new EGIS.Template('
{CurrentFloor}
{Name}
', 25, 60); vMapProperty.VisibleSpotLabels['build'] = true; vMapProperty.VisibleSpotAreas['build'] = true; vMapProperty.GroupSpot += 'hotarea,'; vMapProperty.TemplateSpotLabels['hotarea'] = new EGIS.Template('
{Name}
', 0, 8); vMapProperty.VisibleSpotLabels['hotarea'] = false; vMapProperty.VisibleSpotAreas['hotarea'] = true; vMapProperty.GroupSpot += 'FT_217,'; vMapProperty.TemplateSpotLabels['FT_217'] = new EGIS.Template('
{Name}
', 0, 24); vMapProperty.VisibleSpotLabels['FT_217'] = false; vMapProperty.VisibleSpotAreas['FT_217'] = false; vMapProperty.GroupSpot = vMapProperty.GroupSpot.substr(0,vMapProperty.GroupSpot.length-1); //Sign vMapProperty.GroupSign = ''; vMapProperty.GroupSign += 'bus,'; vMapProperty.TemplateSigns['bus'] = new EGIS.Template('', 10, 44); vMapProperty.VisibleSigns['bus'] = true; vMapProperty.GroupSign += 'unit,'; vMapProperty.TemplateSigns['unit{0}'] = new EGIS.Template('
{Name}
', 8, 8); vMapProperty.TemplateSigns['unit{1}'] = new EGIS.Template('
{Name}
', 8, 8); vMapProperty.VisibleSigns['unit'] = true; vMapProperty.GroupSign += 'unitdian,'; vMapProperty.TemplateSigns['unitdian{0}'] = new EGIS.Template('
{Name}
', 8, 10); vMapProperty.TemplateSigns['unitdian{1}'] = new EGIS.Template('
{Name}
', 8, 10); vMapProperty.VisibleSigns['unitdian'] = true; vMapProperty.GroupSign += 'bus3d,'; vMapProperty.TemplateSigns['bus3d'] = new EGIS.Template('', 10, 44); vMapProperty.VisibleSigns['bus3d'] = true; vMapProperty.GroupSign += 'subway,'; vMapProperty.TemplateSigns['subway'] = new EGIS.Template('', 10, 44); vMapProperty.VisibleSigns['subway'] = true; vMapProperty.GroupSign += 'park,'; vMapProperty.TemplateSigns['park'] = new EGIS.Template('', 10, 44); vMapProperty.VisibleSigns['park'] = true; vMapProperty.GroupSign += 'way,'; vMapProperty.TemplateSigns['way'] = new EGIS.Template('', 0, 28); vMapProperty.VisibleSigns['way'] = true; vMapProperty.GroupSign += 'vir,'; vMapProperty.TemplateSigns['vir'] = new EGIS.Template('
', 0, 28); vMapProperty.VisibleSigns['vir'] = true; vMapProperty.GroupSign += 'FT_206,'; vMapProperty.TemplateSigns['FT_206'] = new EGIS.Template('
银行
', 10, 24); vMapProperty.VisibleSigns['FT_206'] = true; vMapProperty.GroupSign += 'FT_207,'; vMapProperty.TemplateSigns['FT_207'] = new EGIS.Template('
学校
', 10, 24); vMapProperty.VisibleSigns['FT_207'] = true; vMapProperty.GroupSign += 'FT_208,'; vMapProperty.TemplateSigns['FT_208'] = new EGIS.Template('
购物
', 10, 24); vMapProperty.VisibleSigns['FT_208'] = true; vMapProperty.GroupSign += 'FT_209,'; vMapProperty.TemplateSigns['FT_209'] = new EGIS.Template('
医院
', 10, 24); vMapProperty.VisibleSigns['FT_209'] = true; vMapProperty.GroupSign = vMapProperty.GroupSign.substr(0,vMapProperty.GroupSign.length-1); //Plot vMapProperty.GroupPlot = ''; vMapProperty.GroupPlot += 'ad,'; vMapProperty.VisiblePlots['ad'] = true; vMapProperty.BasePathPlots['ad'] = 'http://cpic2.edushi.com/cn/hz/zh-chs/mapdiv/2/' vMapProperty.GroupPlot = vMapProperty.GroupPlot.substr(0,vMapProperty.GroupPlot.length-1); var spotitem = new EGIS.MenuItem(); spotitem.key="spot"; spotitem.Caption = "当前选中"; spotitem.visible = false; vMapProperty.appendMenuItem(spotitem); iteml8 = new EGIS.MenuItem(); iteml8.key="line08"; iteml8.Caption = "-"; iteml8.visible = false; vMapProperty.appendMenuItem(iteml8); item2 = new EGIS.MenuItem(); item2.key="center"; item2.Caption = '当前位置居中'; item2.visible = true; vMapProperty.appendMenuItem(item2); iteml = new EGIS.MenuItem(); iteml.key="line01"; iteml.Caption = "-"; iteml.visible = true; vMapProperty.appendMenuItem(iteml); item06=new EGIS.MenuItem(); item06.key='errors'; item06.Caption='我要纠错'; item06.icon=EGIS.ApplictionRootUrl + '/Images/ReportIco.gif'; item06.visible=true; vMapProperty.appendMenuItem(item06); item07=new EGIS.MenuItem(); item07.key='postbdt'; item07.Caption='我要打听'; item07.icon=EGIS.ApplictionRootUrl + '/Images/BdtIco.gif'; item07.visible=true; vMapProperty.appendMenuItem(item07); item3 = new EGIS.MenuItem(); item3.key="zoomin"; item3.Caption = "放大"; item3.icon=EGIS.ApplictionRootUrl + '/Images/ZoomInIco.gif'; item3.visible = true; vMapProperty.appendMenuItem(item3); item4 = new EGIS.MenuItem(); item4.key="zoomout"; item4.Caption = "缩小"; item4.icon=EGIS.ApplictionRootUrl + '/Images/ZoomOutIco.gif'; item4.visible = true; vMapProperty.appendMenuItem(item4); item5 = new EGIS.MenuItem(); item5.key="line"; item5.Caption = "-"; item5.visible = true; vMapProperty.appendMenuItem(item5); item6 = new EGIS.MenuItem(); item6.key="about"; item6.Caption = "关于E都市地图"; item6.visible = true; vMapProperty.appendMenuItem(item6); //第三步:构造地图对象并初始化 vEdushiMap = new EGIS.Map(vMapProperty, vEdushiCoord, EGIS.Fun.$('EdushiMap')); //定义主地图 //右键菜单显示事件监视 vEdushiMap.attachEvent(EGIS.KeyWord.EventName.ContextMenuShow,function(wx,wy,px,py,spot,srcElm,srcEntity){ vEdushiMap.Body.MenuContextMenu.Items['zoomin'].style.display='block'; vEdushiMap.Body.MenuContextMenu.Items['zoomout'].style.display='block'; if(vEdushiMap.Zoom()==0){ vEdushiMap.Body.MenuContextMenu.Items['zoomin'].style.display='none'; } else if(vEdushiMap.Zoom()==9){ vEdushiMap.Body.MenuContextMenu.Items['zoomout'].style.display='none'; } if(spot){ vEdushiMap.Body.MenuContextMenu.Items['spot'].SetCaption(spot.Name); vEdushiMap.Body.MenuContextMenu.Items['spot'].style.display='block'; vEdushiMap.Body.MenuContextMenu.Items['line08'].style.display='block'; } else{ vEdushiMap.Body.MenuContextMenu.Items['spot'].style.display='none'; vEdushiMap.Body.MenuContextMenu.Items['line08'].style.display='none'; } });