public class DirectionsGeocodedWaypoint extends MapObject
Modifier and Type | Class and Description |
---|---|
protected static class |
DirectionsGeocodedWaypoint.ArrayProperty |
Constructor and Description |
---|
DirectionsGeocodedWaypoint()
Creates new DirectionsGeocodedWaypoint object
|
DirectionsGeocodedWaypoint(Map map)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
boolean |
getPartialMatch()
Returns value of partialMatch property.
|
java.lang.String |
getPlaceId()
Returns value of placeId property.
|
java.lang.String[] |
getTypes()
Returns value of types property.
|
void |
setPartialMatch(boolean value)
Sets new value for partialMatch property.
|
void |
setPlaceId(java.lang.String value)
Sets new value for placeId property.
|
void |
setTypes(java.lang.String[] types)
Sets new value for types property.
|
addEventListener, attachObject, cacheProperties, cacheProperties, clone, createJSValue, dispose, fromJSValue, getJSObject, getMap, getProperties, invokeMethod, propertyChanged, removeEventListener, updateProperty
public DirectionsGeocodedWaypoint()
@Deprecated public DirectionsGeocodedWaypoint(Map map)
map
- owner Map objectpublic boolean getPartialMatch()
This property indicates whether the geocoder did not return an exact match for the original waypoint, 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 getPlaceId()
Represents the place ID associated with the waypoint. 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.
setPlaceId(java.lang.String)
public void setPlaceId(java.lang.String value)
value
- new property valuegetPlaceId()
public java.lang.String[] getTypes()
This property is an array of strings denoting the type of the returned geocoded element.
setPartialMatch(boolean)
public void setTypes(java.lang.String[] types)
types
- new property valuegetTypes()