|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<MapTypeId>
com.google.gwt.maps.client.MapTypeId
public enum MapTypeId
Identifiers for common MapTypes
See MapTypeId API Doc
| Enum Constant Summary | |
|---|---|
HYBRID
This map type displays a transparent layer of major streets on satellite images. |
|
ROADMAP
This map type displays a normal street map. |
|
SATELLITE
This map type displays satellite images. |
|
TERRAIN
This map type displays maps with physical features such as terrain and vegetation. |
|
| Method Summary | |
|---|---|
static MapTypeId |
fromValue(String type)
|
String |
toString()
|
String |
value()
|
static MapTypeId |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static MapTypeId[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
| Methods inherited from class java.lang.Enum |
|---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, valueOf |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final MapTypeId HYBRID
public static final MapTypeId ROADMAP
public static final MapTypeId SATELLITE
public static final MapTypeId TERRAIN
| Method Detail |
|---|
public static MapTypeId[] values()
for (MapTypeId c : MapTypeId.values()) System.out.println(c);
public static MapTypeId valueOf(String name)
name - the name of the enum constant to be returned.
IllegalArgumentException - if this enum type has no constant
with the specified name
NullPointerException - if the argument is nullpublic String value()
public static MapTypeId fromValue(String type)
public String toString()
toString in class Enum<MapTypeId>
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||