Hi Kristen, I think only one control can be activated on the map at the same time. The reason is simple, they all have differents mouse handlers and behaviors. You'll need to propose a toolbar or something to let the user choose the control he wants to use. (see this example: http://www.openlayers.org/dev/examples/draw-feature.html ) If you really need to get both behaviors... you can easily create a new control, or overide some drawfeature functions to support shift+drag.
Regards, Alan Kirsten Grimm [geOps] wrote: > Hello, > > I have a DrawFeatureControl which is activated by default. > Now, i still want the standard map behavior to work, for example > Shift+Mousedrag for a zoombox, or double click for zooming. > What is the standard way to implement this, is there an example somewhere? > > I have tried around with custom Controls and Handlers, but had no success. > > thanks in advance, > Kirsten > _______________________________________________ > Users mailing list > [email protected] > http://openlayers.org/mailman/listinfo/users > -- Alan Boudreault Mapgears http://www.mapgears.com _______________________________________________ Users mailing list [email protected] http://openlayers.org/mailman/listinfo/users
