GeoExt.MapPanel in an Ext.Viewport

This example shows how to place a MapPanel as a region in a container using a border layout, the container is a Viewport in this example.

The js is not minified so it is readable. See mappanel-viewport.js.