使用ArcGISAPIforJavaScript创建Web应用客户及合作伙伴支持中心徐鸿至内容概要WhyJavaScript?ArcGISJavaScriptAPIJavaScriptAPIcorefeaturesJavaScriptAPI标绘扩展WhyJavaScript?JavaScriptapplicationTexteditorhtml/htmlscript/scriptMyApp.html….html.css.jsDeploytowebserverJavaScriptIDEArcGISJavaScriptAPIArcGISJavaScriptAPI–Dojo•强大的社区和基金会支撑•优秀而合理的面向对象体系•率先支持AMD•自成体系的UI•严格的实际模式•国际化WhyDojo?……HierarchyCoreDojoDijitsDojoXHTMLJavaScriptCoreWidgetsArcGISAPIforJavaScriptYourcodeHierarchyDeeper...HardwareImplementationOSCPUInsidetheArcGISAPIforJavaScriptSanDiegoDemographicsSanDiegoDemographicsSanDiegoDemographicsMapsTasksWidgetsGraphicsAPI整体构架APIesriesri.arcgisesri.dijitesri.geometryesri.layersesri.renderesri.symbolesri.tasksesri.toolbarsesri.vituralearthesrinamespaceJavaScriptAPIcorefeaturesrequire([esri/map,dojo/domReady!],function(Map){varmyMap=newMap(“mapDiv);});AMD语法添加图层map=newMap(“mapDiv);map.addLayers([,]);varoperationalLayer=newArcGISDynamicMapServiceLayer(URL_to_WorldPopulationMap_service);basemapoperationalLayerMapdisplayorderBottomTopvarbasemap=newArcGISTiledMapServiceLayer(URL_to_WorldStreetMap_service);与ArcGISServer的交互ServicesDirectory(RESTendpointofservice)•URLofservice•Tilingscheme•Description•Supportedoperations•Preview•Testfunctionality•Geoprocessingparameters•etc.ServerServicesArcGISAPIforJavaScriptRESTGraphic=Geometry+Attributes+Symbol+InfoTemplateGraphicsGraphicsLayer•客户端矢量数据•可交互/过滤/选择•在线编辑•动态Generalize•矢量切片FeatureLayerJavaScriptAPI标绘扩展3点确定圆弧BéziercurveLinearcurvesQuadraticcurvesCubiccurversHighordercurvesHighordercurves动手实验室/技术沙龙22日火爆开启!