public enum LocationType extends java.lang.Enum<LocationType> implements com.google.maps.internal.StringJoin.UrlValue
Enum Constant and Description |
---|
APPROXIMATE
Restricts the results to those that are characterized as approximate.
|
GEOMETRIC_CENTER
Restricts the results to geometric centers of a location such as a polyline (for example, a
street) or polygon (region).
|
RANGE_INTERPOLATED
Restricts the results to those that reflect an approximation (usually on a road) interpolated
between two precise points (such as intersections).
|
ROOFTOP
Restricts the results to addresses for which we have location information accurate down to
street address precision.
|
UNKNOWN
Indicates an unknown location type returned by the server.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
toUrlValue() |
static LocationType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static LocationType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final LocationType ROOFTOP
public static final LocationType RANGE_INTERPOLATED
public static final LocationType GEOMETRIC_CENTER
public static final LocationType APPROXIMATE
public static final LocationType UNKNOWN
public static LocationType[] values()
for (LocationType c : LocationType.values()) System.out.println(c);
public static LocationType valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic java.lang.String toUrlValue()
toUrlValue
in interface com.google.maps.internal.StringJoin.UrlValue