code: protected boolean addLayer(Layer layer) {
  		int index = getLayerIndex(layer);
  		if (index < 0) {
  			view.add(new LayerControlPanel(mapPresenter, layer, disableToggleOutOfRange));
  
  			return true;
  		}
  		return false;
  	}
docs: Add a layer to the legend drop down panel.
  
  @param layer
  The layer who's legend to add to the drop down panel.
  @return success or not.