So I got this to work now - if I did not use the togglegroup and group
options my other controls were not being deactivated. It seem to work fine
for the control now with the following code -
var zoomin_action = new GeoExt.Action({
text: "Zoom In",
control: new OpenLayers.Control.ZoomBox({alwaysZoom:true}),
map: map,
// button options
toggleGroup: "tools",
allowDepress: false,
tooltip: "Zoom In",
// check item options
group: "tools"
});
--
View this message in context:
http://osgeo-org.1803224.n2.nabble.com/ZoomBox-not-working-when-using-Ext-toolbar-and-GeoExt-Action-tp5591918p5592633.html
Sent from the OpenLayers Users mailing list archive at Nabble.com.
_______________________________________________
Users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/openlayers-users