L.supermap.addressMatchService(url, options)
AddressMatchService.js, line 6
| Name | Type | Description | ||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
url |
string |
The url of service. |
||||||||||||||||
options |
Object |
The optional parameters.
|
Example
L.supermap.addressMatchService(url,options)
.code(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
-
code(params, callback)
AddressMatchService.js, line 29 -
Get the result of coding addressMatchService.
Name Type Description paramsSuperMap.GeoCodingParameter The parameters of coding addressMatchService.
callbackRequestCallback The callback of result data returned by the server side.
-
decode(params, callback)
AddressMatchService.js, line 50 -
Get the result of decoding addressMatchService.
Name Type Description paramsSuperMap.GeoDecodingParameter The parameters of decoding addressMatchService.
callbackRequestCallback The callback of result data returned by the server side.
-
inherited destroy()
ServiceBase.js, line 42 -
Disposes the resource. The property that references resource is set to null.