[OpenLayers-Users] Default control

Eric Lemoine eric.lemoine at camptocamp.com
Wed Apr 14 06:02:13 EDT 2010


On Wed, Apr 14, 2010 at 10:28 AM, Casper Børgesen <cbo at 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 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 : eric.lemoine at camptocamp.com
http://www.camptocamp.com



More information about the Users mailing list