code: public static Img getSmallLayerIcon(Layer<?> layer) {
  		String url = getSmallLayerIconUrl(layer);
  		if (url != null) {
  			return new Img(url);
  		} else {
  			return null;
  		}
  	}
docs: Get small layer icon as image.
  
  @param layer
  layer
  @return image