Hi Cintia,

As Martin suggests you can hack a custom solution to draw the legend
onto a map panel or a separate panel.

There is a SLD element "LegendGraphic" used with Rules in SLD docs.
Programmatically the Rule class has getLegend and setLegend methods.
But the renderer doesn't seem to do anything with these as far as I
can see. Perhaps Andrea or Jody can cast more light on that ?

There is also the org.geotools.legend package in the gt-render module
but the classes there are poorly documented and I don't know anything
about it. A brief look finds lots of bits that seem to duplicate
methods in other parts of GeoTools. Once again, one of the gurus here
might be able to cast more light on this.

Michael

------------------------------------------------------------------------------
Throughout its 18-year history, RSA Conference consistently attracts the
world's best and brightest in the field, creating opportunities for Conference
attendees to learn about information security's most important issues through
interactions with peers, luminaries and emerging and established companies.
http://p.sf.net/sfu/rsaconf-dev2dev
_______________________________________________
Geotools-gt2-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users

Reply via email to