Hi,<br>I (newbe) have created a new Zoombox-Control for a map and it works fine:<br><br>...<br>new OpenLayers.Control.ZoomBox({alwaysZoom:true});<br>...<br><br>Now I have added a custom Control for adding vector-points to my map (for routing), I activate this over a radion buttom:<br>
<br>    routecontrols = {<br>          start: new OpenLayers.Control.DrawFeature(<br>          start,<br>          SinglePoint,<br>          {&#39;featureAdded&#39;: computeRoute}          <br>        )          <br>    }<br>
<br>    for (var key in routecontrols) {<br>        map.addControl(routecontrols[key]);<br>    }<br><br>My Problem now: If the Zoomboxcontrol is active, it is not possible to activate my custom control. How can I trigger a control to be active/inactive?<br>
<br>Thanks<br>Jo<br><br>