[OpenLayers-Users] setting map's active tool

David Alda Fernandez de Lezea dalda at ikt.es
Thu Jan 28 07:19:52 EST 2010


Ok, you're right. I was looking in the wrong place. I've solved it. 

Thanks.

Regards.

-----Mensaje original-----
De: bartvde at osgis.nl [mailto:bartvde at osgis.nl] 
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: dalda at ikt.es                                web: www.ikt.es
> ······································································
> ············ _______________________________________________
> Users mailing list
> Users at openlayers.org
> http://openlayers.org/mailman/listinfo/users
>





More information about the Users mailing list