Thanks Ivan, I'm using GeoServer 2.0-SNAPSHOT + the built-in geowebcache (NIGHTLY, built 2009-12-04) and the OpenLayer.js from "openlayers.org/api/2.8/"
I should mention the cached layers I'm working with are in a lambert conformal conic projection, so I had to create a custom geowebcache.xml file to have the tiles cached in this projection (EPSG:102009). I couldn't find anything special in the geowewbcache.xml file that controlled legend creation. I also tested with some stock world borders and cities data that was in geowebcache, EPSG:4326, and they didn't appear with legends either. The names of the visible layers appear in the legendPanel, just no graphic. When I switch to the geoserver wms instead of the geowebcache wms, legends appear. Thanks again, Ryan On 4/6/2010 5:10 PM, ivan marchesini wrote: > Hi Ryan, > using geoserver 1.7.6 + the built-in geowebcache, and Openlayer trunk (1 > month ago) I've got no problems... > > legend appears regularly.. > > ivan > > Il giorno mar, 06/04/2010 alle 16.53 -0500, Ryan Williams ha scritto: > >> Hi all, >> >> Could anybody give me a hint on how to get legends to show up in the >> GeoExt.LegendPanel when I'm using tiles from GeoWebCache? >> I'm using GeoServer with GeoWebCache on the server, OpenLayers and >> GeoExt as the front end. >> Legends worked well when I got layers from the Geoserver WMS, but no >> legend appears when I get the layers from the GeoWebCache "WMS". >> The layer name does appear in the legend panel, but no graphics. >> I'm guessing the GeoWebCache doesn't create the legends and I'll need >> some kind of work-around, but I don't really know. I figured someone >> else out there HAD to have had this same problem before, but couldn't >> find any answers on google or the list archives. >> >> Thanks, >> Ryan >> >> _______________________________________________ >> Users mailing list >> [email protected] >> http://www.geoext.org/cgi-bin/mailman/listinfo/users >> > > -- Ryan Williams, GISP GIS Analyst / Programmer PAQ Interactive Inc. 107 S State St., Suite 300 Monticello, IL 61856-1968 Office: (217) 762-7955 Mobile: (217) 722-2794 [email protected] _______________________________________________ Users mailing list [email protected] http://www.geoext.org/cgi-bin/mailman/listinfo/users
