public static enum ContextButton.Symbol extends Enum<ContextButton.Symbol>
ContextButton.setSymbol(ContextButton.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 ContextButton.Symbol |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ContextButton.Symbol[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ContextButton.Symbol CIRCLE
public static final ContextButton.Symbol SQUARE
public static final ContextButton.Symbol DIAMOND
public static final ContextButton.Symbol TRIANGLE
public static final ContextButton.Symbol TRIANGLE_DOWN
public static ContextButton.Symbol[] values()
for (ContextButton.Symbol c : ContextButton.Symbol.values()) System.out.println(c);
public static ContextButton.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<ContextButton.Symbol>Copyright © 2015. All Rights Reserved.