Hello Bart, Thanks for the reply.
I have tried e.layer.name and e.layer.map.baseLayer.name and both provides me the previously selected layer's name. Is there events that I should listen instead of map's "changelayer" event? Maybe there's something for LayerSwitcher? -- View this message in context: http://osgeo-org.1803224.n2.nabble.com/changelayer-event-tp5372564p5372665.html Sent from the OpenLayers Users mailing list archive at Nabble.com. _______________________________________________ Users mailing list [email protected] http://openlayers.org/mailman/listinfo/users
