com.supermap.web.iServerJava2.mapServices
public class GetMapStatusService
继承 GetMapStatusService Inheritance com.supermap.web.service.ServiceBase

地图信息服务类.

该类负责根据客户端创建的 GetMapStatusParameters 对象中所指定的服务器上获取该服务器提供的地图信息,并将结果保存在 GetMapStatusResult 对象中。

另请参见

GetMapStatusParameters
GetMapStatusResult


公共属性
  属性 定义方
    lastResult : GetMapStatusResult
[read-only] 获取服务端返回的地图信息,包括指定地图中所有图层的信息、地图可视范围、坐标信息等。
GetMapStatusService
公共方法
  方法 定义方
   
使用地图 web 服务地址初始化 GetMapStatusService 类的新实例。
GetMapStatusService
   
execute(responder:IResponder, mapStatusParameters:GetMapStatusParameters):AsyncToken
执行操作。将客户端指定的参数 GetMapStatusParameters 传递给服务端,与服务端完成异步通讯。
GetMapStatusService
属性详细信息
lastResult 属性
lastResult:GetMapStatusResult  [read-only]

获取服务端返回的地图信息,包括指定地图中所有图层的信息、地图可视范围、坐标信息等。


Implementation
    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 操作提供设置额外数据或标记级别数据的位置。