From 4d8b021ccc11e7e223fd8cdd1098d16ec3cfbe47 Mon Sep 17 00:00:00 2001 From: Étienne Loks Date: Thu, 23 Nov 2017 12:49:23 +0100 Subject: Min zoom and max zoom --- templates/chimere/blocks/map.html | 3 +++ 1 file changed, 3 insertions(+) diff --git a/templates/chimere/blocks/map.html b/templates/chimere/blocks/map.html index a496b48..914f965 100644 --- a/templates/chimere/blocks/map.html +++ b/templates/chimere/blocks/map.html @@ -53,6 +53,9 @@ $("#{{map_id}}").show(); {% if p_current_feature %}"display_feature": "{{ p_current_feature }}",{% endif %} {% if selected_map_layer %}"selected_map_layer": {{selected_map_layer}},{% endif %} "display_feature_detail_callback": display_feature_detail_callback, + 'routing': {{routing}}, + {% if max_zoom %}'maxZoom': {{max_zoom}},{% endif %} + {% if min_zoom %}'minZoom': {{min_zoom}},{% endif %} "edition_type_is_route": true, "permalink": permalink } -- cgit v1.2.3