public static enum Map.LocationMode extends Enum<Map.LocationMode>
Map
coordinates that corresponds to a given view location.Enum Constant and Description |
---|
ClosestSurface
Defines the view-to-map transformation mode where, for a given view point (pixels), a corresponding position (in
Map coordinates) on a closest surface is provided. |
Terrain
Defines the view-to-map transformation mode where, for a given view point (pixels) a corresponding position (in
Map coordinates) on the terrain is provided. |
Modifier and Type | Method and Description |
---|---|
static Map.LocationMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Map.LocationMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Map.LocationMode ClosestSurface
Map
coordinates) on a closest surface is provided.public static final Map.LocationMode Terrain
Map
coordinates) on the terrain is provided.public static Map.LocationMode[] values()
for (Map.LocationMode c : Map.LocationMode.values()) System.out.println(c);
public static Map.LocationMode 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 null