Skip to content

Commit

Permalink
🐛 change min-zoom for polygons from 15 to 16 to fix API validation break
Browse files Browse the repository at this point in the history
  • Loading branch information
MatissJanis committed May 21, 2022
1 parent 2662b7a commit 5b09272
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/Map/Map.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 5b09272

Please sign in to comment.