随笔分类 -  ArcGIS4Flex

自绘组件在infoWindow中显示(arcgis flex)
摘要:1 自定义悬浮框<?xml version="1.0" encoding="utf-8"?><mx:Canvas xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:s="library://ns.adobe.com/flex/spark" xmlns:mx="library://ns.adobe.com/flex/mx" width="80" height="30"> <fx:Dec 阅读全文

posted @ 2013-05-22 11:08 看天空的星星 阅读(464) 评论(0) 推荐(0)

在infoWindow中显示Geocode server(地理编码服务)
摘要:定义locator标签<esri:Locator id="locator" url="http://geocode.arcgis.com/arcgis/rest/services/World/GeocodeServer" locationToAddressComplete="onLocationToAddressComplete(event)" fault="myService_faultHandler(event)" concurrency="last"/>给点添加鼠标事件//给点 阅读全文

posted @ 2013-05-22 10:57 看天空的星星 阅读(265) 评论(0) 推荐(0)

esri:InfoSymbol
摘要:1 <esri:InfoSymbol id="infos"> 2 <esri:infoRenderer> 3 <fx:Component> 4 <mx:HBox> 5 <s:Label text="第一列"/> 6 <s:Label text="第二列"/> 7 </mx:HBox> 8 </fx:Component> 9 ... 阅读全文

posted @ 2013-05-07 16:09 看天空的星星 阅读(264) 评论(0) 推荐(0)

ArcGIS Viewer for Flex 4326坐标系与12100坐标系坐标互转
摘要:1 定义以4326坐标系定位的地图 1 <esri:SpatialReference id="lo" wkid="4326" /> 2 3 <esri:Map crosshairVisible="true" width="100%" height="100%" id="myMap" logoVisible="false"> 4 <esri:ArcGISTiledMapServiceLayer url="http:// 阅读全文

posted @ 2013-05-07 16:02 看天空的星星 阅读(821) 评论(0) 推荐(0)

ArcGIS Viewer for Flex绘点,连线
摘要:前言,如何加载ArcGIS类库及地图服务参见<ArcGIS Viewer for Flex加载地图服务>1 定义坐标点1 private var arr:Array=2 [3 new MapPoint(114.06,30.74,new SpatialReference(4326)),4 new MapPoint(114.41,30.55,new SpatialReference(4326))5 ];2 建立map 1 <esri:Map crossha... 阅读全文

posted @ 2013-05-07 15:55 看天空的星星 阅读(338) 评论(0) 推荐(0)

ArcGIS Viewer for Flex加载地图服务
摘要:1 建立flex项目将ArcGIS Viewer for Flex API加载到libs文件夹下(agslib-3.2-2013-03-19.swc),并在项目-属性-flex构建路径-库路径中将其添加进去2 定义坐标系1 <fx:Declarations>2 <!-- 4326为经纬度坐标系,12100为投影坐标系 -->3 <esri:SpatialReference id="sr" wkid="4326" />4 </fx:Declarations>3 绘制地图 1 <esri:Map cros 阅读全文

posted @ 2013-05-07 15:45 看天空的星星 阅读(444) 评论(0) 推荐(0)

导航