Interactive interface for browsing global, full-resolution satellite imagery
Add vector logic to checkZots #1118
Benjamin Kinga9d0292a24aa
diff --git a/web/js/layers/util.js b/web/js/layers/util.jsindex 6fa31b882..8a078f6e8 100644--- a/web/js/layers/util.js+++ b/web/js/layers/util.js@@ -18,7 +18,7 @@ export function getZoomLevel(layer, zoom, proj, sources) {var zoomOffset = proj === 'arctic' || proj === 'antarctic' ? 1 : 0;var matrixSet = layer.projections[proj].matrixSet;- if (matrixSet !== undefined) {+ if (matrixSet !== undefined && layer.type !== 'vector') {var source = layer.projections[proj].source;var zoomLimit =sources[source].matrixSets[matrixSet].resolutions.length - 1 + zoomOffset;