关于arcgis for flex 图层4.7的

1、使用flex4.7,好处比较多,支持ios调试什么的。从官网上下载,然后试用安装,然后破解,很多地方给出dll破解,我使用后总是有这样或者那样的问题,因此建议以下方式破解:
(1)..\Adobe\AdobeFlashBuilder4.7(64Bit)\eclipse\plugins\com.adobe.flexbuilder.project_4.7.0.349722\META-INF下面的MANIFEST.MF修改:Bundle-Version:0.0.0(2)..\Adobe\AdobeFlashBuilder4.7(64Bit)\eclipse\features\com.adobe.flexide.feature_4.7.0.349722下面的feature.xml修改:&plugin id="com.adobe.flexbuilder.project" download-size="0" install-size="0" version="0.0.0"/&(3)..\Adobe\AdobeFlashBuilder4.7(64Bit)\eclipse\plugins\com.adobe.flexbuilder.flex_4.7.0.349722下面:复制config.xml并重命名为config_builder.xml
2、air3.8的beta版本发布了,正式版本应该不远了,开发可以开始进行了,提供的几个特性应该也是很多人渴望的,升级是很有必要的,现在升级和以前稍微有点不一样了,官方发布两个版本:AIR 3.8 SDK & Compiler Beta和AIR 3.8 SDK for Flex Developers
AIR 3.8 SDK & Compiler Beta,主要用于as3项目的编译,下载解压到
Windows 7: C:\Program Files (x86)\Adobe\Adobe Flash Builder 4.7\eclipse\plugins\com.piler_4.7.0.349722Mac OS: /Applications/Adobe Flash Builder 4.7/eclipse/plugins/com.piler_4.7.0.349722
注意清空原来的Airsdk,再copy。
AIR 3.8 SDK for Flex Developers,主要用于flex project的编译,解压覆盖到你所使用的flex sdk目录直接进行合并即可。3、flash player更新:
下载playerglobal.swc文件:SWC文件:/get/flashplayer /updaters/11/playerglobal11_8.swc,并命名为playerglobal.swc进入Flex SDK目录(..\Adobe\Adobe Flash Builder 4.7\sdks\4.6\frameworks\libs\player),您应该看到里面已经有了一个11.1的文件夹,您要做的就是建立一个新的文 件夹,命名为11.8,并把刚才下载的playerglobal.swc放进去即可。再返回frameworks目录(..\Adobe\Adobe Flash Builder 4.7\sdks\4.6\frameworks),打开flex-config.xml,注意修改下面的两行:11.619最后,再将新下载的FP debugger 复制到C:\Program Files\Adobe\Adobe Flash Builder 4.7\player\win\11.6文件夹下,并改名为FlashPlayerDebugger.exe OK4、要使用air3.8的新特性,也得把-swf-version=21加上,不然测试ServerSocket.isSupported肯定输出false
阅读(...) 评论()Adobe Flash Builder 4.7 * Use Flex library projects
Use Flex library projects
Library projects let you build custom code libraries that
you can share between your applications or distribute to other developers.
A library project generates a SWC file, which is an archive file
for Flex components and other resources. For example, the Flex framework
is contained in SWC files.
When you create a Flex project, the Flex framework SWC files
are added to the project’s library path. Adding the library to a
project lets you use those components in your application and also
enables code hinting for those components.
You can view and edit the library path by accessing the project’s
build path properties page. For Flex projects, select Project &
Properties & Flex Build Path.
In addition to providing a convenient way to package and distribute
components, SWC libraries are used as themes, the visual appearance
of applications built in Flex. A SWC theme file contains a CSS file
and all the related graphic assets. For more information about creating
and using themes, see .
Configure libraries for your applicationsYou use SWC libraries in your projects in the following
Merged into the application
When you add a SWC file to the project’s library path, the
components contained in the library are available to use in your
application. When you build the application, only the library components
you actually used are compiled into the application SWF file. In
other words, all of your application code is merged into a single
SWF file. This is the most common and straightforward way of using
library components. External to the application
You can keep library components separate from the compiled
SWF file, so they are not merged into the file. The compiler resolves all
code contained in the library that is used by the application, but
does not merge the code into the application SWF file. The advantage
of this approach is that you make the application SWF file smaller.
The components contained in the SWC file are retrieved and loaded
into memory as needed, at runtime.Runtime Shared Library
In Flex projects only, you can also use SWC files as a Runtime
Shared Library (RSL), which is similar to a dynamically linked library
on other platforms. Use SWC files as an RSL when you have a collection
of components that are used by more than one application. There
are several advantages to sharing components between applications
by using an RSL. First, the library is loaded into memory once,
cached, and then available to all the applications that use those
components. Second, the components contained within the library
are only loaded when they are needed, which reduces the application’s
startup time because the size of each application is smaller. The
potential problem to this approach is that the entire RSL is loaded into
memory, rather than the individual components that the applications
use. For more information about when to use SWC files as an RSL,
Create Flex library projectsWhen you create a library project, the New Flex Library
Project wizard guides you through the steps, prompting you for the
project name, location, and build path information.
The first step in creating a SWC file in Flash Builder is to
create a Flex Library project. After you create the Library project,
you add components, specify the library project elements to include
in the SWC file, and then build the project to generate the SWC
Select File & New & Flex Library
Enter a Project name, and then specify the following:
Project Location
The default location is the current workspace. On Windows platforms,
the default workspace location is C:\Documents and Settings\username\Adobe
Flash Builder\. On the Macintosh, the default workspace location
is /Users/username/Adobe Flash Builder/. You can choose a
different project location by deselecting the Use Default Location
option. Configuration
You can specify if the Flex Library project uses generic
libraries or mobile libraries. Generic libraries are used for web,
desktop, and mobile projects.You can also specify if the
Flex Library project has to be compatible with Flash Catalyst. In
that case, generic libraries are used. Mobile libraries are not supported
for Flash Catalyst compatible projects.
Flex SDK Version
Choose default or specific. You can also click the Configure SDKs
link to add, edit, or remove SDKs on the main Preferences page.Include Adobe AIR libraries
Select this option if your library must use AIR features,
such as access to the AIR APIs. Flash Builder then changes the library path
of this new Flex Library project so that it includes airglobal.swc
and airframework.swc. Web-based Flex projects cannot use this library.Do
not select this option if you are writing a generic library intended
to be used only in a web-based application, or in either a web-based
or AIR-based application.
Click Next.
(Optional) Set the build path information. For example, you
can add folders to the project’s source path that contains the components
to include in the SWC file. You can also add other projects, folder,
or library SWC files to include in your library project. See .
When you finish entering the project settings, click Finish.
 For best practices while creating Flex libraries, see
the article by Adobe Flex Community Expert, Xavi Beumala.
Create an AIR library projectTo create
an AIR code library for multiple Adobe AIR projects, create an Adobe
AIR library project using the standard Flex library project wizard.
Select File & New & Flex Library
Specify a project name.
Select Include Adobe AIR Libraries and then click Next.
Modify the build path as needed and then click Finish. For
more information about creating library projects, see “About library
projects” in the Flash Builder Help.
Add components to the library projectYou add components to the library project in the following
Add new or existing custom components, ActionScript classes,
and other assets to the project.
Link to existing components in other projects in the workspace.
Add a linked folder that contains components to the library
project’s source path. (See .)
All the components you include in the library
project must be associated with the library project (directly or
as linked resources).
Select library project elements to include in the SWC fileTo select the elements (components and resources) to include
in the SWC, follow these steps:
Select Project & Properties &
Flex Library Build Path.
The components that you added to
the project (either directly or by linking to them) appear in the
Classes tab.
Select the component classes to include in the SWC file.
(Optional) Select the Resources tab and then select the resources
to include in the SWC file.
After you make your selections, click OK.
Build library projectsAfter you select elements to include in the SWC file, and
if you selected the Build Automatically option, the SWC file is
immediately compiled and generated into the project’s output folder.
If you build your projects manually, you can build the library project
when you want by selecting Project & Build Project or
Build All.
Building your library project generates a SWC file, which you
can share with other applications or users.
A SWC file is an archive file. You can open the SWC file in any
archive utility, such as Winzip. Inside the SWC file are the library.swf
and catalog.xml files. There also are properties files and other
embedded assets.
You can export the library as an open directory rather than as
a SWC file. You typically export a library as an open directory
when you plan on using the library.swf file inside the SWC file
as an RSL.
You do this by setting the directory and output compiler
options. You set the output option to the name
of a directory to create, and set the directory option
to true to indicate that you want an open directory
and not a SWC file when you build the library. To edit the compiler
options, select Project & Properties & Flex
Library Compiler, and add the options to the “Additional compiler
arguments” for example:
-directory=true -output=myOpenDir
Flash Builder creates a directory in the project named myOpenDir
and stores the contents of the SWC file in that directory.
Use SWC files in your projectsTo use SWC files in your Flex projects,
you add them to the project’s library path. The SWC files can be
located in the project, in a Flex library project, in a shared folder
within the workspace, or any other location that has been linked
to the project (using a shared folder that was added to the project’s
source path, for example).
When you use SWC files in applications, there are configuration
options that determine whether they are statically or dynamically
linked to the application, merged into the application SWF file,
or external to it and accessed separately at runtime.
Add a SWC file to the library pathWith a project selected
in the Package Explorer, select Project & Properties & Flex
Build Path.
Click the Library Path tab.
Select any of these options to add SWC files:
Add Project
Adds a Flex library project.Add SWC Folder
Lets you add a folder that contains SWC files.Add SWC
Adds a compiled SWC file.Add Flex SDK
Lets you add other Flex SDKs. If your project already has
a Flex SDK in its library path, this button is disabled. If you
remove the existing Flex SDK from your library path, the button
is enabled. When you click this button, a Flex SDK node is added,
but you are not prompted which one is added. To control which Flex
SDK to use, select Project & Properties &
Flex Compiler.
Enter or browse to and select the location of the SWC file,
project, or folder. Click OK.
The SWC file, library project,
or folder is added to the library path.
Merge the SWC file into the application SWF file when compiledWith a project selected in the Package Explorer,
select Project & Properties & Flex Build
Click the Library Path tab, and then select and expand the
SWC file entry to display the SWC options.
Double-click the Link Type option. The Library Path Items
Options dialog box appears.
Select the Merged into Code option, and click OK.
This procedure is the equivalent of using the library-path compiler
Set the SWC file as an external library fileWith a project selected in the Package Explorer,
select Project & Properties & Flex Build
Select the Library Path tab, and then select and expand the
SWC file entry to display the SWC options.
Double-click the Link Type option. The Library Path Items
Options dialog box appears.
Select the External option, and click OK.
This procedure is the equivalent of using the external-library-path compiler
Use the SWC file as an RSLYou can externalize the shared assets in your applications’
SWF files into stand-alone files. These stand-alone files can be
separately downloaded and cached on the client. The shared assets
are transferred and loaded only once to the client but any number
of applications can use them at runtime. These shared files are known
as Runtime Shared Libraries or RSLs.
With a project selected in the Package Explorer, select
Project & Properties & Flex Build Path.
Select the Library Path tab, and then select and expand the
SWC file entry to display the SWC options.
Double-click the Link Type option or click Edit. The Library
Path Items Options dialog box appears.
Select Run-time Shared Library (RSL) as the link type.
You can add a URL to specify where the SWC library resides
when the application is deployed. You can also edit an existing
URL, if necessary.
Select Force Load RSL to force-load an unused RSL during
compile time.
You can specify the application domain in which the cross-domain
RSLs have to be loaded.
Using the SWC files as an RSL simplifies the process for using
RSLs manually. To do so, you extract the SWF file from the SWC file
and set the values of the runtime-shared-library-path compiler
For more information about using SWC files as an RSL, see in Using Adobe Flex.
&Twitter(TM) and Facebook posts are not covered under the terms of Creative Commons.Flex(43)
一、Map控件的属性
1、Map控件的常用属性
&地图的当前视图对应的地理坐标范围
&infoWindow
&InfoWindow
&气泡窗口(只读属性)
&infoWindowContent
&UIComponent
&气泡窗口中的内容
&地图中包含的图层数组
&标识地图是否已经加载完成。当地图中包含多个图层时,第一个图层加载完成后,该属性即变成true
&地图的缩放级别
&panEasingFactor
&平移地图时惯性大小,取值区间0~1,1表示完全没有惯性
&地图的当前比例尺
&spatialReference
&SpatialReference
&地图的坐票系,只读属性
&staticLayer
&静态图层,用于添加图例、logo等元素,可以固定在地图控件的指定位置,不随地图缩放、平移而发生变化
2、Map控件的导航功能开关属性
clickRecenterEnabled
Shift+点击中心定位功能开关
doubleClickZoomEnabled
鼠标双击放大功能开关
keyboardNavigationEnabled
键盘导航开关
rubberbandZoomEnabled
Shift+左键拉框放大开关
panEnabled
鼠标漫游开关
scrollWheelZoomEnabled
鼠标滚轮缩放开关
mapNavigationEnabled
地图导航开关。设置为false,相当于锁定地图,鼠标,键盘都无法导航
keyboardNavigationEnabled
键盘导航开关
openHandCursorVisible
地图上鼠标的样式是否为张开的小手,为false时就是普通箭头
3、Map控件辅助性的静态对象显示控件
crosshairVisible
控制地图中心的十字符号是否显示
scaleBarVisible
控制是否有比例尺条
panArrowsVisible
控制控件边缘上的八个漫游按钮是否显示
zoomSliderVisible
控制是否显示地图缩放滑动条
logoVisible
控制是否显示ESRI公司的logo
二、Map控件的常用事件
extentChange
地图的当前可视区域对应的地理范围发生改变时触发,即Map控件的extent属性发生变化时触发
往Map中添加图层时触发
layerRemove
从Map中删除图层时触发
layerRemoveAll
删除所有图层时触发
layerReorder
地图中的图层上下叠加顺序发生变化时触发
当地图中有图层加载成功时触发,不管共有多少图层,只要有一个图层加载成功,即触发
鼠标点击地图时...
地图平移完成时...
地图开始平移时...
地图缩放完成时,一般通过监听此事件来获取比例尺信息
地图开始缩放时...
mapMouseDown
鼠标左键在地图上按下时...
二、Map控件的常用方法
1、Map地图控件的导行方法
centerAt(mapPoint):void
把地图中心定位到指定点
panDown():void
向下平移地图
panLeft():void
赂左平移地图
panLowerLeft():void
向左下平移地图
panLowerRight():void
向右下平移地图
panRight():void
向右平移地图
panUp():void
向上平移地图
panUpperLeft():void
向左上平移地图
panUpperRight():void
向右上平移地图
zoomIn():void
zoomOut():void
2、Map地图控件控制图层的方法
addLayer(layer:Layer,index:int=-1):String
添加图层;并且可以通过参数指定新图层所在的上下位置,这会影响图层的叠加后显示的效果
getLayer(layerId:String):Layer
根据图层ID,获取图层对象
removeAllLayers():void
删除所有图层
removeLayer(layer:Layer):void
删除指定地图
reorderLayer(layerId:String,index:int):void
改变地图中图层的顺序
3、Map地图控件地图、屏幕坐标转换的方法
toMap(screenPoint:Point):MapPoint
从屏幕坐标(相对于Map控件左上角)转换为地理坐标
toMapFromStage(stageX:Number,stageY:Number):MapPoint
从屏幕坐标(相对于整个FLEX程序界面的左上角)转换为地理坐标
toScreen(mapPoint:MapPoint):Point
转载地址:http://blog.csdn.net/lmy199024lmy/article/details/9851113
参考知识库
* 以上用户言论只代表其个人观点,不代表CSDN网站的观点或立场
访问:10311次
排名:千里之外
原创:44篇
转载:29篇
(1)(2)(2)(2)(1)(13)(21)(21)(3)(7)上传用户:uiepxscdbd资料价格:5财富值&&『』文档下载 :『』&&『』学位专业:&关 键 词 :&&&&&权力声明:若本站收录的文献无意侵犯了您的著作版权,请点击。摘要:(摘要内容经过系统自动伪原创处理以避免复制,下载原文正常,内容请直接查看目录。)跟着互联网技巧的疾速成长和人们对用户体验愈来愈高的请求,传统的WebGIS逐步的裸露出了表示情势单一,客户交互性差,机能欠安,不克不及充足应用客户端盘算资本等缺陷,限制了其本身的成长。在这个配景之下,RIA(RichInternet Applications,富因特网运用法式)技巧的涌现,供给了一种全新的Web运用处理计划,其壮大的客户交互才能,盘算才能,和相当丰硕的表示与健全的通信才能对基于Internet的运用带来了反动性的变更,给GIS收集运用带来了新的成长机遇,推进了WebGIS的更新换代。现今比拟风行的RIA运用框架Flex技巧和REST架构作风,联合ArcGIS Server为我们供给的方便的开辟接口,是本文完成具有优越交互性和和用户体验体系的壮大的实际和技巧支持。本文借助Flex技巧和ArcGIS Server平台设计完成了一个界面丰硕雅观、呼应速度快、用户界面友爱的青海省基本地质信息同享平台,为工矿企业、施工单元、科研院所供给了一种方便的获得地质信息的方法。论文起首剖析了传统WebGIS的局限性和本文所选技巧的奇特的优势;其次对Flex技巧和ArcGISServer平台做了体系的引见并对体系完成的症结技巧停止了具体的研讨和剖析;再次,论述了体系的设计思绪和完成流程,并联合青海省基本地质信息同享平台实例演示了全部体系的功效完成,包含基本功效、地图对象、GP办事、地图Mashup;最初总结本文的研讨结果和缺乏的地方,并作出瞻望。Abstract:With the rapid development of Internet technology and the user experience is more and more high request, the traditional WebGIS gradually exposed the situation that a single, customer interaction, function not good, not enough computer application client capital and other defects, limiting their own development. In this background, RIA (Applications RichInternet, rich Internet application program) emerged, provides a new Web application processing plan, its growing customer interaction, planning, and a substantial representation and sound communication to the use of Internet based on the use of a revolutionary change to the GIS collection application has brought new growth opportunities, and promote the upgrading of WebGIS. Today's popular RIA application framework Flex and REST architecture style, combined with Server ArcGIS for the convenience of our open interface, this paper is to complete with the advantages of interactive and user experience system and the growth of the practical and skills support. With the help of the Flex technique and the ArcGIS Server platform designed an interface, fast response, rich elegant user friendly interface of Qinghai Province basic geological information sharing platform for industrial and mining enterprises, construction units, research institutes, provides a convenient way to obtain geological information. This paper firstly analyzes the limitations of traditional WebGIS and the skills of th secondly the Flex technique and ArcGISServer platform to do the system introduction and stop the specific research and analysis of the complete s thirdly, discusses the system design thoughts and complete the process, and combined with information sharing platform basic geology of Qinghai province demonstrates the effectiveness of the whole system, including the basic function, the map object and GP map service, M first summarizes the research results and the lack of place, and make a prospect.目录:摘要3-4Abstract4第一章 绪论7-12&&&&1.1 研究背景及意义7-8&&&&1.2 国内外研究现状8-9&&&&&&&&1.2.1 WebGIS 的应用现状8-9&&&&&&&&1.2.2 Flex 在 WebGIS 中的应用现状9&&&&1.3 论文的技术路线9-10&&&&1.4 论文组织结构10-12第二章 Flex 技术和 ArcGIS Server 平台介绍12-25&&&&2.1 Flex 技术介绍12-15&&&&&&&&2.1.1 Flex 概述12&&&&&&&&2.1.2 Flex 技术框架12-15&&&&&&&&2.1.3 Flash Builder 介绍15&&&&2.2 ArcGIS Server 介绍15-25&&&&&&&&2.2.1 ArcGIS Server 概述15-16&&&&&&&&2.2.2 ArcGIS Server 体系结构16-17&&&&&&&&2.2.3 ArcGIS Server 中的 GIS 服务17-19&&&&&&&&2.2.4 ArcGIS API for Flex 简介19-20&&&&&&&&2.2.5 ArcGIS Server REST API 概述20-25第三章 系统开发关键性技术研究25-31&&&&3.1 地图服务缓存和池化25-27&&&&&&&&3.1.1 地图服务缓存25-26&&&&&&&&3.1.2 池化26-27&&&&3.2 Flex RPC 服务27-29&&&&&&&&3.2.1 RPC 介绍27&&&&&&&&3.2.2 RPC 组件配置27-29&&&&3.3 Web Service29-31第四章 论文系统设计及实现流程31-44&&&&4.1 系统安全性设计31&&&&4.2 系统设计目标31-32&&&&4.3 系统总体结构设计32-33&&&&4.4 系统开发流程33-34&&&&4.5 制作和发布服务34-40&&&&&&&&4.5.1 Map 服务34-36&&&&&&&&4.5.2 GP 服务36-39&&&&&&&&4.5.3 Geometry 服务39-40&&&&4.6 系统开发环境搭建40-43&&&&4.7 系统调试与发布43-44第五章 基于 ArcGISAPI For Flex 的青海省地质信息共享平台实现44-67&&&&5.1 系统建立背景44&&&&5.2 研究区概况44-45&&&&5.3 系统开发平台45&&&&5.4 系统总体功能设计45-46&&&&5.5 系统功能演示46-67&&&&&&&&5.5.1 地图导航功能46-48&&&&&&&&5.5.2 地图鹰眼48-49&&&&&&&&5.5.3 绘制和量算工具49-52&&&&&&&&5.5.4 图层控制52-54&&&&&&&&5.5.5 查询功能54-56&&&&&&&&5.5.6 缓冲区分析56-58&&&&&&&&5.5.7 本地数据提取58-60&&&&&&&&5.5.8 统计分析60-61&&&&&&&&5.5.9 属性显示和地图打印61-62&&&&&&&&5.5.10 地图 Mashup62-67第六章 结论和展望67-69&&&&6.1 结论67&&&&6.2 展望67-69参考文献69-71致谢71-72个人简历72分享到:相关文献|}

我要回帖

更多关于 arcgis for flex 画圆 的文章

更多推荐

版权声明:文章内容来源于网络,版权归原作者所有,如有侵权请点击这里与我们联系,我们将及时删除。

点击添加站长微信