public class GeocoderResult extends MapObject
Constructor and Description |
---|
GeocoderResult()
Creates new GeocoderResult object.
|
GeocoderResult(Map map)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
GeocoderAddressComponent[] |
getAddressComponents()
Returns value of addressComponents property.
|
java.lang.String |
getFormattedAddress()
Returns value of formattedAddress property.
|
GeocoderGeometry |
getGeometry()
Returns value of geometry property.
|
boolean |
getPartialMatch()
Returns value of partialMatch property.
|
java.lang.String |
getPlaceId()
Returns value of placeId property.
|
java.lang.String[] |
getPostcodeLocalities()
Returns value of postcodeLocalities property.
|
java.lang.String[] |
getTypes()
Returns value of types property.
|
void |
setAddressComponents(GeocoderAddressComponent[] items)
Sets new value for addressComponents property.
|
void |
setFormattedAddress(java.lang.String value)
Sets new value for formattedAddress property.
|
void |
setGeometry(GeocoderGeometry value)
Sets new value for geometry property.
|
void |
setPartialMatch(boolean value)
Sets new value for partialMatch property.
|
void |
setPlaceId(java.lang.String value)
Sets new value for placeId property.
|
void |
setPostcodeLocalities(java.lang.String[] items)
Sets new value for postcodeLocalities property.
|
void |
setTypes(java.lang.String[] items)
Sets new value for types property.
|
addEventListener, attachObject, cacheProperties, cacheProperties, clone, createJSValue, dispose, fromJSValue, getJSObject, getMap, getProperties, invokeMethod, propertyChanged, removeEventListener, updateProperty
public GeocoderResult()
@Deprecated public GeocoderResult(Map map)
map
- owner Map objectpublic java.lang.String getFormattedAddress()
Represents a string containing the human-readable address of this location.
setFormattedAddress(java.lang.String)
public void setFormattedAddress(java.lang.String value)
value
- new property valuegetFormattedAddress()
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.
setPlaceId(java.lang.String)
public void setPlaceId(java.lang.String value)
value
- new property valuegetPlaceId()
public boolean getPartialMatch()
Indicates whether the geocoder did not return an exact match for the original request, though it was able to match part of the requested address.
setPartialMatch(boolean)
public void setPartialMatch(boolean value)
value
- new property valuegetPartialMatch()
public java.lang.String[] getPostcodeLocalities()
Represents a collection of strings denoting all the localities contained in a postal code. This is only present when the result is a postal code that contains multiple localities.
setPostcodeLocalities(java.lang.String[])
public void setPostcodeLocalities(java.lang.String[] items)
items
- new property valuegetPostcodeLocalities()
public java.lang.String[] getTypes()
Represents a list of strings denoting the type of the returned geocoded element. For a list of possible strings, refer to the Address Component Types section of the Developer's Guide.
setTypes(java.lang.String[])
public void setTypes(java.lang.String[] items)
items
- new property valuegetTypes()
public GeocoderGeometry getGeometry()
Represents a GeocoderGeometry object corresponded to this result
setGeometry(com.teamdev.jxmaps.GeocoderGeometry)
public void setGeometry(GeocoderGeometry value)
value
- new property valuesetGeometry(com.teamdev.jxmaps.GeocoderGeometry)
public GeocoderAddressComponent[] getAddressComponents()
Represents a collection of GeocoderAddressComponents
setAddressComponents(com.teamdev.jxmaps.GeocoderAddressComponent[])
public void setAddressComponents(GeocoderAddressComponent[] items)
items
- new property valuegetAddressComponents()