com.google.maps.gwt.client
Class UnitSystem

java.lang.Object
  extended by JavaScriptObject
      extended by com.google.maps.gwt.client.UnitSystem

public class UnitSystem
extends JavaScriptObject

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

IMPERIAL

public static final UnitSystem IMPERIAL
Specifies that distances in the DirectionsResult should be expressed in imperial units.


METRIC

public static final UnitSystem METRIC
Specifies that distances in the DirectionsResult should be expressed in metric units.

Constructor Detail

UnitSystem

protected UnitSystem()
Protected constructor avoids default public constructor.

Method Detail

fromValue

public static final UnitSystem fromValue(UnitSystem value)
Access the enum instance using the underlying value of the type.


getValue

public final UnitSystem getValue()
Access the underlying value of the type.