On Fri, Jun 17, 2011 at 7:52 PM, Fernando Barbat <[email protected]> wrote:
> Is it posible to customize how a legend in WMS decorations is rendered? In
> my case, I just want the legend to skip some layers, which are used only for
> labeling.
>
> If it is not posible, any workaround would be appreciated.

As far as I can see map decorations are pluggable, so you can code your
own custom legend decoration if you want.
See the code here:
http://svn.codehaus.org/geoserver/trunk/src/wms/src/main/java/org/geoserver/wms/decoration/

the "fromFile" method in
http://svn.codehaus.org/geoserver/trunk/src/wms/src/main/java/org/geoserver/wms/decoration/MapDecorationLayout.java
and how the various decoration plugins are registered in the spring
context here:
http://svn.codehaus.org/geoserver/trunk/src/wms/src/main/java/applicationContext.xml

Cheers
Andrea

>
> Thanks.
>
> ------------------------------------------------------------------------------
> EditLive Enterprise is the world's most technically advanced content
> authoring tool. Experience the power of Track Changes, Inline Image
> Editing and ensure content is compliant with Accessibility Checking.
> http://p.sf.net/sfu/ephox-dev2dev
> _______________________________________________
> Geoserver-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/geoserver-users
>
>



-- 
-------------------------------------------------------
Ing. Andrea Aime
GeoSolutions S.A.S.
Tech lead

Via Poggio alle Viti 1187
55054  Massarosa (LU)
Italy

phone: +39 0584 962313
fax:      +39 0584 962313

http://www.geo-solutions.it
http://geo-solutions.blogspot.com/
http://www.youtube.com/user/GeoSolutionsIT
http://www.linkedin.com/in/andreaaime
http://twitter.com/geowolf

-------------------------------------------------------

------------------------------------------------------------------------------
EditLive Enterprise is the world's most technically advanced content
authoring tool. Experience the power of Track Changes, Inline Image
Editing and ensure content is compliant with Accessibility Checking.
http://p.sf.net/sfu/ephox-dev2dev
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to