Add legend configuration for layer name color and opacity