All Implemented Interfaces:
Serializable

@DomEvent("leaflet-move") public class MoveEvent extends BaseMoveEvent
Event fired repeatedly while the map is being moved (panned).
See Also:
  • Constructor Details

    • MoveEvent

      public MoveEvent(LeafletMap source, boolean fromClient, @EventData("event.target.options.uuid") String layerId, @EventData("event.latlng.lat") double newLat, @EventData("event.latlng.lng") Double newLng, @EventData("event.oldLatLng.lat") double oldLat, @EventData("event.oldLatLng.lng") double oldLng)
      Creates a new move event.
      Parameters:
      source - the source component
      fromClient - true if the event originated on the client side
      layerId - the identifier of the layer that moved
      newLat - the latitude of the new center coordinates
      newLng - the longitude of the new center coordinates
      oldLat - the latitude of the previous center coordinates
      oldLng - the longitude of the previous center coordinates