Class DivIconOptions
java.lang.Object
com.google.gwt.core.client.JavaScriptObject
io.jmix.mapsui.widget.leaflet.client.DivIconOptions
public class DivIconOptions
extends com.google.gwt.core.client.JavaScriptObject
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic DivIconOptions
create()
final String
final void
setClassName
(String className) final void
final void
setIconAnchor
(Point point) The coordinates of the "tip" of the icon (relative to its top left corner).final void
setIconSize
(Point size) final void
setPopupAnchor
(Point point) The coordinates of the point from which popups will "open", relative to the icon anchor.Methods inherited from class com.google.gwt.core.client.JavaScriptObject
cast, createArray, createArray, createFunction, createObject, equals, hashCode, toSource, toString
-
Constructor Details
-
DivIconOptions
protected DivIconOptions()
-
-
Method Details
-
create
-
setPopupAnchor
The coordinates of the point from which popups will "open", relative to the icon anchor.- Parameters:
point
- the point from which the popup opens
-
setIconAnchor
The coordinates of the "tip" of the icon (relative to its top left corner). The icon will be aligned so that this point is at the marker's geographical location. Centered by default if size is specified, also can be set in CSS with negative margins.- Parameters:
point
- the point from where the icon is anchored
-
setIconSize
-
setHtml
-
setClassName
-
getClassName
-