public enum OverlayType extends Enum<OverlayType>
| Enum Constant and Description |
|---|
CIRCLE
Specifies that the DrawingManager creates circles, and that the overlay given in the overlaycomplete event is a
circle.
|
MARKER
Specifies that the DrawingManager creates markers, and that the overlay given in the overlaycomplete event is a
marker.
|
POLYGON
Specifies that the DrawingManager creates polygons, and that the overlay given in the overlaycomplete event is a
polygon.
|
POLYLINE
Specifies that the DrawingManager creates polylines, and that the overlay given in the overlaycomplete event is a
polyline.
|
RECTANGLE
Specifies that the DrawingManager creates rectangles, and that the overlay given in the overlaycomplete event is a
rectangle.
|
| Modifier and Type | Method and Description |
|---|---|
static OverlayType |
fromValue(String type) |
String |
toString() |
String |
value() |
static OverlayType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static OverlayType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final OverlayType CIRCLE
public static final OverlayType MARKER
public static final OverlayType POLYGON
public static final OverlayType POLYLINE
public static final OverlayType RECTANGLE
public static OverlayType[] values()
for (OverlayType c : OverlayType.values()) System.out.println(c);
public static OverlayType 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 String value()
public static OverlayType fromValue(String type)
public String toString()
toString in class Enum<OverlayType>Copyright © 2011-2014 GWT Maps API V3. All Rights Reserved.