summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--templates/chimere/blocks/map.html2
-rw-r--r--templates/chimere/main_map.html1
2 files changed, 3 insertions, 0 deletions
diff --git a/templates/chimere/blocks/map.html b/templates/chimere/blocks/map.html
index df664b9..18c0d3d 100644
--- a/templates/chimere/blocks/map.html
+++ b/templates/chimere/blocks/map.html
@@ -90,6 +90,8 @@ $(function(){
$('#maps').chimere('zoom', {'area':{{zoom}} });
{% endif %}
+ {{extra_map_def|safe}}
+
// init layer selection
/* $(function() {
{% for layer_name, js, def in map_layers %}
diff --git a/templates/chimere/main_map.html b/templates/chimere/main_map.html
index 00de374..856bcdc 100644
--- a/templates/chimere/main_map.html
+++ b/templates/chimere/main_map.html
@@ -30,6 +30,7 @@
{% block content %}
{{block.super}}
<div id='popup'></div>
+ <div id='layerSwitcher'></div>
<div id='main-map'></div>
<script type="text/javascript">
$("#main-map").show();