if legend not defined, don't show layer name
custom text