Thanks for replying!<br><br>getFeatureById() and OpenLayers.Layer.Vector.selectedFeatures both return feature(s), I don&#39;t see how I can use these functions to select features?<br><br>Alex.<br><br><div class="gmail_quote">

On Thu, Jul 22, 2010 at 2:56 PM, emmexx <span dir="ltr">&lt;<a href="mailto:emmexx@tiscalinet.it">emmexx@tiscalinet.it</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">

<div class="im">Il 22/07/2010 15:24, Alex Brandsen scrisse:<br>
</div><div><div></div><div class="h5">&gt; Hi all,<br>
&gt;<br>
&gt; I was wondering if there is a way to manually select a feature, i.e.<br>
&gt; when a feature is clicked, I want to select a feature next to it as well.<br>
&gt; I can&#39;t seem to find any documentation on this, unfortunately.<br>
<br>
</div></div><div><div></div><div class="h5">You can use:<br>
<br>
OpenLayers.Layer.Vector.getFeatureById()<br>
<br>
or the undocumented/private/I can&#39;t find it in the api docs<br>
<br>
OpenLayers.Layer.Vector.selectedFeatures array.<br>
<br>
bye<br>
        maxx<br>
</div></div></blockquote></div><br>