summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorÉtienne Loks <etienne.loks@iggdrasil.net>2016-11-18 11:06:58 +0100
committerÉtienne Loks <etienne.loks@iggdrasil.net>2016-11-18 11:06:58 +0100
commit72a525a0ab6e297477e0068b874d40318caa77a3 (patch)
treee1347b3fae764786f7c16576782e54a0234889a7
parent0c10a1dbf916a640028c8d18adf120665facb482 (diff)
downloadChimère - projet Saclay-72a525a0ab6e297477e0068b874d40318caa77a3.tar.bz2
Chimère - projet Saclay-72a525a0ab6e297477e0068b874d40318caa77a3.zip
Forcer le zoom minimum à 12
-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 2f65550..17ecc19 100644
--- a/templates/chimere/blocks/map.html
+++ b/templates/chimere/blocks/map.html
@@ -137,6 +137,9 @@ $("#{{map_id}}").show();
chimere_init_options["restricted_extent"] = bounds;
{% endif %}
+ // Spécifique Saclay
+ chimere_init_options["minZoom"] = 12;
+
$("#{{map_id}}").chimere(chimere_init_options);
{% if zoom %}
if (!permalink) $('#{{map_id}}').chimere('zoom', {'area':{{zoom}} });