L.supermap.fieldService(url, options)
leaflet/services/FieldService.js, line 6
Name | Type | Description |
---|---|---|
url |
string |
字段服务地址 |
options |
Object |
字段服务类可选参数。如: |
Example
L.supermap.fieldService(url).getFields(function(result){
//doSomething
});
Extends
Methods
-
inherited destroy()
leaflet/services/ServiceBase.js, line 30 -
释放资源,将引用的资源属性置空。
-
getFields(params, callback)
leaflet/services/FieldService.js, line 26 -
字段查询服务
Name Type Description params
SuperMap.FieldParameters 字段信息查询参数类
callback
function 回调函数
-
getFieldStatisticsInfo(params, callback)
leaflet/services/FieldService.js, line 47 -
字段统计服务
Name Type Description params
SuperMap.FieldStatisticsParameters 字段统计信息查询参数类
callback
function 回调函数