public enum MapTypes extends Enum<MapTypes>
Enum Constant and Description |
---|
HYBRID
Hybrid Map
|
ROADMAP
Roadmap Map
|
SATELLITE
Satellite Map
|
TERRAIN
Terrain Map
|
Modifier and Type | Method and Description |
---|---|
String |
getId()
Gets Map Id
|
String |
getLabel()
Gets Map label
|
String |
toString()
Gets Map translated label
|
static MapTypes |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MapTypes[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MapTypes ROADMAP
public static final MapTypes SATELLITE
public static final MapTypes TERRAIN
public static final MapTypes HYBRID
public static MapTypes[] values()
for (MapTypes c : MapTypes.values()) System.out.println(c);
public static MapTypes valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic String getId()
public String getLabel()