[OpenLayers-Users] Overview map control in a seperate Ext Panel
giraam
sdjbm17 at gmail.com
Thu Jul 8 10:19:31 EDT 2010
You can nest panels using the items property. For example:
var myPanel = new Ext.Panel({
title: 'Top level',
layout: 'border',
items: [{
xtype:'panel',
title:'Sub1',
html:'Contents of sub panel 1',
region: 'east'
},{
xtype:'panel',
title: 'Sub2',
html:'Contents of sub panel 2',
region: 'center'
}],
width:300,
height:200,
renderTo:'panelDiv'
});
The layout property on the outer container determines the position of the
items within it. Here, we have set the layout to be a border layout, which
requires that items be given a region property like “center”, “north”,
“south”, “east”, or “west”.
Take a look at
http://www.sencha.com/deploy/dev/examples/layout-browser/layout-browser.html
Ext Layout Browser
Cheers,
Gilberto Ramos
-----
just another web developer
--
View this message in context: http://osgeo-org.1803224.n2.nabble.com/Overview-map-control-in-a-seperate-Ext-Panel-tp5248304p5270321.html
Sent from the OpenLayers Users mailing list archive at Nabble.com.
More information about the Users
mailing list