[Geomoose-users] WMS layer not honoring legend="false"

Dan Little theduckylittle at gmail.com
Mon Sep 29 12:39:08 PDT 2014


There are two attributes for legends control on a catalog <layer> element:
1. "legend" - Toggles whether the legend control is available.
2. "show-legend" - Toggles whether legends will be displayed.

This is true for all layer types.  Try adding "show-legend="false"".

On Mon, Sep 29, 2014 at 2:28 PM, Paul Wickman <paul at flatrockgeo.com> wrote:
> Greetings,
>
> Another non-MapServer observation.  I have a GeoServer WMS layer defined in
> the mapbook, with the <layer legend="false">, but the legend still shows up
> when the layer is turned on.
>
> Thoughts on where to look at fixing this behavior?
>
> --
> Paul Wickman
> CTO | Flat Rock Geographics
> 612.280.5850 | paul at flatrockgeo.com
> www.flatrockgeo.com | twitter.com/flatrockgeo
>
> _______________________________________________
> Geomoose-users mailing list
> Geomoose-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/geomoose-users


More information about the Geomoose-users mailing list