Class: chartService

chartService

海图服务。

L.supermap.chartService(url, options)

leaflet/services/ChartService.js, line 8
Name Type Description
url string

与客户端交互的海图服务地址。

options Object

可选参数。如:
serverType - {SuperMap.ServerType} 服务来源 iServer|iPortal|online

Example
L.supermap.chartService(url)
     .queryChart(param,function(result){
         //doSomething
     })

Extends

Methods

inherited destroy()

leaflet/services/ServiceBase.js, line 30

释放资源,将引用的资源属性置空。

getChartFeatureInfo(callback)

leaflet/services/ChartService.js, line 51

获取海图物标信息

Name Type Description
callback function

回调函数

queryChart(params, callback, resultFormat)

leaflet/services/ChartService.js, line 27

查询海图

Name Type Description
params SuperMap.ChartQueryParameters

海图查询所需参数类。

callback function

回调函数。

resultFormat SuperMap.DataFormat

返回的结果格式类型。