public enum GoogleMapStyle extends Enum<GoogleMapStyle> implements HasName
| Enum Constant and Description |
|---|
HYBRID
Google map hybrid view.
|
ROADMAP
Google map road map view.
|
SATELLITE
Google map satellite view.
|
TERRAIN
Google map terrain view.
|
UNKNOWN
Fallback when enumeration value is unknown.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getName() |
static GoogleMapStyle |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static GoogleMapStyle[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final GoogleMapStyle UNKNOWN
public static final GoogleMapStyle ROADMAP
public static final GoogleMapStyle HYBRID
public static final GoogleMapStyle TERRAIN
public static final GoogleMapStyle SATELLITE
public static GoogleMapStyle[] values()
for (GoogleMapStyle c : GoogleMapStyle.values()) System.out.println(c);
public static GoogleMapStyle 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.