docs: function() {
  
          // set the newly selected base layer
          for(var i=0, len=this.baseLayers.length; i<len; i++) {
              var layerEntry = this.baseLayers[i];
              if (layerEntry.inputElem.checked) {
                  this.map.setBaseLayer(layerEntry.layer, false);
              }
          }
  
          // set the correct visibilities for the overlays
          for(var i=0, len=this.dataLayers.length; i<len; i++) {
              var layerEntry = this.dataLayers[i];
              layerEntry.layer.setVisibility(layerEntry.inputElem.checked);
          }
  
      }