Reading-eScience-Centre / ncwms

ncWMS - A Web Map Service for displaying environmental data over the web
Other
63 stars 30 forks source link

Can I remove the layer name in the result legend of getLegendGraphic? #79

Closed nuds-zhao closed 3 years ago

nuds-zhao commented 3 years ago

Hi, the legend returned by getLegendGraphic always has a layername on it. How can I remove it?

image

guygriffiths commented 3 years ago

You can't just remove the label, but you can provide COLORBARONLY=true to just generate the colour bar, then use that to create your own legend.