Hi. Have you tried: deactivate control, change its layer, activate control. I'm not sure it'll work but it's worth trying. Eric
2009/1/13, Bill Thoen <[email protected]>: > I've got three vector feature layers and I'd like to use the same tool > to select any feature from any of these layers. But I understand that > you can only have one layer selectable at a time. So I'm thinking that > if I change the layer reference in the control as needed, that will do > it. But it doesn't seem to work. I've tried changing the layer reference > in both map.controls[n].layer and panel.controls[n].layer but the tool > continues to select from the original layer that was assigned when the > tool was created. What am I doing wrong? > _______________________________________________ > Users mailing list > [email protected] > http://openlayers.org/mailman/listinfo/users > _______________________________________________ Users mailing list [email protected] http://openlayers.org/mailman/listinfo/users
