From b73b0f340e26c7ae6868f1d6a0050520c57213e2 Mon Sep 17 00:00:00 2001 From: Daniel Schadt Date: Thu, 12 Jan 2023 18:33:36 +0100 Subject: adjust zoom levels for stamen maps Note that those are not documented, but based on trial-and-error. Terrain and Watercolor return 404 at the next zoom level, indicating that this is the max that they support. Toner does serve some tiles at level 18, but a lot of them return a 503. --- fietsboek/views/tileproxy.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/fietsboek/views/tileproxy.py b/fietsboek/views/tileproxy.py index e53c32b..87a742d 100644 --- a/fietsboek/views/tileproxy.py +++ b/fietsboek/views/tileproxy.py @@ -166,7 +166,7 @@ STAMEN_LAYERS = [ name="Stamen Toner", url="https://stamen-tiles.a.ssl.fastly.net/toner/{z}/{x}/{y}.png", layer_type=LayerType.BASE, - zoom=12, + zoom=17, access=LayerAccess.PUBLIC, attribution=( f'{_jb_copy} | Map tiles by Stamen Design, ' @@ -180,7 +180,7 @@ STAMEN_LAYERS = [ name="Stamen Terrain", url="https://stamen-tiles.a.ssl.fastly.net/terrain/{z}/{x}/{y}.png", layer_type=LayerType.BASE, - zoom=12, + zoom=15, access=LayerAccess.PUBLIC, attribution=( f'{_jb_copy} | Map tiles by Stamen Design, ' @@ -194,7 +194,7 @@ STAMEN_LAYERS = [ name="Stamen Watercolor", url="https://stamen-tiles.a.ssl.fastly.net/watercolor/{z}/{x}/{y}.png", layer_type=LayerType.BASE, - zoom=12, + zoom=17, access=LayerAccess.PUBLIC, attribution=( f'{_jb_copy} | Map tiles by Stamen Design, ' -- cgit v1.2.3