feat: persist map viewport in localStorage, optimize public preview loading with deferred interactive map, and add geometry background management actions.
Build and Release / release (push) Failing after 33s

This commit is contained in:
taDuc
2026-06-04 00:28:26 +07:00
parent 288cde5dcf
commit 5b13ec8d8d
28 changed files with 2690 additions and 601 deletions
@@ -48,6 +48,7 @@ type Props = {
mapHandleRef?: React.RefObject<import("@/uhm/components/Map").MapHandle | null>;
overlay?: ReactNode;
children?: ReactNode;
onLoad?: () => void;
};
export default function PreviewMapShell({
@@ -86,6 +87,7 @@ export default function PreviewMapShell({
mapHandleRef,
overlay,
children,
onLoad,
}: Props) {
const [isMenuOpen, setIsMenuOpen] = useState(false);
@@ -126,6 +128,7 @@ export default function PreviewMapShell({
hoverPopupEnabled={hoverPopupEnabled}
getHoverPopupContent={getHoverPopupContent}
onPlayPreviewReplay={onPlayPreviewReplay}
onLoad={onLoad}
/>
<TimelineBar