From: Sarah Hoffmann Date: Mon, 20 Mar 2023 10:25:16 +0000 (+0100) Subject: Remove non-standard zoom levels X-Git-Url: https://git.openstreetmap.org./nominatim-ui.git/commitdiff_plain/3e76cfc321df3c4121b410e825b11d5d6d4b6823?ds=sidebyside 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. --- 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; }