diff --git a/frontend/src/pages/MapPage/index.tsx b/frontend/src/pages/MapPage/index.tsx index 5758824..f157373 100644 --- a/frontend/src/pages/MapPage/index.tsx +++ b/frontend/src/pages/MapPage/index.tsx @@ -231,7 +231,9 @@ function MapPage({ login }) { } const regionLayers = useMemo(() => getRegionLayers(), []); - layers.push(...regionLayers); + if (mapConfig.obsRegions.show) { + layers.push(...regionLayers); + } const eventsLayer = useMemo(() => getEventsLayer(), []); const eventsTextLayer = useMemo(() => getEventsTextLayer(), []);