public enum MapTypeEnum extends Enum<MapTypeEnum> implements NamedEnum
| Enum Constant and Description |
|---|
HYBRID
The hybrid type
|
ROADMAP
The roadmap type
|
SATELLITE
The satellite map type
|
TERRAIN
The terrain map type
|
| Modifier and Type | Method and Description |
|---|---|
static MapTypeEnum |
getByName(String name) |
String |
getName() |
static MapTypeEnum |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MapTypeEnum[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MapTypeEnum ROADMAP
public static final MapTypeEnum SATELLITE
public static final MapTypeEnum TERRAIN
public static final MapTypeEnum HYBRID
public static MapTypeEnum[] values()
for (MapTypeEnum c : MapTypeEnum.values()) System.out.println(c);
public static MapTypeEnum 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 static MapTypeEnum getByName(String name)
Copyright © 2017. All rights reserved.