Package org.vaadin.addons.maplibre
Class Marker
java.lang.Object
org.vaadin.addons.maplibre.Layer
org.vaadin.addons.maplibre.GeometryLayer
org.vaadin.addons.maplibre.Marker
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfacestatic interface -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddDragEndListener(Marker.DragEndListener listener) voidvoidremove()voidsetAnchor(org.vaadin.addons.maplibre.Marker.PositionAnchor positionAnchor) voidsetColor(in.virit.color.Color color) voidvoidsetOffset(double x, double y) voidsetPoint(org.locationtech.jts.geom.Point point) com.vaadin.flow.component.popover.PopoversetPopover(com.vaadin.flow.function.SerializableSupplier<com.vaadin.flow.component.Component> contentSupplier) voidsetRotation(int rotationInDegrees) voidsetRotationAlignment(SymbolLayout.RotationAlignment rotationAlignment) Methods inherited from class org.vaadin.addons.maplibre.GeometryLayer
getGeometry
-
Constructor Details
-
Marker
-
-
Method Details
-
withPopup
-
setPoint
public void setPoint(org.locationtech.jts.geom.Point point) -
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
-
addClickListener
-
remove
public void remove() -
setColor
public void setColor(in.virit.color.Color color) -
setHtml
-
setOffset
public void setOffset(double x, double y) -
setRotation
public void setRotation(int rotationInDegrees) -
setRotationAlignment
-
setAnchor
public void setAnchor(org.vaadin.addons.maplibre.Marker.PositionAnchor positionAnchor)
-