Hello,<br><br>I use the events 'changelayer' on my map to know if one of my layers have been activate or unactivate.<br>I would like to be able to get the layer object when a user activate or unactivate it. <br><br>
Tought the OL AI specify :<br><br><b>changelayer</b> triggered after a layer name change, order change,
or visibility change (due to resolution thresholds). Listeners will
receive an event object with <b>layer</b> and <b>property</b> properties. The <b>layer</b> property will be a reference to the changed layer. The <b>property</b> property will be a key to the changed property (name, visibility, or order).<br>
<br>How i can manage my application to get the layer that have been changed.<br><br>Thanks for your help.<br><br>Arnaud<br><br clear="all"><br>-- <br>------------------------------------------------------------------------------<br>
Van De Casteele Arnaud<br>72 Rue de la colline des camélias 97400 Saint-Denis<br>0262 30 67 79 - 0692 23 73 17<br>Site internet : <a href="http://cataloguesig.c-webhosting.org/">http://cataloguesig.c-webhosting.org/</a>