Suppose I want to write some JS that says :

alert('You have activated the following layer: layer');

every time a new non-base-layer is activated.  

1. Is there a property for a layer object that I can watch for, e.g., 
layer.isOn is TRUE/FALSE, 1/0, etc?

2. If so, what is that property?

3. Is there a better way to do this?

Dheeraj
_______________________________________________
Users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/openlayers-users

Reply via email to