欢迎来到天天文库
浏览记录
ID:37500951
大小:556.46 KB
页数:14页
时间:2019-05-24
《ArcGIS 地图故事之奥运放映室》由会员上传分享,免费在线阅读,更多相关内容在行业资料-天天文库。
1、地图故事之奥运放映室Esri中国信息技术有限公司马静丽、韩兴刚什么是地图故事地图故事地理概念和工具身边的热门话题自然、人文、社会、经济…空间数据直观展示和分析告知、教育、娱乐和激励http://storymaps.arcgisonline.cn/运用地理思维讲述故事,倾心打造一个全新的以地图为核心、分享地理价值的交流平台。奥运放映室故事内容介绍重温奥运路,百余年沧海桑田时间与空间的结合,魅力难挡记录世界历史,见证人类发展http://storymaps.arcgisonline.cn/2012/0719/277.html功能实现揭秘API:ArcGISAPIforF
2、lex数据:底图服务(arcgisonline.cn)+点数据(txt格式)功能点1:各届奥运会介绍功能点2:历届奥运会奖牌数回放功能点3:时间轴与直方图展示思路与流程各届参赛国家奖牌数2012读取每届参绑定图层2008历届奥加国家奖牌运会奖数牌回放2004绑定图层各届奥读取每届数据,构运会介历届奥运建Graphic,渲染,绍会信息2000infoWindow绑定柱状图19961992信息直方图显示1988privatefunctiondoEvent(evt:Event):void{varldr:URLLoader=evt.currentTargetasURLLoa
3、der;varolympicData:String=ldr.data;数据var读取olympicArray:Array=olympicData.split("r");varfields:Array=String(olympicArray[0]).split("t");if(olympicArray.length<2)break;privatefunctiondataLoader():voidfor(vari:int=1;i4、newgameAURLrrayR:Aeqrruaest(y=gam"Olye.splmit(pi"c.txtt");”);if(gameArray.length<2)continue;varitem:Object=newObject();System.varuseCx:NoudePamber;ge=true;urlLdrvar=newy:NumURLber;Loader();for(varj:int=0;j5、PLy[j];ETE,doEvent);urlLdr.addEventLif(fiisteldesner[j]==(Even"x")t.OPEN,doEvent);urlLdr.addEventListenerx=N(umHTTPber(gSamtaeArtusEray[vjent.]);HTTP_STATUS,if(fields[j]=="y")doEvent);y=Number(gameArray[j]);urlLdr.}addEventListener(IOErrorEvent.IO_ERROR,doEvent);urlLdr.varaddEjwPvtentL6、:MapPioistnt=enernew(MProgapPoirntes(xs,Evey);nt.PROGRESS,doEvent);varpt:Geometry=WebMercatorUtil.geographicToWebMercator(jwPt);vargraphic:Graphic=newGraphic(pt,null,item);urlLdr.itaeddEm.grvaentLphic=igrstapehneric;(SecurityErrorEvent.SECURITY_ERROR,doEvent);gameItems.addItem(item);ur7、lLdr.HttpUtilload(urlR.Send(eq)"me;dals/"+item["时间"]+".txt",MedalsResult,item["届次"]);}}EventBus.dispatchEvent(newAppEvent(AppEvent.TXT_READER_COMPLETE,gameItems));}数据显示privatefunctionswitchOlympicState(bmedal:Boolean):void{if(bmedal){varitems:Object=DataUtil.OlympicMedals[0];if(items
4、newgameAURLrrayR:Aeqrruaest(y=gam"Olye.splmit(pi"c.txtt");”);if(gameArray.length<2)continue;varitem:Object=newObject();System.varuseCx:NoudePamber;ge=true;urlLdrvar=newy:NumURLber;Loader();for(varj:int=0;j5、PLy[j];ETE,doEvent);urlLdr.addEventLif(fiisteldesner[j]==(Even"x")t.OPEN,doEvent);urlLdr.addEventListenerx=N(umHTTPber(gSamtaeArtusEray[vjent.]);HTTP_STATUS,if(fields[j]=="y")doEvent);y=Number(gameArray[j]);urlLdr.}addEventListener(IOErrorEvent.IO_ERROR,doEvent);urlLdr.varaddEjwPvtentL6、:MapPioistnt=enernew(MProgapPoirntes(xs,Evey);nt.PROGRESS,doEvent);varpt:Geometry=WebMercatorUtil.geographicToWebMercator(jwPt);vargraphic:Graphic=newGraphic(pt,null,item);urlLdr.itaeddEm.grvaentLphic=igrstapehneric;(SecurityErrorEvent.SECURITY_ERROR,doEvent);gameItems.addItem(item);ur7、lLdr.HttpUtilload(urlR.Send(eq)"me;dals/"+item["时间"]+".txt",MedalsResult,item["届次"]);}}EventBus.dispatchEvent(newAppEvent(AppEvent.TXT_READER_COMPLETE,gameItems));}数据显示privatefunctionswitchOlympicState(bmedal:Boolean):void{if(bmedal){varitems:Object=DataUtil.OlympicMedals[0];if(items
5、PLy[j];ETE,doEvent);urlLdr.addEventLif(fiisteldesner[j]==(Even"x")t.OPEN,doEvent);urlLdr.addEventListenerx=N(umHTTPber(gSamtaeArtusEray[vjent.]);HTTP_STATUS,if(fields[j]=="y")doEvent);y=Number(gameArray[j]);urlLdr.}addEventListener(IOErrorEvent.IO_ERROR,doEvent);urlLdr.varaddEjwPvtentL
6、:MapPioistnt=enernew(MProgapPoirntes(xs,Evey);nt.PROGRESS,doEvent);varpt:Geometry=WebMercatorUtil.geographicToWebMercator(jwPt);vargraphic:Graphic=newGraphic(pt,null,item);urlLdr.itaeddEm.grvaentLphic=igrstapehneric;(SecurityErrorEvent.SECURITY_ERROR,doEvent);gameItems.addItem(item);ur
7、lLdr.HttpUtilload(urlR.Send(eq)"me;dals/"+item["时间"]+".txt",MedalsResult,item["届次"]);}}EventBus.dispatchEvent(newAppEvent(AppEvent.TXT_READER_COMPLETE,gameItems));}数据显示privatefunctionswitchOlympicState(bmedal:Boolean):void{if(bmedal){varitems:Object=DataUtil.OlympicMedals[0];if(items
此文档下载收益归作者所有