Replies: 1 comment
-
Hi @lstillwe You need to set the I just realised this isn't mentioned in the docs! This should work for your config "legends": [
{
"url": "https://hostname.org/geoserver/workspace/ows?service=WMS&request=GetLegendGraphic&LEGEND_OPTIONS=layout:horizontal&format=image%2Fpng&width=20&height=20&layer=layername",
"urlMimeType": "image/png"
}
] Cheers, |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Is there any way to control legend orientation (i.e. make horizontal) from a WMS layer served by GeoServer?
I have specified an url like this in the legends trait:
However that only gives me a link to see the legend in a new page:
Thanks very much!
Beta Was this translation helpful? Give feedback.
All reactions