public enum OpenStreetMapStyle extends Enum<OpenStreetMapStyle> implements HasName
| Enum Constant and Description |
|---|
CYCLE
OSM cycle view.
|
MAP_BOX
Slippy map layer view for OSM.
|
NONE
No style applied.
|
SATELLITE
Geotab satellite view.
|
TRANSPORT
OSM transport view.
|
UNKNOWN
Fallback when enumeration value is unknown.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getName() |
static OpenStreetMapStyle |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static OpenStreetMapStyle[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final OpenStreetMapStyle UNKNOWN
public static final OpenStreetMapStyle NONE
public static final OpenStreetMapStyle MAP_BOX
public static final OpenStreetMapStyle CYCLE
public static final OpenStreetMapStyle TRANSPORT
public static final OpenStreetMapStyle SATELLITE
public static OpenStreetMapStyle[] values()
for (OpenStreetMapStyle c : OpenStreetMapStyle.values()) System.out.println(c);
public static OpenStreetMapStyle 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 nullCopyright © 2023. All rights reserved.