包 | com.supermap.web.iServerJava2.mapServices |
类 | public class GetMapStatusService |
继承 | GetMapStatusService ![]() |
该类负责根据客户端创建的 GetMapStatusParameters 对象中所指定的服务器上获取该服务器提供的地图信息,并将结果保存在 GetMapStatusResult 对象中。
另请参见
属性 | 定义方 | ||
---|---|---|---|
lastResult : GetMapStatusResult
[read-only] 获取服务端返回的地图信息,包括指定地图中所有图层的信息、地图可视范围、坐标信息等。
|
GetMapStatusService |
方法 | 定义方 | ||
---|---|---|---|
GetMapStatusService(url:String)
使用地图 web 服务地址初始化 GetMapStatusService 类的新实例。
|
GetMapStatusService | ||
execute(responder:IResponder, mapStatusParameters:GetMapStatusParameters):AsyncToken
执行操作。将客户端指定的参数 GetMapStatusParameters 传递给服务端,与服务端完成异步通讯。
|
GetMapStatusService |
lastResult | 属性 |
lastResult:GetMapStatusResult
[read-only]
获取服务端返回的地图信息,包括指定地图中所有图层的信息、地图可视范围、坐标信息等。
public function get lastResult():GetMapStatusResult
GetMapStatusService | () | 构造函数 |
public function GetMapStatusService(url:String)
使用地图 web 服务地址初始化 GetMapStatusService 类的新实例。
参数url:String — 地图 web 服务地址。 |
execute | () | 方法 |
public function execute(responder:IResponder, mapStatusParameters:GetMapStatusParameters):AsyncToken
执行操作。将客户端指定的参数 GetMapStatusParameters 传递给服务端,与服务端完成异步通讯。
参数
responder:IResponder — 与服务端完成异步通讯时将调用的处理函数。 |
|
mapStatusParameters:GetMapStatusParameters — 获取地图信息时所需的参数。 |
AsyncToken — 该返回类型为异步 RPC 操作提供设置额外数据或标记级别数据的位置。 |