diff --git a/client/src/components/map/MapComponent.tsx b/client/src/components/map/MapComponent.tsx index b602eb4..b4ebaef 100644 --- a/client/src/components/map/MapComponent.tsx +++ b/client/src/components/map/MapComponent.tsx @@ -255,7 +255,7 @@ const MapComponent = ({ feature.setStyle(highlightStyleRed) const geometry = feature.getGeometry() - + if (geometry) { map?.getView().fit(geometry as SimpleGeometry, { duration: 500, maxZoom: 18 }) } @@ -846,22 +846,28 @@ const MapComponent = ({
{selectedRegion && selectedDistrict && selectedYear && -
- - - -
+ //
+ // + // + // + //
+ "" } + + + + + {!!selectedRegion && !!selectedDistrict && !!selectedYear &&