[OpenLayers-Users] Default control

2010-04-14 Thread Casper Børgesen
Hi! I have different controls/tools in my OpenLayers site, and I need to have a default control. When the user deactivates a control (zoom, measure tool, custom tools), I need my site to fall back to (activate) the default control. Can you suggest a good approach to this problem?

Re: [OpenLayers-Users] Default control

2010-04-14 Thread Eric Lemoine
On Wed, Apr 14, 2010 at 10:28 AM, Casper Børgesen c...@le34.dk wrote: Hi! I have different controls/tools in my OpenLayers site, and I need to have a default control. When the user deactivates a control (zoom, measure tool, custom tools), I need my site to fall back to  (activate) the

Re: [OpenLayers-Users] Default control

2010-04-14 Thread Casper Børgesen
new information, do you think its possible to have a default control? /Casper -Oprindelig meddelelse- Fra: Eric Lemoine [mailto:eric.lemo...@camptocamp.com] Sendt: 14. april 2010 12:02 Til: Casper Børgesen Cc: users@openlayers.org Emne: Re: [OpenLayers-Users] Default control On Wed, Apr 14

Re: [OpenLayers-Users] Default control

2010-04-14 Thread Eric Lemoine
On Wed, Apr 14, 2010 at 12:39 PM, Casper Børgesen c...@le34.dk wrote: Hi Eric. Thanks for your answer. Looking at my previous post, I can see that I need to fill in some details - sorry :$ I'm using Ext and GeoExt. In this case all my controls are added to a toolbar (Ext) as Actions