Package | Description |
---|---|
com.gwidgets.api.leaflet.options |
Modifier and Type | Method and Description |
---|---|
IconOptions.Builder |
IconOptions.Builder.attribution(java.lang.String attribution) |
IconOptions.Builder |
IconOptions.Builder.className(java.lang.String className)
A custom class name to assign to both icon and shadow images.
|
IconOptions.Builder |
IconOptions.Builder.iconAnchor(Point iconAnchor)
The coordinates of the "tip" of the icon (relative to its top left corner).
|
IconOptions.Builder |
IconOptions.Builder.iconRetinaUrl(java.lang.String iconRetinaUrl)
The URL to a retina sized version of the icon image (absolute or relative to your script path).
|
IconOptions.Builder |
IconOptions.Builder.iconSize(Point iconSize)
Size of the icon image in pixels.
|
IconOptions.Builder |
IconOptions.Builder.pane(java.lang.String pane) |
IconOptions.Builder |
IconOptions.Builder.popupAnchor(Point popupAnchor)
The coordinates of the point from which popups will "open", relative to the icon anchor.
|
IconOptions.Builder |
IconOptions.Builder.shadowAnchor(Point shadowAnchor)
The coordinates of the "tip" of the shadow (relative to its top left corner) (the same as iconAnchor if not specified).
|
IconOptions.Builder |
IconOptions.Builder.shadowRetinaUrl(java.lang.String shadowRetinaUrl)
The URL to the retina sized version of the icon shadow image.
|
IconOptions.Builder |
IconOptions.Builder.shadowSize(Point shadowSize)
Size of the shadow image in pixels.
|
IconOptions.Builder |
IconOptions.Builder.shadowUrl(java.lang.String shadowUrl)
The URL to the icon shadow image.
|