diff --git a/packages/geoview-core/src/core/components/export/export-modal.tsx b/packages/geoview-core/src/core/components/export/export-modal.tsx index 8f623eda090..1a23a104369 100644 --- a/packages/geoview-core/src/core/components/export/export-modal.tsx +++ b/packages/geoview-core/src/core/components/export/export-modal.tsx @@ -122,6 +122,7 @@ export default function ExportModal(): JSX.Element { .toPng(legendContainer) .then((dataUrl) => { setIsLegendLoading(false); + // TODO: we need to render the legend even if its hidden. // Note: When legend is hidden in appbar if (dataUrl.indexOf('base64') !== -1) { const img = new Image();