Class LoadEvent
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.LoadEvent
- All Implemented Interfaces:
Serializable
Event fired when the map is loaded and initialized with a view (center and zoom).
- See Also:
-
Field Summary
Fields inherited from class java.util.EventObject
source -
Constructor Summary
ConstructorsConstructorDescriptionLoadEvent(LeafletMap source, boolean fromClient, String layerId) Creates a new load event. -
Method Summary
Methods inherited from class org.vaadin.addons.componentfactory.leaflet.layer.events.LeafletEvent
getLayerId, getType, toStringMethods inherited from class com.vaadin.flow.component.ComponentEvent
getSource, getUI, isFromClient, unregisterListener
-
Constructor Details
-
LoadEvent
public LoadEvent(LeafletMap source, boolean fromClient, @EventData("event.detail.target.options.uuid") String layerId) Creates a new load event.- Parameters:
source- the source componentfromClient-trueif the event originated on the client sidelayerId- the id of the layer that fired the event
-