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

+18
View File
@@ -0,0 +1,18 @@
import { FeatureId, GeoJSONStoreFeatures } from "../store";
export declare class SpatialIndex {
private tree;
private idToNode;
private nodeToId;
constructor(options?: {
maxEntries: number;
});
private setMaps;
private toBBox;
insert(feature: GeoJSONStoreFeatures): void;
load(features: GeoJSONStoreFeatures[]): void;
update(feature: GeoJSONStoreFeatures): void;
remove(featureId: FeatureId): void;
clear(): void;
search(feature: GeoJSONStoreFeatures): FeatureId[];
collides(feature: GeoJSONStoreFeatures): boolean;
}