Thanks for your help Bart. I tried the following:
var pzb = new OpenLayers.Control.PanZoomBar(); map.addControl(pzb); ... // deactivate PanZoomBar: map.removeControl(pzb); ... // activate PanZoomBar again map.addControl(pzb); ... The problem is, that when I add the panzoombar the second time, it will not be displayed on the map. But why? -- View this message in context: http://n2.nabble.com/Cannot-deactivate-OpenLayers.Control.PanZoomBar-tp1381757p1577529.html Sent from the OpenLayers Users mailing list archive at Nabble.com. _______________________________________________ Users mailing list Users@openlayers.org http://openlayers.org/mailman/listinfo/users