diff --git a/src/components/Map/Map.tsx b/src/components/Map/Map.tsx index 49dad3e..3985032 100644 --- a/src/components/Map/Map.tsx +++ b/src/components/Map/Map.tsx @@ -15,9 +15,9 @@ const containerStyle = { height: '100%', }; -export const MIN_ZOOM_FOR_BUILDINGS = 15; +export const MIN_ZOOM_FOR_BUILDINGS = 16; export const MIN_ZOOM_FOR_HIGHLIGHTED_REGION = 12; -export const MAX_ZOOM_FOR_HIGHLIGHTED_REGION = 14; +export const MAX_ZOOM_FOR_HIGHLIGHTED_REGION = MIN_ZOOM_FOR_BUILDINGS - 1; function calculateBounds(map: google.maps.Map | null) { if (!map) {