public class GeocoderComponentRestrictions extends MapObject
| Modifier and Type | Class and Description |
|---|---|
protected static class |
GeocoderComponentRestrictions.Property |
| Constructor and Description |
|---|
GeocoderComponentRestrictions()
Creates new GeocoderComponentRestrictions object.
|
GeocoderComponentRestrictions(Map map)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getAdministrativeArea()
Returns value of administrativeArea property.
|
java.lang.String |
getCountry()
Returns value of country property.
|
java.lang.String |
getLocality()
Returns value of locality property.
|
java.lang.String |
getPostalCode()
Returns value of postalCode property.
|
java.lang.String |
getRoute()
Returns value of route property.
|
void |
setAdministrativeArea(java.lang.String value)
Sets new value for administrativeArea property.
|
void |
setCountry(java.lang.String value)
Sets new value for country property.
|
void |
setLocality(java.lang.String value)
Sets new value for locality property.
|
void |
setPostalCode(java.lang.String value)
Sets new value for postalCode property.
|
void |
setRoute(java.lang.String value)
Sets new value for route property.
|
addEventListener, attachObject, cacheProperties, cacheProperties, clone, createJSValue, dispose, fromJSValue, getJSObject, getMap, getProperties, invokeMethod, propertyChanged, removeEventListener, updatePropertypublic GeocoderComponentRestrictions()
@Deprecated public GeocoderComponentRestrictions(Map map)
map - owner Map objectpublic java.lang.String getAdministrativeArea()
Matches all the administrative_area levels. Optional.
setAdministrativeArea(java.lang.String)public void setAdministrativeArea(java.lang.String value)
value - new property valuegetAdministrativeArea()public java.lang.String getCountry()
Matches a country name or a two letter ISO 3166-1 country code. Optional.
setCountry(java.lang.String)public void setCountry(java.lang.String value)
value - new property valuegetCountry()public java.lang.String getLocality()
Matches against both locality and sublocality types. Optional.
setLocality(java.lang.String)public void setLocality(java.lang.String value)
value - new property valuegetLocality()public java.lang.String getPostalCode()
Matches postal_code and postal_code_prefix. Optional.
setPostalCode(java.lang.String)public void setPostalCode(java.lang.String value)
value - new property valuegetPostalCode()public java.lang.String getRoute()
Matches the long or short name of a route. Optional.
setRoute(java.lang.String)public void setRoute(java.lang.String value)
value - new property valuegetRoute()