summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--chimere/static/chimere/css/styles.css5
-rw-r--r--chimere/static/chimere/js/jquery.chimere.js2
2 files changed, 7 insertions, 0 deletions
diff --git a/chimere/static/chimere/css/styles.css b/chimere/static/chimere/css/styles.css
index 88f1b5e..c30d259 100644
--- a/chimere/static/chimere/css/styles.css
+++ b/chimere/static/chimere/css/styles.css
@@ -879,3 +879,8 @@ div.pp_default .pp_expand{
left:10px;
background-position: -15px -80px;
}
+
+.olControlAttribution{
+ left:6px;
+ bottom:5px;
+}
diff --git a/chimere/static/chimere/js/jquery.chimere.js b/chimere/static/chimere/js/jquery.chimere.js
index 2c8bb97..dbf820c 100644
--- a/chimere/static/chimere/js/jquery.chimere.js
+++ b/chimere/static/chimere/js/jquery.chimere.js
@@ -123,6 +123,8 @@ OpenLayers.Layer.MapQuestOSM = OpenLayers.Class(OpenLayers.Layer.XYZ, {
/* Create map object */
settings.map = map = new OpenLayers.Map(map_element, map_options);
+ map.addControl(new OpenLayers.Control.Attribution());
+
/* Manage permalink */
if (!settings.edition){
if (settings.permalink == null && !settings.edition) {