|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectJavaScriptObject
com.google.maps.gwt.client.UnitSystem
public class UnitSystem
The valid unit systems that can be specified in a
DirectionsRequest
.
THIS SOURCE CODE IS GENERATED, DO NOT MODIFY
Field Summary | |
---|---|
static UnitSystem |
IMPERIAL
Specifies that distances in the DirectionsResult
should be expressed in imperial units. |
static UnitSystem |
METRIC
Specifies that distances in the DirectionsResult
should be expressed in metric units. |
Constructor Summary | |
---|---|
protected |
UnitSystem()
Protected constructor avoids default public constructor. |
Method Summary | |
---|---|
static UnitSystem |
fromValue(UnitSystem value)
Access the enum instance using the underlying value of the type. |
UnitSystem |
getValue()
Access the underlying value of the type. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final UnitSystem IMPERIAL
DirectionsResult
should be expressed in imperial units.
public static final UnitSystem METRIC
DirectionsResult
should be expressed in metric units.
Constructor Detail |
---|
protected UnitSystem()
Method Detail |
---|
public static final UnitSystem fromValue(UnitSystem value)
public final UnitSystem getValue()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |