<br><br>On Saturday, May 19, 2012, Giuseppe De Marco  wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div style="font-size:12pt;font-family:times new roman,new york,times,serif">
<div>I didn&#39;t understand very well the importance of OpenLayers.Layer.Vector.Root_Container.</div><div><br></div><div>I know that if I created first a Vector layer with some features whithin it, if later I create a Root_container the features on the first Vector layer doesn&#39;t been clickable anymore (for getfeatures event).</div>
</div></div></blockquote><div><br></div><div>You&#39;re not supposed to create RootContainer layers yourself. A SelectFeature control creates a RootContainer layer when it is requested to work with an array of layers.</div>
<div><br></div><div dir="ltr">I think the docs make this pretty clear: &lt;<a href="http://dev.openlayers.org/apidocs/files/OpenLayers/Layer/Vector/RootContainer-js.html">http://dev.openlayers.org/apidocs/files/OpenLayers/Layer/Vector/RootContainer-js.html</a>&gt;.</div>
<div dir="ltr"><br></div><div dir="ltr">Cheers,<span></span></div><div><br></div><div><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div></div></div></blockquote>
<br><br>-- <br>Eric Lemoine<br><br>Camptocamp France SAS<br>Savoie Technolac, BP 352<br>73377 Le Bourget du Lac, Cedex<br><br>Tel : 00 33 4 79 44 44 96<br>Mail : <a href="mailto:eric.lemoine@camptocamp.com">eric.lemoine@camptocamp.com</a><br>
<a href="http://www.camptocamp.com">http://www.camptocamp.com</a><br><br>