public class GeocoderRequest extends MapObject
Constructor and Description |
---|
GeocoderRequest()
Creates new GeocoderRequest object.
|
GeocoderRequest(Map map)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getAddress()
Returns value of address property.
|
LatLngBounds |
getBounds()
Returns value of bounds property.
|
LatLng |
getLocation()
Returns value of location property.
|
java.lang.String |
getPlaceId()
Returns value of placeId property.
|
java.lang.String |
getRegion()
Returns value of region property.
|
void |
setAddress(java.lang.String value)
Sets new value for address property.
|
void |
setBounds(LatLngBounds value)
Sets new value for bounds property.
|
void |
setComponentRestrictions(GeocoderComponentRestrictions value)
Sets new value for componentRestrictions property.
|
void |
setLocation(LatLng value)
Sets new value for location property.
|
void |
setPlaceId(java.lang.String value)
Sets new value for placeId property.
|
void |
setRegion(java.lang.String value)
Sets new value for region property.
|
addEventListener, attachObject, cacheProperties, cacheProperties, clone, createJSValue, dispose, fromJSValue, getJSObject, getMap, getProperties, invokeMethod, propertyChanged, removeEventListener, updateProperty
public GeocoderRequest()
@Deprecated public GeocoderRequest(Map map)
map
- owner Map objectpublic java.lang.String getAddress()
Represents address to geocode. One, and only one, of address, location and placeId must be supplied.
setAddress(java.lang.String)
public void setAddress(java.lang.String value)
value
- new property valuegetAddress()
public java.lang.String getPlaceId()
Represents the place ID associated with the location. Place IDs uniquely identify a place in the Google Places database and on Google Maps. Learn more about place IDs in the Places API developer guide. The geocoder performs a reverse geocode. See Reverse Geocoding for more information. One, and only one, of address, location and placeId must be supplied.
setPlaceId(java.lang.String)
public void setPlaceId(java.lang.String value)
value
- new property valuegetPlaceId()
public java.lang.String getRegion()
Represents the country code used to bias the search, specified as a Unicode region subtag / CLDR identifier. Optional.
setRegion(java.lang.String)
public void setRegion(java.lang.String value)
value
- new property valuegetRegion()
public LatLng getLocation()
Represents LatLng for which to search. The geocoder performs a reverse geocode. See Reverse Geocoding for more information. One, and only one, of address, location and placeId must be supplied.
setLocation(com.teamdev.jxmaps.LatLng)
public void setLocation(LatLng value)
value
- new property valuegetLocation()
public LatLngBounds getBounds()
Represents LatLngBounds within which to search. Optional.
setBounds(com.teamdev.jxmaps.LatLngBounds)
public void setBounds(LatLngBounds value)
value
- new property valuegetBounds()
public void setComponentRestrictions(GeocoderComponentRestrictions value)
value
- new property valuegetComponentRestrictions()