feat(map): add coordinate zoom action

This commit is contained in:
2026-06-09 17:55:17 +08:00
parent 22afdbf2e8
commit 7d966a5e91
4 changed files with 128 additions and 0 deletions
+7
View File
@@ -15,6 +15,13 @@ export type ChatToolAction =
layer: string;
geometryKind: "point" | "line";
}
| {
type: "zoom_to_map";
coordinate: [number, number];
sourceCrs?: "EPSG:3857" | "EPSG:4326";
zoom?: number;
durationMs?: number;
}
| {
type: "view_history";
featureInfos: [string, string][];