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 (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?

Yes, it's possible. This is GeoExt-related question, but the answer is
short so I'll provide it here.  Add toggleGroup:"groupname" in your
GeoExt actions, and set pressed:true in the GeoExt action
corresponding to your default control, and pressed:false in the other
GeoExt actions. If you need to follow up on this topic could you
please post on the GeoExt mailing list? Thanks,


-- 
Eric Lemoine

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

Tel : 00 33 4 79 44 44 96
Mail : eric.lemo...@camptocamp.com
http://www.camptocamp.com
_______________________________________________
Users mailing list
Users@openlayers.org
http://openlayers.org/mailman/listinfo/users

Reply via email to