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.ViewResetEvent
All Implemented Interfaces:
Serializable

@DomEvent("leaflet-viewreset") public class ViewResetEvent extends LeafletEvent
Event fired when the map needs to redraw its content, for example after a zoom or when the map size changes.
See Also:
  • Constructor Details

    • ViewResetEvent

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