Package org.vaadin.addons.maplibre
Class DrawControl
java.lang.Object
org.vaadin.addons.maplibre.DrawControl
A "raw" Java API for mapbox-gl-draw control, that is
compatible with maplibre. Actual fields can then utilize
this API.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfaceDrawControl.DrawEventListener<T extends EventObject>static enumclass -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidCompletableFuture<org.locationtech.jts.geom.GeometryCollection>getAll()protected voidvoidsetMode(DrawControl.DrawMode mode)
-
Constructor Details
-
DrawControl
-
-
Method Details
-
addModeChangeListener
public void addModeChangeListener(DrawControl.DrawEventListener<DrawControl.ModeChangeEvent> listener) -
setMode
-
injectScript
protected void injectScript() -
getAll
-