Hi Andrew, it seems Geoserver will return the same error exception if I leave out SCALE from the GetLegendGraphic request, so this cannot be fixed on the GeoExt side unfortunately.
In my first e-mail I actually had a working GetLegendGraphic URL, the failing one is e.g. (or leave out SCALE altogether from the request): http://saturn.nmt.edu/geoserver/wms?&SINGLETILE=true&TRANSPARENT=true&SERVICE=WMS&VERSION=1.1.1&REQUEST=GetLegendGraphic&EXCEPTIONS=application%2Fvnd.ogc.se_xml&LAYER=national%3Ausgsdtw&SCALE=50000&FORMAT=image%2Fgif Best regards, Bart -- Looking for flexible support on OpenLayers or GeoExt? Please check out http://www.osgis.nl/support.html Bart van den Eijnden OSGIS [email protected] On Mar 6, 2011, at 10:04 PM, Andrew Parker wrote: > Thanks for the suggestions Bart. I added: > > Ext.onReady(function() { > Ext.QuickTips.init(); > // Add the following per Bart's suggestion to fix symbol in layer tree > GeoExt.WMSLegend.prototype.useScaleParameter = false; > > This caused the symbol not to display in the layer tree. > > The I removed the above add added: > > xtype: "gx_wmslegend", > useScaleParameter: false > > to LayerTreeBuilder.js. Same affect as above, no symbology in the layer > tree. > I will post to geoserver list in a few days if someone here does not > come up with a solution. > > > -- > Andrew Parker > Source3 Computing, LLC > www.source3.com > skype: source3computing > 505-350-5535 > > > _______________________________________________ > Users mailing list > [email protected] > http://www.geoext.org/cgi-bin/mailman/listinfo/users >
_______________________________________________ Users mailing list [email protected] http://www.geoext.org/cgi-bin/mailman/listinfo/users
