摘要: class Map 方法 toMapFromStage 用于把屏幕坐标转换为地理坐标public function toMapFromStage(stageX:Number, stageY:Number):MapPoint Converts the global stage coordinates to a map point. Parameters stageX:Number — The horizontal coordinate in global stage coordinates. stageY:Number — The vertical coordinate in glob... 阅读全文
posted @ 2013-11-10 23:30 LeeZhao 阅读(450) 评论(0) 推荐(0)
摘要: 在地图上以类似于提示框的方式显示查询信息,类似于arcmap中单击图层查看属性 由于Class Graphic有infoWindowRenderer : IFactory这个属性 (注:infoWindowRenderer propertyinfoWindowRenderer:IFactory [read-write] The infoWindowRenderer is a UIComponent factory that is added to a graphic. Wen infoWindowRenderer is defined on a graphic, a mouse "c 阅读全文
posted @ 2013-10-23 13:04 LeeZhao 阅读(489) 评论(0) 推荐(0)
摘要: creationComplete(继承的事件)当组件完成其构建、属性处理、测量、布置和绘制时调度。loadFires when the first layer has been successfully added to the map. 当第一个图层被成功加载到地图时触发location.search.substring(1) (注:js的一些知识) 返回当前地址?后面的内容Query与QueryTask经常搭配进行查询工作 QueryTask类的execute方法:public function execute(query:Query, responder:IResponder = nul 阅读全文
posted @ 2013-10-23 12:58 LeeZhao 阅读(332) 评论(0) 推荐(0)