diff options
author | Daniel Schadt <kingdread@gmx.de> | 2023-01-12 18:33:36 +0100 |
---|---|---|
committer | Daniel Schadt <kingdread@gmx.de> | 2023-01-12 18:33:36 +0100 |
commit | b73b0f340e26c7ae6868f1d6a0050520c57213e2 (patch) | |
tree | ae8b9690c3ba5f8272cb72ecc628ef79a9ff3a01 | |
parent | 7c4b47624e9a1e60f9da89ffcd93b6f35af75d79 (diff) | |
download | fietsboek-b73b0f340e26c7ae6868f1d6a0050520c57213e2.tar.gz fietsboek-b73b0f340e26c7ae6868f1d6a0050520c57213e2.tar.bz2 fietsboek-b73b0f340e26c7ae6868f1d6a0050520c57213e2.zip |
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.
-rw-r--r-- | fietsboek/views/tileproxy.py | 6 |
1 files 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 <a href="http://stamen.com">Stamen Design</a>, ' @@ -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 <a href="http://stamen.com">Stamen Design</a>, ' @@ -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 <a href="http://stamen.com">Stamen Design</a>, ' |