1首先 用 argis server 发布一个 service 服务
没有就是用esri提供的 服务
2 下载 flex builder 3
ESRI agslib-1.3-2009-10-31.swc
(注意FB3 对应的 1.x版本,FB4对用2.x版本)
3
建立一个flex 3项目,把agslib-1.3-2009-10-31.swc 加入libs包中,
编写第一个gis flex demo
<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml"
xmlns:esri="http://www.esri.com/2008/ags"
pageTitle="Using ArcGIS API for Flex to connect to a cached ArcGIS Online service"
styleName="plain">
<esri:Map crosshairVisible="true">
<esri:ArcGISDynamicMapServiceLayer url="xxxxxxxx">
</esri:ArcGISDynamicMapServiceLayer>
</esri:Map>
</mx:Application>
4 附件是可以运行的 项目。注意选择一个文件要设置为 默认,然后运行
5 给一个http://resources.esri.com/help/9.3/arcgisserver/apis/flex/help/index.html 学习
免责声明:本文系网络转载或改编,未找到原创作者,版权归原作者所有。如涉及版权,请联系删