Bump default max_zoom from 20 to 22 (affects custom imagery)

This commit is contained in:
Bryan Housel
2017-11-01 10:36:23 -04:00
parent 672a555229
commit 475db33b3f
2 changed files with 2 additions and 2 deletions

View File

@@ -72,7 +72,7 @@ sources.concat(whitelist).forEach(function(source) {
if (extent.min_zoom || extent.max_zoom) {
im.scaleExtent = [
extent.min_zoom || 0,
extent.max_zoom || 20
extent.max_zoom || 22
];
}

View File

@@ -35,7 +35,7 @@ export function rendererBackgroundSource(data) {
best = !!source.best,
template = source.template;
source.scaleExtent = data.scaleExtent || [0, 20];
source.scaleExtent = data.scaleExtent || [0, 22];
source.overzoom = data.overzoom !== false;