I created a store and added layers to a grid Panel, when you click add layer to map it works fine, the problem is that when I call the function controle(layer) I can't select polygons in the layer ...
I've got various vector layers on a OL map. On one layer I have a few draw controls. If I draw a polygon I can select it (the whole pop-up thing works). This also works for all the other features. ...