Hi,
I (newbe) have created a new Zoombox-Control for a map and it works fine:
...
new OpenLayers.Control.ZoomBox({alwaysZoom:true});
...
Now I have added a custom Control for adding vector-points to my map (for
routing), I activate this over a radion buttom:
routecontrols = {
start: new OpenLayers.Control.DrawFeature(
start,
SinglePoint,
{'featureAdded': computeRoute}
)
}
for (var key in routecontrols) {
map.addControl(routecontrols[key]);
}
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?
Thanks
Jo
_______________________________________________
Users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/openlayers-users