@JsType(isNative=true,
namespace="<global>",
name="Object")
public class IconOptions
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
IconOptions.Builder
The Class Builder.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getClassName()
Gets the class name assigned to both icon and shadow images.
|
Point |
getIconAnchor()
Gets the coordinates of the "tip" of the icon (relative to its top left corner).
|
java.lang.String |
getIconRetinaUrl()
Gets The URL to a retina sized version of the icon image (absolute or relative to your script path).
|
Point |
getIconSize()
Gets the size of the icon image in pixels.
|
java.lang.String |
getIconUrl()
Gets the URL to the icon image
|
Point |
getPopupAnchor()
Gets the coordinates of the point from which popups will "open", relative to the icon anchor.
|
Point |
getShadowAnchor()
Gets the coordinates of the "tip" of the shadow (relative to its top left corner) (the same as iconAnchor if not specified).
|
java.lang.String |
getShadowRetinaUrl()
Gets the URL to the retina sized version of the icon shadow image.
|
Point |
getShadowSize()
Gets the size of the shadow image in pixels.
|
java.lang.String |
getShadowUrl()
Gets the URL to the icon shadow image.
|
@JsOverlay public final java.lang.String getIconUrl()
@JsOverlay public final java.lang.String getIconRetinaUrl()
@JsOverlay public final Point getIconSize()
@JsOverlay public final Point getIconAnchor()
@JsOverlay public final java.lang.String getShadowUrl()
@JsOverlay public final java.lang.String getShadowRetinaUrl()
@JsOverlay public final Point getShadowSize()
@JsOverlay public final Point getShadowAnchor()
@JsOverlay public final Point getPopupAnchor()
@JsOverlay public final java.lang.String getClassName()