From dd033571082be3addd3a2fa305fed69d9bb2475d Mon Sep 17 00:00:00 2001 From: Daniel Schadt Date: Thu, 12 Jan 2023 18:12:13 +0100 Subject: fix maximum map zoom level not being honored --- CHANGELOG.rst | 1 + fietsboek/jinja2.py | 1 + 2 files changed, 2 insertions(+) diff --git a/CHANGELOG.rst b/CHANGELOG.rst index 7f4ac6b..740f1da 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -28,6 +28,7 @@ Fixed - Track deletion being forbidden for users. - Descriptions embedded in GPX tracks not being pre-filled when uploading the track. +- Maximum zoom levels for the map not being respected. 0.4.0 - 2022-11-28 ------------------ diff --git a/fietsboek/jinja2.py b/fietsboek/jinja2.py index 8330ea7..71982e0 100644 --- a/fietsboek/jinja2.py +++ b/fietsboek/jinja2.py @@ -118,6 +118,7 @@ def global_embed_tile_layers(request): "url": _url(source), "attribution": source.attribution, "type": source.layer_type.value, + "zoom": source.zoom, } for source in tile_sources ] -- cgit v1.2.3