GeoExt.OverviewMap Components

This example shows how to work with the OverviewMap component. It inherits from Ext.Component wrapping the OpenLayers OverviewMap control. This means you can place it in your applications layout as you would any other component. The example shows the usage as a floating, resizable component positioned absolutely above the map. The second GeoExt.OverviewMap has been placed as a panels item inside a vbox layout, so the components size is determined by the parents dimensions.
The floating OverviewMap has been configured as "dynamic" which means it will update itself to show the bound maps active baselayer.

The js is not minified so it is readable. See overview.js.