fixing boundary zoom

This commit is contained in:
Nat Hillard 2021-06-29 20:55:46 -04:00
parent a62c9dc755
commit ce56b1ce1f

View file

@ -119,15 +119,15 @@ const mapStyle : Style = {
'id': 'carto', 'id': 'carto',
'source': 'carto', 'source': 'carto',
'type': 'raster', 'type': 'raster',
'minzoom': constants.GLOBAL_MIN_ZOOM, 'minzoom': constants.GLOBAL_MIN_ZOOM - 1,
'maxzoom': constants.GLOBAL_MAX_ZOOM, 'maxzoom': constants.GLOBAL_MAX_ZOOM + 1,
}, },
{ {
'id': 'geo', 'id': 'geo',
'source': 'geo', 'source': 'geo',
'type': 'raster', 'type': 'raster',
'minzoom': constants.GLOBAL_MIN_ZOOM, 'minzoom': constants.GLOBAL_MIN_ZOOM - 1,
'maxzoom': constants.GLOBAL_MAX_ZOOM, 'maxzoom': constants.GLOBAL_MAX_ZOOM + 1,
'layout': { 'layout': {
// Make the layer visible by default. // Make the layer visible by default.
'visibility': 'none', 'visibility': 'none',