Class TileLoadEvent
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.TileEvent
org.vaadin.addons.componentfactory.leaflet.layer.events.TileLoadEvent
- All Implemented Interfaces:
Serializable
Event fired when a tile finishes loading.
- See Also:
-
Field Summary
Fields inherited from class java.util.EventObject
source -
Constructor Summary
ConstructorsConstructorDescriptionTileLoadEvent(LeafletMap source, boolean fromClient, String layerId, double coordsX, double coordsY) Creates a new tile load event. -
Method Summary
Methods inherited from class org.vaadin.addons.componentfactory.leaflet.layer.events.TileEvent
getCoords, toStringMethods inherited from class org.vaadin.addons.componentfactory.leaflet.layer.events.LeafletEvent
getLayerId, getTypeMethods inherited from class com.vaadin.flow.component.ComponentEvent
getSource, getUI, isFromClient, unregisterListener
-
Constructor Details
-
TileLoadEvent
public TileLoadEvent(LeafletMap source, boolean fromClient, @EventData("event.detail.target.options.uuid") String layerId, @EventData("event.detail.coords.x") double coordsX, @EventData("event.detail.coords.y") double coordsY) Creates a new tile load event.- Parameters:
source- the source componentfromClient-trueif the event originated on the client sidelayerId- the identifier of the tile layer the event relates tocoordsX- the tile x coordinatecoordsY- the tile y coordinate
-