feat(workbench): integrate runtime data and map tooling
This commit is contained in:
@@ -11,9 +11,26 @@ export type MapLayerControlItem = {
|
||||
id: string;
|
||||
label: string;
|
||||
description?: string;
|
||||
featureCount?: number;
|
||||
minZoom?: number;
|
||||
visible: boolean;
|
||||
disabled?: boolean;
|
||||
locked?: boolean;
|
||||
group?: string;
|
||||
groupLabel?: string;
|
||||
groupDescription?: string;
|
||||
groupDefaultOpen?: boolean;
|
||||
collection?: string;
|
||||
collectionLabel?: string;
|
||||
visual?: MapLayerControlVisual;
|
||||
};
|
||||
|
||||
export type MapLayerControlVisual = {
|
||||
kind: "line" | "line-stack" | "point" | "ring" | "area" | "image";
|
||||
color?: string;
|
||||
colors?: string[];
|
||||
dashed?: boolean;
|
||||
imageSrc?: string;
|
||||
};
|
||||
|
||||
type MapLayerControlProps = {
|
||||
|
||||
Reference in New Issue
Block a user