On Fri, Jun 17, 2011 at 9:23 PM, Fernando Barbat <[email protected]> wrote:

> Is it posible to extend current LegendDecoration paint method to ignore
> some layers? Maybe the skipped layers can be passed in a custom WMS
> parameter. Is that possible?
>
>
I think it's possible, just as making your own, requires coding.


> Other possibility is to query a database from there to know whether a layer
> should be rendered on the legend or not.  Do you consider it a bad approach?
>
>
Could be another way. From where I stand having a custom parameter seems
better,
but what you need seems like a custom, specific need, so I guess any
solution that works
for you would be fine.


> Do I have to checkout all GeoServer source code to do that?
>

Hmmm... you might get away by checking out only the wms module, but I never
tried.


> Is there any documentation about how to "deploy" new decorations?
>
>
Nope, just do like everybody else did, "monkey see, monkey do"
Mimick what is already in place, that's how all the current developers
learned
how to deal with the GeoServer code base.

Cheers
Andrea



-- 
-------------------------------------------------------
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