L.supermap.fieldService(url, options)
FieldService.js, line 6
| Name | Type | Description | ||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
url |
string |
The url of service. |
||||||||||||||||
options |
Object |
The optional parameters.
|
Example
L.supermap.fieldService(url).getFields(function(result){
//doSomething
});
Extends
Events
-
inherited destroy
ServiceBase.js, line 47 -
Triggered after the resource is successfully released.
Properties:
Name Type Description thisL.supermap.ServiceBase This object.
-
inherited initialized
ServiceBase.js, line 34 -
Triggered after the constructor is constructed successfully.
Properties:
Name Type Description thisL.supermap.ServiceBase This object.
Methods
-
inherited destroy()
ServiceBase.js, line 42 -
Disposes the resource. The property that references resource is set to null.
-
getFields(params, callback)
FieldService.js, line 27 -
Get fields.
Name Type Description paramsSuperMap.FieldParameters The FieldParameters class.
callbackRequestCallback The callback of result data returned by the server side.
-
getFieldStatisticsInfo(params, callback)
FieldService.js, line 50 -
Get information of field statistics.
Name Type Description paramsSuperMap.FieldStatisticsParameters The FieldStatisticsParameters class.
callbackRequestCallback The callback of result data returned by the server side.