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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic DivIconOptionscreate()final Stringfinal voidsetClassName(String className) final voidfinal voidsetIconAnchor(Point point) The coordinates of the "tip" of the icon (relative to its top left corner).final voidsetIconSize(Point size) final voidsetPopupAnchor(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
-