- {/* Top-right: basemap switcher + simple feature info (offset to avoid zoom controls) */}
- {/* On mobile (< sm), drops below the UAT card via top-14 */}
-
+ {/* Basemap switcher + feature info */}
+ {/* Mobile: below UAT card. Desktop: top-right offset from zoom controls */}
+
{clickedFeature && selectionMode === "off" && (
@@ -1616,19 +1616,21 @@ function HartaContent() {
)}
- {/* Bottom: selection toolbar — centered, above attribution */}
-
- {
- mapHandleRef.current?.clearSelection();
- setSelectedFeatures([]);
- }}
- />
-
+
+ )}
+ {/* Selection toolbar — FIXED at bottom of viewport (always visible when map shown) */}
+ {selectedSiruta && !hasNoData && (
+
+ {
+ mapHandleRef.current?.clearSelection();
+ setSelectedFeatures([]);
+ }}
+ />
)}
>