diff options
author | Daniel Schadt <kingdread@gmx.de> | 2023-01-12 18:12:13 +0100 |
---|---|---|
committer | Daniel Schadt <kingdread@gmx.de> | 2023-01-12 18:12:29 +0100 |
commit | dd033571082be3addd3a2fa305fed69d9bb2475d (patch) | |
tree | 98c590a61fd0323994d9bd732643480607e43c41 | |
parent | 7448b77bc3fa1c4f4d00482d5d3dad766820c1e5 (diff) | |
download | fietsboek-dd033571082be3addd3a2fa305fed69d9bb2475d.tar.gz fietsboek-dd033571082be3addd3a2fa305fed69d9bb2475d.tar.bz2 fietsboek-dd033571082be3addd3a2fa305fed69d9bb2475d.zip |
fix maximum map zoom level not being honored
-rw-r--r-- | CHANGELOG.rst | 1 | ||||
-rw-r--r-- | fietsboek/jinja2.py | 1 |
2 files changed, 2 insertions, 0 deletions
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 ] |