OpenLayers.Control.Panel has an activateControl method, so if you put your controls in a panel you can easily activate a control.
Best regards, Bart > > Hello list, > > Is there a simple way (like a property or function) that set's an active > tool? I mean, something like map.setActiveTool(aTool)?? > > Thanks. > > Un saludo, > > ·················································································· > > David Alda Fernández de Lezea > Lurralde eta Biodibertsitate Saila / Dpto. de Territorio y Biodiversidad > > IKT > Granja Modelo s/n · 01192 · Arkaute (Araba) > > ·················································································· > Tlfnos.: 945-00-32-95 Fax: 945-00.32.90 > ·················································································· > email: [email protected] web: www.ikt.es > ·················································································· > _______________________________________________ > Users mailing list > [email protected] > http://openlayers.org/mailman/listinfo/users > _______________________________________________ Users mailing list [email protected] http://openlayers.org/mailman/listinfo/users
