Attach zooming, panning, layer switcher, overview map, and permalink map controls to an OpenLayers window.