new ol.supermap.AddressMatchService(url, options)
AddressMatchService.js, line 5
| Name | Type | Description | ||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
url |
string |
The url of service. |
||||||||||||||||
options |
Object |
The optional parameters.
|
Example
new ol.supermap.AddressMatchService(url,options)
.code(function(result){
//doSomething
})
Extends
Methods
-
code(params, callback)
AddressMatchService.js, line 27 -
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 48 -
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.