public static enum Annotation.AnnotationType extends Enum<Annotation.AnnotationType>
| Enum Constant and Description |
|---|
Flat
A flat annotation is an annotation placed flatly on the surface of the map,
regardless of the camera position and orientation.
|
LatLonToScreen2D
An alternative way to position a 2D screen annotation is to convert a latitude-longitude coordinate to a screen coordinate,
and use that screen coordinate to position a screen annotation.
|
Screen2D
Annotations can also be placed and rendered in screen coordinates (or, rather, viewport coordinates).
|
ViewerFacing
A viewer-facing annotation always faces the camera regardless of the camera position or tilt.
|
| Modifier and Type | Method and Description |
|---|---|
static Annotation.AnnotationType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Annotation.AnnotationType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Annotation.AnnotationType Flat
public static final Annotation.AnnotationType ViewerFacing
public static final Annotation.AnnotationType Screen2D
public static final Annotation.AnnotationType LatLonToScreen2D
public static Annotation.AnnotationType[] values()
for (Annotation.AnnotationType c : Annotation.AnnotationType.values()) System.out.println(c);
public static Annotation.AnnotationType 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