抽象统一定位方法,支持多种地理要素

This commit is contained in:
2026-04-03 13:45:37 +08:00
parent d610a09c14
commit c484aad1d3
6 changed files with 252 additions and 48 deletions
+6 -2
View File
@@ -7,8 +7,12 @@ import { create } from "zustand";
/* ------------------------------------------------------------------ */
export type ChatToolAction =
| { type: "locate_nodes"; ids: string[] }
| { type: "locate_pipes"; ids: string[] }
| {
type: "locate_features";
ids: string[];
layer: string;
geometryKind: "point" | "line";
}
| {
type: "view_history";
featureInfos: [string, string][];