Ok, you're right. I was looking in the wrong place. I've solved it. Thanks.
Regards. -----Mensaje original----- De: [email protected] [mailto:[email protected]] Enviado el: jueves, 28 de enero de 2010 12:45 Para: David Alda Fernandez de Lezea CC: openlayers users Asunto: Re: [OpenLayers-Users] setting map's active tool 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
