public static enum Marker.Symbol extends Enum<Marker.Symbol>
Marker.setSymbol(Marker.Symbol) method.
Note that custom marker images are also supported by simply setting the
"symbol" option to a URL reference. E.g.
marker.setOption("symbol", "url(/serverpath/image.png)");
| Enum Constant and Description |
|---|
CIRCLE
Represent the marker with a circular shape
|
DIAMOND
Represent the marker with a diamond shape
|
SQUARE
Represent the marker with a square shape
|
TRIANGLE
Represent the marker with a triangular shape
|
TRIANGLE_DOWN
Represent the marker with an upside down triangular shape
|
| Modifier and Type | Method and Description |
|---|---|
String |
toString() |
static Marker.Symbol |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Marker.Symbol[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Marker.Symbol CIRCLE
public static final Marker.Symbol SQUARE
public static final Marker.Symbol DIAMOND
public static final Marker.Symbol TRIANGLE
public static final Marker.Symbol TRIANGLE_DOWN
public static Marker.Symbol[] values()
for (Marker.Symbol c : Marker.Symbol.values()) System.out.println(c);
public static Marker.Symbol 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 toString()
toString in class Enum<Marker.Symbol>Copyright © 2015. All Rights Reserved.