java.lang.Object | |
↳ | com.carto.geocoding.GeocodingService |
![]() |
An abstract base class for geocoding services.
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
GeocodingResultVector |
calculateAddresses(GeocodingRequest request)
Calculates matching addresses from the specified geocoding request.
| ||||||||||
synchronized void | delete() | ||||||||||
String |
getLanguage()
Returns the language of the expected results.
| ||||||||||
int |
getMaxResults()
Returns the maximum number of results the geocoding service returns.
| ||||||||||
boolean |
isAutocomplete()
Returns the autocomplete flag of the service.
| ||||||||||
void |
setAutocomplete(boolean autocomplete)
Sets the autocomplete flag of the service.
| ||||||||||
void |
setLanguage(String lang)
Sets the language of the expected results.
| ||||||||||
void |
setMaxResults(int maxResults)
Sets the maximum number of results the geocoding service returns.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() |
Calculates matching addresses from the specified geocoding request.
request | The geocoding request to use. |
---|
Exception | If IO error occured during the calculation. |
---|---|
IOException |
Returns the language of the expected results.
Returns the maximum number of results the geocoding service returns.
Returns the autocomplete flag of the service.
Sets the autocomplete flag of the service.
By default this flag is off.
autocomplete | The new value for autocomplete flag. |
---|
Sets the language of the expected results.
lang | The language to use as ISO 639-1 code. Empty string can be used for default language. |
---|
Sets the maximum number of results the geocoding service returns.
The default number of results is service dependant (normally 10).
maxResults | The new maximum number of results the geocoding service returns. |
---|