[Geoserver-users] WMS Decoration

Hy!

I have a WMS layer displaying a BarnsSurface.

I would like to display the legend using WMS decoration.

I’ ve configured it. Created a layouts folder and a xml file in it.

The xml content:

unfortunately the legend is not displayed but the scaleline is.

Could anyone help me?

Thank’s

Endre Holb a developer

Hi Endre,
I’ve just tried the same layout (taken from the documentation I see). It works for me.

I have a file called foo.xml that contains only:

This transmission is intended for the named addressee(s) only and may contain sensitive or protectively marked material up to RESTRICTED and should be handled accordingly. Unless you are the named addressee (or authorised to receive it for the addressee) you may not copy or use it, or disclose it to anyone else. If you have received this transmission in error please notify the sender immediately. All email traffic sent to or from us, including without limitation all GCSX traffic, may be subject to recording and/or monitoring in accordance with relevant legislation.

···

Both are correctly shown.

Are you sure there is a legend for the items that your map is showing? They’re not rasters or layergroups?

Cheers,
Jonathan

On 18 November 2013 11:19, Holb Endre <holb.endre@anonymised.com> wrote:

Hy!

I have a WMS layer displaying a BarnsSurface.

I would like to display the legend using WMS decoration.

I’ ve configured it. Created a layouts folder and a xml file in it.

The xml content:

unfortunately the legend is not displayed but the scaleline is.

Could anyone help me?

Thank’s

Endre Holb a developer


DreamFactory - Open Source REST & JSON Services for HTML5 & Native Apps
OAuth, Users, Roles, SQL, NoSQL, BLOB Storage and External API Access
Free app hosting. Or install the open source package on any LAMP server.
Sign up and see examples for AngularJS, jQuery, Sencha Touch and Native!
http://pubads.g.doubleclick.net/gampad/clk?id=63469471&iu=/4140/ostg.clktrk


Geoserver-users mailing list
Geoserver-users@anonymised.comsts.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users