Hello!
I’ve stumbled with custom legend and can’t make it work for some time.
I’ve made my own legend (png file) and then added this legend to a style via “Add legend” button in the style editor. Legend was correctly added, width/height and format were auto-detected and legend appeared after click on “Preview legend” link in the style editor.
Next my expectation was that I’ll see my png image in GetLegendGraphic response, but GeoServer returned image based on SLD style and ignored my png.
Am I missing something? Should it work in GetLegendGraphic at all?
Thanks in advance!