code: @Override
  	public void toggleLayerVisibility() {
  		log.log(Level.INFO, "toggleLayerVisibility()");
  		layer.setMarkedAsVisible(!layer.isMarkedAsVisible());
  	}
docs: ------------------------------------------------------------------------