(isOpen = !isOpen)}>
+
(isOpen = !isOpen)}
+ role="button"
+ onkeydown={(e) => {
+ if (e.key === 'Enter') {
+ isOpen = !isOpen;
+ }
+ }}
+ tabindex="0"
+ >
- Legend
+ Legend
{#each taskStatuses as taskStatus}
{#if !taskStatus.color}
@@ -37,7 +47,10 @@
{:else}
-
+
{/if}
{taskStatus?.status}
diff --git a/src/mapper/src/lib/components/map/main.svelte b/src/mapper/src/lib/components/map/main.svelte
index 2372a4db9b..a9c5ce7d61 100644
--- a/src/mapper/src/lib/components/map/main.svelte
+++ b/src/mapper/src/lib/components/map/main.svelte
@@ -33,6 +33,7 @@
import { getProjectSetupStepStore } from '$store/common.svelte.ts';
// import { entityFeatcolStore, selectedEntityId } from '$store/entities';
import { projectSetupStep as projectSetupStepEnum } from '$constants/enums.ts';
+ import { baseLayers } from '$constants/baseLayers.ts';
type bboxType = [number, number, number, number];
@@ -220,10 +221,10 @@
manageHoverState
/>
-
-
+
+
-
+
{#if projectSetupStep === projectSetupStepEnum['task_selection']}
please select a task / feature for mapping