public enum GeocoderLocationType extends java.lang.Enum<GeocoderLocationType>
Enum Constant and Description |
---|
APPROXIMATE
The returned result is approximate.
|
GEOMETRIC_CENTER
The returned result is the geometric center of a result such a line (e.g.
|
RANGE_INTERPOLATED
The returned result reflects an approximation (usually on a road) interpolated between two precise points (such as intersections).
|
ROOFTOP
The returned result reflects a precise geocode.
|
Modifier and Type | Method and Description |
---|---|
static GeocoderLocationType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static GeocoderLocationType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final GeocoderLocationType APPROXIMATE
public static final GeocoderLocationType GEOMETRIC_CENTER
public static final GeocoderLocationType RANGE_INTERPOLATED
public static final GeocoderLocationType ROOFTOP
public static GeocoderLocationType[] values()
for (GeocoderLocationType c : GeocoderLocationType.values()) System.out.println(c);
public static GeocoderLocationType 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 null