Toolbar with Profile action

This example shows how to use the GeoExt.ux.Profile action in a toolbar. Click on the profile button and then digitize a polyline. Finish the polyline with a double-click. A profile should then appear

See profile.js for the source code.