包 | com.supermap.web.iServerJava6R.queryServices |
类 | public class QueryByBoundsService |
继承 | QueryByBoundsService ![]() ![]() |
范围查询是指查找包含于指定范围内,以及与指定范围边界相交的所有符合查询条件的地物。需要注意的是:该范围只能是矩形,不可为多边形。
该类负责将范围查询所需参数(QueryByBoundsParameters)传递至服务端,并获取服务端的返回结果。
用户可以通过两种方式获取查询结果:
1. 通过 AsyncResponder 类获取(推荐使用);
2. 通过监听 QueryEvent.PROCESS_COMPLETE 事件获取。
方法 | 定义方 | ||
---|---|---|---|
QueryByBoundsService(url:String = null)
使用服务地址 URL 参数实例化 QueryByBoundsService 对象。
|
QueryByBoundsService | ||
![]() |
processAsync(parameters:QueryParameters, responder:IResponder = null):AsyncToken
根据服务地址与服务端完成异步通讯,即发送查询参数,并获取查询结果。.
|
QueryService |