OpenLayers controls in an Ext toolbar

This example shows how to add OpenLayers controls in an Ext toolbar. GeoExt provides the GeoExt.Action class for adapating a control to an object that can be inserted in a toolbar or in a menu.

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