[Users] Overview map in a seperate Ext Panel
Jehanzeb Orakzai
jehanzeb_orakzai at yahoo.com
Sat Jul 3 10:06:57 CEST 2010
Hi,
I have a Viewport in which the layout is Border. Then I have 2 regions i.e Center and East. In the Center region I am displaying the MapPanel, While in the East region I already added an Ext panel I want to show the OverView map in that panel. I am struggling to do that.
Below is the panel in which I want to show the OverviewMap
var ePanel1 = new Ext.Panel({
id : 'ePanel1',
title : 'Overview',
frame : true,
height : 100,
autoScroll : false
});
If I use this
map.addControl(new OpenLayers.Control.OverviewMap());
It adds the OverViewMap to the MapPanel, which is not my requirement. I want it to appear in a serperate panel rather than attach with the map control.
Any help regarding this is appreciated!
Thank you,
--
Jehanzeb
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.geoext.org/pipermail/users/attachments/20100703/33256b86/attachment.htm
More information about the Users
mailing list