actions
actions: {
deleteLayer: (layerPath: string) => void;
getExtentFromFeatures: (
layerPath: string,
featureIds: number[],
outfield?: string,
) => Promise<Extent>;
getLayerDeleteInProgress: () => string;
getLayerServiceProjection: (layerPath: string) => string | undefined;
queryLayerEsriDynamic: (
layerPath: string,
objectIDs: number[],
) => Promise<TypeFeatureInfoEntryPartial[]>;
refreshLayer: (layerPath: string) => Promise<void>;
reloadLayer: (layerPath: string) => void;
setAllItemsVisibility: (layerPath: string, visibility: boolean) => void;
setAllItemsVisibilityAndWait: (
layerPath: string,
visibility: boolean,
) => Promise<void>;
setDisplayState: (newDisplayState: TypeLayersViewDisplayState) => void;
setHighlightLayer: (layerPath: string) => void;
setLayerDeleteInProgress: (newVal: string) => void;
setLayerHoverable: (layerPath: string, enable: boolean) => void;
setLayerOpacity: (
layerPath: string,
opacity: number,
updateLegendLayers?: boolean,
) => void;
setLayerQueryable: (layerPath: string, enable: boolean) => void;
setSelectedLayerPath: (layerPath: string | undefined) => void;
toggleItemVisibility: (layerPath: string, item: TypeLegendItem) => void;
toggleItemVisibilityAndWait: (
layerPath: string,
item: TypeLegendItem,
) => Promise<void>;
zoomToLayerExtent: (layerPath: string) => Promise<void>;
zoomToLayerVisibleScale: (layerPath: string) => void;
}