com.supermap.web.iServerJava2.queryServices
public class QueryByCenterService
继承 QueryByCenterService Inheritance com.supermap.web.service.ServiceBase

中心点查询服务类. 中心点查询就是在地图中一个或多个图层中查找以指定点(即中心点)为中心的一定范围内的所有对象。
该类负责将客户端指定的中心点查询参数传递给服务端,并接收服务端返回的结果数据。



公共属性
  属性 定义方
    lastResult : ResultSet
[read-only] 获取服务端返回的中心点查询结果数据。
QueryByCenterService
公共方法
  方法 定义方
   
QueryByCenterService(url:String = null)
使用服务器的 URL 参数实例化 QueryByCenterService 对象。
QueryByCenterService
   
execute(responder:IResponder, parameters:QueryByCenterParameters):AsyncToken
执行查询操作。即,将客户端指定的中心点查询参数传递给服务端,与服务端完成异步通讯。
QueryByCenterService
属性详细信息
lastResult 属性
lastResult:ResultSet  [read-only]

获取服务端返回的中心点查询结果数据。


Implementation
    public function get lastResult():ResultSet
构造函数详细信息
QueryByCenterService () 构造函数
public function QueryByCenterService(url:String = null)

使用服务器的 URL 参数实例化 QueryByCenterService 对象。

参数
url:String (default = null) — 与客户端交互的服务器 URL。
方法详细描述
execute () 方法
public function execute(responder:IResponder, parameters:QueryByCenterParameters):AsyncToken

执行查询操作。即,将客户端指定的中心点查询参数传递给服务端,与服务端完成异步通讯。

参数

responder:IResponder — 远程或异步请求服务完成时将调用的处理函数。
 
parameters:QueryByCenterParameters — 中心点查询参数类。

返回
AsyncToken — 该返回类型为异步 RPC 操作提供设置额外数据或标记级别数据的位置。