aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--CHANGELOG.rst1
-rw-r--r--fietsboek/jinja2.py1
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
]