ArcGIS Viewer for Flex(Layer 层标签) .
来源:互联网 发布:用户内存限制linux 编辑:程序博客网 时间:2024/06/06 07:13
原文转自:http://blog.csdn.net/yu624774720hua/article/details/6573063
数据为ArcGIS的Flex应用程序查看器的内容被定义为层。 A层引用的Web服务正在访问的浏览器。该浏览器支持,比如很多不同的数据源层:缓存或动态地图服务和Bing地图。它可以显示或底图层
<layer>- 这是一个地图服务,在浏览器显示的层。它必须包含在一个或是标记,它是在一个封闭的
label - 名称层。
type - 可能的层类型有:
- tiled: a cached ArcGIS Map Service (9.3 or later)
- dynamic: a non-cached ArcGIS Map Service (9.3 or later)
- feature: a single layer in an ArcGIS Map Service or Feature Service (9.3 or later)
- bing: Microsoft Bing layer
- image: an ArcGIS Server Image Service (9.3 or later)
- arcims: an ArcIMS Service (9.3 or later if using web mercator projection)
- osm: Base map from OpenStreetMap
- wms: a WMS service
alpha- 调整图层的透明度/不透明度。值的范围从0.0(透明)到1.0(不透明)。默认为1.0。
autorefresh - 多久(秒)刷新层(在服务器上时非常有用的数据经常变动)。仅适用于类型动态或ArcIMS的层。
displaylevels - 要指定比例级别这层应该显示在。仅适用于tiled和bing层。
imageforma - 要指定一个特定的图像输出格式,例如PNG,。针对不同的图层类型支持的图像格式:
Dynamic:
png8, png24. png32, jpg and gif
Image:
jpgpng, png8, png24, png32, jpg and gif
ArcIMS:
gif, jpg, png8 and png24
WMS:
png, jpg and gif
注:为jpgpng格式的支持是在ArcGIS Server的10.0增加。这种格式返回一个JPG如果在所要求的程度没有透明像素,否则返回一个PNG。
token - Token值用于访问ArcGIS Server服务安全。仅适用于层从ArcGIS服务器,如动态,功能,图像或平铺来(dynamic, feature, image or tiled)。
url - URL位置的地图服务。不适用于类型为“兵”或“ArcIMS的”层。所需的其他层,除了“OSM”。
useproxy - 用于地图服务,有一个代理服务器。布尔值,默认为false。
usemaptime - 用于时间感知的地图服务(如动态,功能或图像)。布尔值,默认是true。结合实用与时间滑块部件,使您的时间感知层有些忽略自己的时间意识。在推出2.2版。
visible - 确定图层是否可见或不适用时,第一次打开。布尔值,默认为“false”。
visiblelayers - 哪个子层显示在应用程序第一次打开。默认为指定的服务器上。仅适用于动态,ArcIMS和WMS。对于WMS是必需的或没有子层将显示。
Child tag specific to layers of type dynamic and tiles
<sublayer>支持以下属性:
- id - 身份证内的地图服务子层,通常是一个数字。
- popupconfig- URL的XML配置文件中的弹出窗口。有关更多信息,弹出配置文件。
Attributes specific for layers of type image:
- bandids- 逗号分隔的列表,其中带ID(S)使用特定的影像服务。 [可选]
Attributes specific for layers of type feature:
- popupconfig- URL的XML配置文件中的弹出窗口。同类型的"dynamic", "tiled" and "feature".
- info- URL的信息部件。提示:使用popupconfig而不是信息/ infoconfig。
- infoconfig - 网址为信息窗口部件的XML配置文件。提示:使用popupconfig而不是信息/ infoconfig。
- mode - 指缓存模式使用。有效值是OnDemand和快照。
- definitionexpression- 限制了人们对地图服务层的可用功能的子集数据。它类似于一个在ArcMap图层定义查询。
- useamf - 是指客户端和服务器之间的消息格式 - 使用AMF的JSON代替。不是必须的,但可以覆盖默认10使用AMF,9.3没有。
Attributes specific for Bing Maps:
- style- 有效的值是道路(默认),空中,或aerialWithLabels。
- culture- 要使用的语言地图上兵“的道路或aerialWithLabels风格的标签,如EN - US,SV - SE。请参阅支持的文化列表中的Microsoft Bing地图REST文档。
Attributes specific for ArcIMS:
- servicehost - ArcIMS服务器的URL
- servicename - ArcIMS服务的名称。
Attributes specific for WMS:
- skipgetcapabilities- 是否跳过最初的请求得到的能力。如果设置为true skipgetcapabilities网站主办WMS服务不提供跨域策略文件,你没有一个代理页面。 [可选]
- version- 版本使用时,要求WMS地图。允许的值是1.1.0,1.1.1或1.3.0。 [可选]
- wkid-覆盖发送到WMS服务器WKID。仅在需要的WMS服务器不理解你的地图的wkid。
在config.xml文件中的代码示例:
<layer label="Streets" type="tiled" visible="true" url="http://server.arcgisonline.com/ArcGIS/rest/services/World_Street_Map/MapServer"/>
故障排除技巧:
如果您的浏览器上的Flex比ArcGIS或ArcIMS的层不同的域是要添加,然后用ArcGIS或ArcIMS的机器需要有一个crossdomain.xml文件。
在ArcIMS的所有9.x的版本支持一般,但不是所有理解新空间参考。如果你的底图使用的是较新的投影,那么你的ArcIMS服务器可能不知道如何处理它。对于动态和平铺服务网址一般应结束/地图服务器,也包含/休息/。对于一个功能层的网址应该以一个数字,例如/地图服务器/ 0时,与地图服务或功能服务中。当影像服务中使用,一个功能层的URL应该结束在/地图服务器。
All 9.x versions of ArcIMS are supported in general, but not all of them understand newer spatial references. If your basemap is using a newer projection, then your ArcIMS server might not know how to handle it.
The URL for dynamic and tiled services should normally end in /MapServer and also contain /rest/.
The URL for a feature layer should end with a number, for example /MapServer/0 when used with a Map Service or Feature Service. When used with an Image Service, the URL for a feature layer should end in /MapServer.
- ArcGIS Viewer for Flex(Layer 层标签)
- ArcGIS Viewer for Flex(Layer 层标签) .
- ArcGIS Viewer for Flex(Widget部件标签) .(转帖)
- ArcGIS Viewer for Flex(Widget部件标签)
- ArcGIS Viewer for Flex(Widget部件标签) .
- ArcGIS Viewer for Flex(Widget的容器标签) .(转帖)
- ArcGIS Viewer for Flex(Widget的容器标签)
- ArcGIS Viewer for Flex
- arcgis viewer for flex
- ArcGIS Viewer for Flex(入门)
- ArcGIS Viewer for Flex(编辑配置文件)
- ArcGIS Viewer for Flex(主要配置文件)
- ArcGIS Viewer for Flex(弹出配置文件)
- ArcGIS Viewer for Flex(本地化)
- Flex Layer层标签
- arcgis viewer for flex 2.0
- ArcGIS Viewer for Flex(浏览器的样式) .(转帖)
- ArcGIS Viewer for Flex(弹出配置文件) .(转帖)
- 基于Z301P摄像头 H.264OK6410的远程视频web监控 项目笔记4(驱动预习)
- android 将view存在map里防止数据混乱
- Sublime Text 2 – 性感无比的代码编辑器!程序员必备神器!跨平台支持Win/Mac/Linux
- 类似于花瓣、发现啦的 Chrome 的插件截图功能是如何实现的?具体的实现原理是什么?
- Installing ImageMagick on Windows and Using with PHP
- ArcGIS Viewer for Flex(Layer 层标签) .
- fcntl的使用
- 命令行下mysql数据库连接与操作
- 自动开关机功能在安卓手机上实现
- jQuery用编辑器实现自动提示
- linux内核空间与用户空间信息交互方法
- 数据库_JDBC编程六步骤
- MB1A MB1B MB1C MB11 MIGO的区别解析
- JavaScript 中用"=="还是"===" 解答