diff --git a/drupal/sites/all/modules/contrib/openlayers/includes/behaviors/js/openlayers_behavior_layerswitcher.js b/drupal/sites/all/modules/contrib/openlayers/includes/behaviors/js/openlayers_behavior_layerswitcher.js
index f7d7c67..edcc857 100644
--- a/drupal/sites/all/modules/contrib/openlayers/includes/behaviors/js/openlayers_behavior_layerswitcher.js
+++ b/drupal/sites/all/modules/contrib/openlayers/includes/behaviors/js/openlayers_behavior_layerswitcher.js
@@ -13,7 +13,9 @@ Drupal.behaviors.openlayers_behavior_layerswitcher = function(context) {
   if (data && data.map.behaviors['openlayers_behavior_layerswitcher']) {
     // Add control
     var control = new OpenLayers.Control.LayerSwitcher({
-      'ascending': !!data.map.behaviors['openlayers_behavior_layerswitcher'].ascending
+      'ascending': !!data.map.behaviors['openlayers_behavior_layerswitcher'].ascending,
+      'roundedCorner' : !!data.map.behaviors['openlayers_behavior_layerswitcher'].roundedCorner,
+      'roundedCornerColor' : data.map.behaviors['openlayers_behavior_layerswitcher'].roundedCornerColor,
     });
     data.openlayers.addControl(control);
     control.activate();
diff --git a/drupal/sites/all/modules/contrib/openlayers/includes/behaviors/openlayers_behavior_layerswitcher.inc b/drupal/sites/all/modules/contrib/openlayers/includes/behaviors/openlayers_behavior_layerswitcher.inc
index 9cd50e8..469cc7c 100644
--- a/drupal/sites/all/modules/contrib/openlayers/includes/behaviors/openlayers_behavior_layerswitcher.inc
+++ b/drupal/sites/all/modules/contrib/openlayers/includes/behaviors/openlayers_behavior_layerswitcher.inc
@@ -15,8 +15,9 @@ class openlayers_behavior_layerswitcher extends openlayers_behavior {
    */
   function options_init() {
     return array(
-      'layerswitcher' => '',
       'ascending' => TRUE,
+      'roundedCorner' => TRUE,
+      'roundedCornerColor' => 'darkblue',
     );
   }
 
@@ -30,8 +31,20 @@ class openlayers_behavior_layerswitcher extends openlayers_behavior {
         '#type' => 'checkbox',
         '#title' => t('Show layers in ascending order'),
         '#description' => t('Higher layers shown toward the bottom'),
-        '#default_value' => isset($defaults['ascending']) ? $defaults['ascending'] : TRUE 
-      )
+        '#default_value' => isset($defaults['ascending']) ? $defaults['ascending'] : TRUE
+      ),
+      'roundedCorner' => array(
+        '#type' => 'checkbox',
+        '#title' => t('Round corners'),
+        '#description' => t('If true the Rico library is used for rounding the corners of the layer switcher div.'),
+        '#default_value' => isset($defaults['roundedCorner']) ? $defaults['roundedCorner'] : TRUE
+      ),
+      'roundedCornerColor' => array(
+        '#type' => 'textfield',
+        '#title' => t('Round corners color'),
+        '#description' => t('The color of the rounded corners, only applies if roundedCorner is true.'),
+        '#default_value' => isset($defaults['roundedCornerColor']) ? $defaults['roundedCornerColor'] : 'darkblue' ,
+      ),
     );
   }
 
