java.lang.Object
java.util.EventObject
com.vaadin.flow.component.ComponentEvent<LeafletMap>
org.vaadin.addons.componentfactory.leaflet.layer.events.LeafletEvent
org.vaadin.addons.componentfactory.leaflet.layer.events.UnloadEvent
All Implemented Interfaces:
Serializable

@DomEvent("leaflet-unload") public class UnloadEvent extends LeafletEvent
Event fired when the map is destroyed with the remove method.
See Also:
  • Constructor Details

    • UnloadEvent

      public UnloadEvent(LeafletMap source, boolean fromClient, @EventData("event.detail.target.options.uuid") String layerId)
      Creates a new unload event.
      Parameters:
      source - the source component
      fromClient - true if the event originated on the client side
      layerId - the id of the layer that fired the event