ArcGIS API for Flex - 搭建环境
1.下载最新版Flash Builder。 Adobe Flash Builder 4.7 | English | Windows 64-bit | 1012.3MB 地址:http://trials3.adobe.com/AdobeProducts/FLBR/4_7/win64/FlashBuilder_4_7_LS10_win64.exe 2.安装试用版。 3.修改配置信息。 3.1?C:Program FilesAdobeAdobe Flash Builder 4.7 (64 Bit)eclipsepluginscom.adobe.flexbuilder.project_4.7.0.349722META-INFMANIFEST.MF line 34: Bundle-Version: 4.7.0.349722 ->Bundle-Version:0.0.0 3.2?C:Program FilesAdobeAdobe Flash Builder 4.7 (64 Bit)eclipsefeaturescom.adobe.flexide.feature_4.7.0.349722feature.xml line?87: ? ?<plugin 4.拷贝文件。 C:Program FilesAdobeAdobe Flash Builder 4.7 (64 Bit)eclipsepluginscom.adobe.flexbuilder.flex_4.7.0.349722 附:启动界面
参考资料:http://wenku.baidu.com/view/86ccc98d83d049649b6658e0.html -------------------------------------------------------------------------------------------- ?我是分割线 ?-------------------------------------------------------------------------------------------- 下载ArcGIS API 3.1 for Flex 地址:http://www.esri.com/apps/products/download/index.cfm =============== 2. Copy all the contents of the ArcGIS_Flexsamplessrc folder to src folder of the Flex project created above. 3. In Adobe Flash Builder,add the API Library to the project through Project -> Properties -> Flex Build Path -> Library Path -> Add SWC (and locate the "agslib-3.1-2012-12-12.swc")
<?xml version="1.0" encoding="utf-8"?> <s:Application xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:s="library://ns.adobe.com/flex/spark" xmlns:mx="library://ns.adobe.com/flex/mx" xmlns:esri="http://www.esri.com/2008/ags" pageTitle="agsFlexDemo1" minWidth="955" minHeight="600"> <fx:Declarations> <!-- 将非可视元素(例如服务、值对象)放在此处 --> </fx:Declarations> <esri:Map> <esri:ArcGISTiledMapServiceLayer url="http://server.arcgisonline.com/ArcGIS/rest/services/World_Street_Map/MapServer" /> </esri:Map> </s:Application> 效果如下:
(编辑:李大同) 【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容! |