summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorÉtienne Loks <etienne.loks@iggdrasil.net>2017-11-23 12:49:23 +0100
committerÉtienne Loks <etienne.loks@iggdrasil.net>2017-11-23 12:49:23 +0100
commit4d8b021ccc11e7e223fd8cdd1098d16ec3cfbe47 (patch)
tree4507b9edd1b71903a54ce919cd1cde77a0f2b020
parentea0fff0bfb1b3fe5956a94876b4325d482ff3fde (diff)
downloadChimère - projet Saclay-4d8b021ccc11e7e223fd8cdd1098d16ec3cfbe47.tar.bz2
Chimère - projet Saclay-4d8b021ccc11e7e223fd8cdd1098d16ec3cfbe47.zip
Min zoom and max zoom
-rw-r--r--templates/chimere/blocks/map.html3
1 files changed, 3 insertions, 0 deletions
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
}