[OpenLayers-Users] OpenLayers + Ext/GeoExt , can't get layer tree to work

Planet)x andrew.stewart at reddeer.ca
Tue Aug 31 18:06:46 EDT 2010


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'}]
});
-- 
View this message in context: http://osgeo-org.1803224.n2.nabble.com/OpenLayers-Ext-GeoExt-can-t-get-layer-tree-to-work-tp5484619p5484703.html
Sent from the OpenLayers Users mailing list archive at Nabble.com.



More information about the Users mailing list