feat(map): add coordinate zoom action
This commit is contained in:
@@ -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][];
|
||||
|
||||
Reference in New Issue
Block a user