On Wednesday, September 1, 2010, Planet)x <[email protected]> wrote: > > Sorry forgot to include my code - here is what I have so far. I can get my > layers to show up no problem but the GridPanel control only shows my legend > entries as object Object for all of them. > > > > var mapPanel = new GeoExt.MapPanel({ > renderTo: 'gxmap', > height: 400, > width: 600, > map: map, > title: 'A Simple GeoExt Map' > }); > > new Ext.grid.GridPanel({ > renderTo: 'layerlist', > height: 200, width: 200, > autoScroll: true, > store: mapPanel.layers, > columns: [{name: 'name', heading: 'Name'}] > });
Hi. I'd recommend sending GeoExt questions to the GeoExt mailing list. Cheers, -- Eric Lemoine Camptocamp France SAS Savoie Technolac, BP 352 73377 Le Bourget du Lac, Cedex Tel : 00 33 4 79 44 44 96 Mail : [email protected] http://www.camptocamp.com _______________________________________________ Users mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/openlayers-users
