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:
<layout>
> <decoration type="scaleline" affinity="bottom,left" offset="36,6"/>
> <decoration type="legend" affinity="top,left" offset="6,6"
> size="auto"/>
> </layout>
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 <[email protected]> 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:
>
> <layout>
>
> <decoration type="scaleline" affinity="bottom,right" offset="36,6"/>
>
> <decoration type="legend" affinity="top,right" offset="6,6"
> size="auto"/>
>
> </layout>
>
>
>
> 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
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/geoserver-users
>
>
--
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.
------------------------------------------------------------------------------
Shape the Mobile Experience: Free Subscription
Software experts and developers: Be at the forefront of tech innovation.
Intel(R) Software Adrenaline delivers strategic insight and game-changing
conversations that shape the rapidly evolving mobile landscape. Sign up now.
http://pubads.g.doubleclick.net/gampad/clk?id=63431311&iu=/4140/ostg.clktrk
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users