I found finally a solution.<br>I don&#39;t know why it&#39;s working but it&#39;s working so :)<br><br>selectControl = new OpenLayers.Control.SelectFeature(dragableLayers);<br>map.addControl(selectControl);<br>selectControl.activate();<br>
<br>for (i=0; i&lt;dragableLayers.length; i++)<br>{<br>            drag = new OpenLayers.Control.DragFeature(dragableLayers[i]);<br>            map.addControl(drag);<br>            drag.activate();<br>}<br><br>Like this all my dragable layers have drag ability. The select ability is no more available<br>
<br>Thomas<br><br><div class="gmail_quote">2010/8/18 Thomas PAPIN <span dir="ltr">&lt;<a href="mailto:thomas.papin@gmail.com">thomas.papin@gmail.com</a>&gt;</span><br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
Hello,<br><br>I would like to be able to drag features of two vector layers in the same time, is it possible ?<br>Currently when I add a DragFeature on a layer this will remove the dragfeature on another layer <br><br>:-(<br>
<font color="#888888">
<br>Thomas<br>
</font></blockquote></div><br>