Probably the easiest way would be to configure your basemap (I assume a WMS) to embed the attribute in the output. You can either set up your WMS with a default SLD to look they way you want, or alternatively, in your context.xml embed the SLD. (The second option may have issues if your SLD gets too long because there is a hard limit to the number of chars that can be sent to the server in a GET request).
Here is a good SLD tutorial: http://docs.codehaus.org/display/GEOSDOC/SLD+Intro+Tutorial André Silva wrote: > Hi, > > I need to show a legend with a layer. > Example: > I have a shape with cities (points), each city have a atribute "name". > How do I make to show the names over the points? > > Illustration > http://andresilva.890m.com/arquivos/legend.jpg > > regards > André Silva > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2008. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > ------------------------------------------------------------------------ > > _______________________________________________ > Mapbuilder-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/mapbuilder-users > -- Cameron Shorter Geospatial Systems Architect Tel: +61 (0)2 8570 5050 Mob: +61 (0)419 142 254 Think Globally, Fix Locally Commercial Support for Geospatial Open Source Solutions http://www.lisasoft.com/LISAsoft/SupportedProducts.html ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Mapbuilder-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/mapbuilder-users
