the editable site (validation-lab)

This commit is contained in:
kpgarrod committed 2026-11-21 08:03:55 +01:00
commit 3ac81d5a52
13454 files changed
+2227005

No files matched your search

+14
View File
@@ -0,0 +1,14 @@
import { Snappable, TerraDrawMouseEvent } from "../common";
import { Feature } from "geojson";
import { FeatureId } from "../store/store";
import { CoordinateSnappingBehavior } from "./coordinate-snapping.behavior";
import { LineSnappingBehavior } from "./line-snapping.behavior";
export declare class FeatureSnappingBehavior {
private readonly coordinateSnapping;
private readonly lineSnapping;
constructor(coordinateSnapping: CoordinateSnappingBehavior, lineSnapping: LineSnappingBehavior);
getSnappable(event: TerraDrawMouseEvent, currentFeatureId?: FeatureId, filter?: (feature: Feature) => boolean, options?: {
toLine?: boolean;
toCoordinate?: boolean;
}): Snappable;
}