diff options
Diffstat (limited to 'templates/chimere/blocks/map.html')
-rw-r--r-- | templates/chimere/blocks/map.html | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/templates/chimere/blocks/map.html b/templates/chimere/blocks/map.html index da68b49..26bc9bd 100644 --- a/templates/chimere/blocks/map.html +++ b/templates/chimere/blocks/map.html @@ -21,7 +21,6 @@ $("#{{map_id}}").show(); <script type="text/javascript"> - {% if single_category %} $(function() {$('#panel').hide()});{% endif %} var permalink = window.location.hash.substr(1); @@ -62,6 +61,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}} }); |