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 Details

    • DivIconOptions

      protected DivIconOptions()
  • Method Details

    • create

      public static DivIconOptions create()
    • setPopupAnchor

      public final void setPopupAnchor(Point point)
      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

      public final void setIconAnchor(Point point)
      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

      public final void setIconSize(Point size)
    • setHtml

      public final void setHtml(String html)
    • setClassName

      public final void setClassName(String className)
    • getClassName

      public final String getClassName()