Class Marker


public class Marker extends GeometryLayer
  • Constructor Details

    • Marker

      protected Marker(MapLibre map, String id, org.locationtech.jts.geom.Coordinate coordinate)
  • Method Details

    • withPopup

      public Marker withPopup(String html)
    • setPoint

      public void setPoint(org.locationtech.jts.geom.Point point)
    • openPopup

      public Marker openPopup()
    • setPopover

      public com.vaadin.flow.component.popover.Popover setPopover(com.vaadin.flow.function.SerializableSupplier<com.vaadin.flow.component.Component> contentSupplier)
    • openPopover

      public void openPopover()
    • addDragEndListener

      public Marker addDragEndListener(Marker.DragEndListener listener)
    • addClickListener

      public void addClickListener(Marker.ClickListener l)
    • remove

      public void remove()
      Overrides:
      remove in class Layer
    • setColor

      public void setColor(in.virit.color.Color color)
    • setHtml

      public void setHtml(String rawHtml)
    • setOffset

      public void setOffset(double x, double y)
    • setRotation

      public void setRotation(int rotationInDegrees)
    • setRotationAlignment

      public void setRotationAlignment(SymbolLayout.RotationAlignment rotationAlignment)
    • setAnchor

      public void setAnchor(org.vaadin.addons.maplibre.Marker.PositionAnchor positionAnchor)