public class NominatimOptions extends Object
| Constructor and Description |
|---|
NominatimOptions() |
| Modifier and Type | Method and Description |
|---|---|
Locale |
getAcceptLanguage()
Gets the preferred locale for results.
|
PolygonFormat |
getPolygonFormat()
Gets the default polygon points format.
|
BoundingBox |
getViewBox()
Gets the preferred search bounds.
|
boolean |
isBounded()
Gets whether or not the search is strictly bounded.
|
void |
setAcceptLanguage(Locale acceptLanguage)
Sets the preferred locale for results.
|
void |
setBounded(boolean bounded)
Sets whether or not the search is strictly bounded.
|
void |
setPolygonFormat(PolygonFormat format)
Sets the default polygon points format.
|
void |
setViewBox(BoundingBox searchBounds)
Sets the preferred search bounds.
|
public BoundingBox getViewBox()
public void setViewBox(BoundingBox searchBounds)
searchBounds - the preferred search bounds to setpublic boolean isBounded()
public void setBounded(boolean bounded)
bounded - whether or not the search is strictly boundedpublic PolygonFormat getPolygonFormat()
public void setPolygonFormat(PolygonFormat format)
format - the default polygon points format to setpublic Locale getAcceptLanguage()
public void setAcceptLanguage(Locale acceptLanguage)
acceptLanguage - the preferred locale for resultsCopyright © 2010–2019 Dudie. All rights reserved.