抽象统一定位方法,支持多种地理要素
This commit is contained in:
@@ -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][];
|
||||
|
||||
Reference in New Issue
Block a user