@JsType(isNative=true, namespace="<global>", name="Object") public class OpenCageGeocoderServiceOptions extends Object
OpenCageGeocoderService
Modifier and Type | Field and Description |
---|---|
int |
abbrv
When set to 1 we attempt to abbreviate and shorten the formatted string we return.
|
int |
add_request
When set to 1 the various request parameters are added to the response for ease of debugging.
|
String |
bounds
Provides the geocoder with a hint to the region that the query resides in.
|
String |
countrycode
Restricts the results to the specified country or countries (as defined by the ISO 3166-1 Alpha 2 standard).
|
String |
jsonp
Wraps the returned JSON with a function name.
|
String |
language
An IETF format language code.
|
int |
limiе
The maximum number of results we should return.
|
int |
min_confidence
An integer from 1-10.
|
int |
no_annotations
When set to 1 results will not contain annotations.
|
int |
no_dedupe
When set to 1 results will not be deduplicated.
|
int |
no_record
When set to 1 the query contents are not logged.
|
int |
pretty
When set to 1 results are 'pretty' printed for easier reading.
|
String |
proximity
Provides the geocoder with a hint to bias results in favour of those closer to the specified location (For example: 41.40139,2.12870).
|
Constructor and Description |
---|
OpenCageGeocoderServiceOptions() |
@JsProperty public int abbrv
@JsProperty public int add_request
@JsProperty public String bounds
@JsProperty public String countrycode
@JsProperty public String jsonp
@JsProperty public String language
@JsProperty public int limiе
@JsProperty public int min_confidence
@JsProperty public int no_annotations
@JsProperty public int no_dedupe
@JsProperty public int no_record
@JsProperty public int pretty
@JsProperty public String proximity
Copyright © 2019. All rights reserved.