- {/* Custom controls - only show when in fullscreen mode */}
- {isFullscreen && (
- <>
- {/* Sidebar */}
-
-
-
- {/* Additional controls that should only appear in fullscreen */}
-
-
-
-
-
-
-
-
-
- {/* Make sure customControls is displayed in fullscreen mode */}
- {customControls}
- >
- )}
-
{/* Main content with left padding when sidebar is open */}
{children}
-
-
-
+
+
- {/* GeolocateControl only shown in fullscreen mode */}
+ {/* Custom controls that depend on fullscreen state */}
+ {isFullscreen && }
+
+ {/* Custom Filter Control with isFullscreen prop */}
+ {/* {isFullscreen &&
+ } */}
+ {/* Sidebar and other controls only in fullscreen */}
{isFullscreen && (
-
+ <>
+
+
+
+
+
+ >
)}
- {/* Debug indicator - remove in production */}
+ {/* Debug indicator - uncomment for debugging
Fullscreen: {isFullscreen ? "Yes" : "No"}
-
+
*/}