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 (GeoExt). So I'm not sure the Control.Panel (OL) can be used 
here.

Given my new information, do you think its possible to have a default control?

/Casper

-----Oprindelig meddelelse-----
Fra: Eric Lemoine [mailto:[email protected]] 
Sendt: 14. april 2010 12:02
Til: Casper Børgesen
Cc: [email protected]
Emne: Re: [OpenLayers-Users] Default control

On Wed, Apr 14, 2010 at 10:28 AM, Casper Børgesen <[email protected]> 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 default
> control.
>
>
>
> Can you suggest a good approach to this problem?

Hi. Control.Panel supports this. So place your controls in a panel so
it should work.

-- 
Eric Lemoine

Camptocamp France SAS
Savoie Technolac, BP 352
73377 Le Bourget du Lac, Cedex

Tel : 00 33 4 79 44 44 96
Mail : [email protected]
http://www.camptocamp.com
_______________________________________________
Users mailing list
[email protected]
http://openlayers.org/mailman/listinfo/users

Reply via email to