diff --git a/modules/edit-modes/src/lib/composite-mode.js b/modules/edit-modes/src/lib/composite-mode.js index dfe163786..c1f173827 100644 --- a/modules/edit-modes/src/lib/composite-mode.js +++ b/modules/edit-modes/src/lib/composite-mode.js @@ -7,6 +7,7 @@ import type { PointerMoveEvent, StartDraggingEvent, StopDraggingEvent, + DraggingEvent, GuideFeatureCollection } from '../types.js'; import { BaseGeoJsonEditMode } from './geojson-edit-mode.js'; @@ -48,6 +49,10 @@ export class CompositeMode extends BaseGeoJsonEditMode { return this._coalesce(handler => handler.handleStopDragging(event, props)); } + handleDragging(event: DraggingEvent, props: ModeProps): void { + return this._coalesce(handler => handler.handleDragging(event, props)); + } + getGuides(props: ModeProps): GuideFeatureCollection { // TODO: Combine the guides *BUT* make sure if none of the results have // changed to return the same object so that "guides !== this.state.guides"