Class: CommonServiceBase

SuperMap.CommonServiceBase

对接iServer各种服务的Service的基类。

new SuperMap.CommonServiceBase(url, options)

common/iServer/PlotCommonServiceBase.bak.js, line 2
Name Type Description
url string

服务地址。

options Object

可选参数。

Name Type Description
eventListeners Object 可选

事件监听器对象。有processCompleted属性可传入处理完成后的回调函数。processFailed属性传入处理失败后的回调函数。

serverType SuperMap.ServerType 可选

服务器类型,iServer|iPortal|Online。

format SuperMap.DataFormat 可选

查询结果返回格式,目前支持iServerJSON 和GeoJSON两种格式。参数格式为"ISERVER","GEOJSON"。