public enum BingMapsStyle extends Enum<BingMapsStyle> implements Enumeration
Enum Constant and Description |
---|
AERIAL
Aerial (satellite) imagery.
|
AERIAL_WITH_LABELS
Aerial imagery with a road overlay and labels.
|
CANVAS_DARK
A dark version of the road maps.
|
CANVAS_GRAY
A grayscale version of the road maps.
|
CANVAS_LIGHT
A lighter version of the road maps.
|
HILLSHADE
Roads without additional imagery, with shading based on altitude.
|
ROAD
Roads without additional imagery.
|
Modifier and Type | Method and Description |
---|---|
static BingMapsStyle |
getDefault()
Get the enum constant that is considered to be the default.
|
static BingMapsStyle |
getFromValue(int value)
Get the enum constant that is associated with the given numeric value.
|
int |
getValue()
Get the numeric value associated with this enum constant.
|
static BingMapsStyle |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static BingMapsStyle[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BingMapsStyle AERIAL
public static final BingMapsStyle AERIAL_WITH_LABELS
public static final BingMapsStyle ROAD
Note that this is different from what Bing Maps currently calls "Road",
which is available as BingMapsStyle.HILLSHADE
.
public static final BingMapsStyle HILLSHADE
Note that this is what Bing Maps currently calls "Road".
public static final BingMapsStyle CANVAS_DARK
public static final BingMapsStyle CANVAS_LIGHT
public static final BingMapsStyle CANVAS_GRAY
public static BingMapsStyle[] values()
for (BingMapsStyle c : BingMapsStyle.values()) System.out.println(c);
public static BingMapsStyle 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 int getValue()
getValue
in interface Enumeration
@Nonnull public static BingMapsStyle getFromValue(int value)
value
- a numeric value.@Nonnull public static BingMapsStyle getDefault()