From 3e76cfc321df3c4121b410e825b11d5d6d4b6823 Mon Sep 17 00:00:00 2001 From: Sarah Hoffmann Date: Mon, 20 Mar 2023 11:25:16 +0100 Subject: [PATCH] Remove non-standard zoom levels Nominatim only supports zoom level values up to 18. The others don't fail but work exactly the same as 18 and should not be presented in the zoom box. --- src/lib/helpers.js | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/lib/helpers.js b/src/lib/helpers.js index 023da09..ea0e0c5 100644 --- a/src/lib/helpers.js +++ b/src/lib/helpers.js @@ -142,10 +142,7 @@ export function zoomLevels() { /* 15 */ '', /* 16 */ 'Street', /* 17 */ '', - /* 18 */ 'Building', - /* 19 */ '', - /* 20 */ '', - /* 21 */ '' + /* 18 */ 'Building' ]; return aZoomLevels; } -- 2.39.5