public static enum MapViewer.Type extends java.lang.Enum<MapViewer.Type>
Enum Constant and Description |
---|
HYBRID
Satellite images with transparent layer of major streets
|
ROADMAP
Normal street map
|
SATELLITE
Satellite images
|
TERRAIN
Map with physical features such as terrain and vegetation
|
Modifier and Type | Method and Description |
---|---|
MapViewer.Type |
fromId(java.lang.String id) |
java.lang.String |
getMapTypeId() |
static MapViewer.Type |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static MapViewer.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MapViewer.Type ROADMAP
public static final MapViewer.Type SATELLITE
public static final MapViewer.Type HYBRID
public static final MapViewer.Type TERRAIN
public static MapViewer.Type[] values()
for (MapViewer.Type c : MapViewer.Type.values()) System.out.println(c);
public static MapViewer.Type 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 getMapTypeId()
public MapViewer.Type fromId(java.lang.String id)