From 08fb74b8f29d1a2a667428e55950ad79cd759d67 Mon Sep 17 00:00:00 2001 From: volterra79 Date: Wed, 6 Mar 2024 09:53:09 +0100 Subject: [PATCH] :sparkles: Client grid extent --- g3w-admin/client/static/client/js/app.min.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/g3w-admin/client/static/client/js/app.min.js b/g3w-admin/client/static/client/js/app.min.js index 9aad0e9fc..d8df47658 100644 --- a/g3w-admin/client/static/client/js/app.min.js +++ b/g3w-admin/client/static/client/js/app.min.js @@ -16148,7 +16148,7 @@ RasterLayers.TiledWMSLayer = function (layerObj, extraParams) { RasterLayers.TiledMapProxyWMSLayer = function () { var opts = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {}; - var resolutions = ol.tilegrid.createXYZ({ extent: opts.cache_extent, maxZoom: opts.maxZoom || 19 }).getResolutions(); + var resolutions = ol.tilegrid.createXYZ({ extent: opts.cache_grid_extent, maxZoom: opts.maxZoom || 19 }).getResolutions(); console.log(resolutions); return new ol.layer.Tile({ source: new ol.source.WMTS({