public enum MapLayersType extends java.lang.Enum<MapLayersType>
Enum Constant and Description |
---|
BASIC
Default style.
|
HYBRID
Labels and roads only.
|
LABELS
Labels only.
|
NONE
No layers.
|
Modifier and Type | Method and Description |
---|---|
static MapLayersType |
fromString(java.lang.String value)
Get
MapTilesType from String. |
static MapLayersType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static MapLayersType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MapLayersType NONE
public static final MapLayersType BASIC
public static final MapLayersType LABELS
public static final MapLayersType HYBRID
public static MapLayersType[] values()
for (MapLayersType c : MapLayersType.values()) System.out.println(c);
public static MapLayersType 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 static MapLayersType fromString(java.lang.String value)
MapTilesType
from String. Exception will
be thrown when string does not match any enum value.