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