[OpenLayers-Users] How can I catch an OL event inside a custom tool

David Alda Fernandez de Lezea dalda at ikt.es
Fri Mar 18 09:12:31 EDT 2011


Hi list,

I've developed a custom tool that makes some geometric operations using a selected feature, and I want this tool to be active only when there is 1 feature selected in the layer. If the selection is empty the tool must deactitvated. How can I catch that event (featureselected) from my tool?? Any ideas?

Thanks.

Regards. 
 
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
··················································································


More information about the Users mailing list