code: 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);
          }
  
      }
docs: Method: updateMap
  Cycles through the loaded data and base layer input arrays and makes
  the necessary calls to the Map object such that that the map's
  visual state corresponds to what the user has selected in
  the control.