mirror of
https://github.com/FoggedLens/iD.git
synced 2026-02-12 16:52:50 +00:00
Bump default max_zoom from 20 to 22 (affects custom imagery)
This commit is contained in:
@@ -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
|
||||
];
|
||||
}
|
||||
|
||||
|
||||
@@ -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;
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user