[Users] problem using 'legendURL'

karsten vennemann karsten at terragis.net
Wed Nov 24 10:41:22 CET 2010

Thanks I upgraded to v 1.0 at that resolved the function issue.
Now I can see in firebug  that watershedsrec and publiclandsrec are filled
with the layerrec objects ...

However I still get a wms getlegendgraphic call to retrieve the the legend
from my TileCache layer (which obviously doesn't get a valid legend back)
So is the anything else wrong with by approach - see below

        var legendLayerStore = new GeoExt.data.LayerStore({
            map: map,
            layers: [publiclands,watersheds,quads,counties,overlay1]

        // set legendurls        
        var watershedsrec  = legendLayerStore.getByLayer(watersheds);
        var publiclandsrec = legendLayerStore.getByLayer(publiclands);



More information about the Users mailing list