From ce56b1ce1fc740b7da5c3012396dc31fa7603db3 Mon Sep 17 00:00:00 2001 From: Nat Hillard Date: Tue, 29 Jun 2021 20:55:46 -0400 Subject: [PATCH] fixing boundary zoom --- client/src/data/mapStyle.tsx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/client/src/data/mapStyle.tsx b/client/src/data/mapStyle.tsx index 6a5298c6..4b3993e2 100644 --- a/client/src/data/mapStyle.tsx +++ b/client/src/data/mapStyle.tsx @@ -119,15 +119,15 @@ const mapStyle : Style = { 'id': 'carto', 'source': 'carto', 'type': 'raster', - 'minzoom': constants.GLOBAL_MIN_ZOOM, - 'maxzoom': constants.GLOBAL_MAX_ZOOM, + 'minzoom': constants.GLOBAL_MIN_ZOOM - 1, + 'maxzoom': constants.GLOBAL_MAX_ZOOM + 1, }, { 'id': 'geo', 'source': 'geo', 'type': 'raster', - 'minzoom': constants.GLOBAL_MIN_ZOOM, - 'maxzoom': constants.GLOBAL_MAX_ZOOM, + 'minzoom': constants.GLOBAL_MIN_ZOOM - 1, + 'maxzoom': constants.GLOBAL_MAX_ZOOM + 1, 'layout': { // Make the layer visible by default. 'visibility': 'none',