<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Hi Stefan,<div><br></div><div>I haven't used the 'hover' myself but the docs say "<span class="Apple-style-span" style="font-family: Verdana, Arial, sans-serif; font-size: 12px; ">Select on mouse over and deselect on mouse out". I generally specify the 'clickout' option, you may find that does what you need.</span></div><div><span class="Apple-style-span" style="font-family: Verdana, Arial, sans-serif; font-size: 12px; "><br></span></div><div><span class="Apple-style-span" style="font-family: Verdana, Arial, sans-serif; font-size: 12px; ">Cheers</span></div><div><span class="Apple-style-span" style="font-family: Verdana, Arial, sans-serif; font-size: 12px; ">Adam</span></div><div><br><div><div>On 10/08/2010, at 11:10 PM, Stefan Schwarzer wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div><br><blockquote type="cite">Have you tried the 'hover' constructor option for the SelectFeature control? <a href="http://dev.openlayers.org/apidocs/files/OpenLayers/Control/SelectFeature-js.html">http://dev.openlayers.org/apidocs/files/OpenLayers/Control/SelectFeature-js.html</a><br></blockquote><br>Cool, working!!<br><br>selectControl = new OpenLayers.Control.SelectFeature(vecLayer,{ hover: true});<br><br>However, any idea how I can close then the popups automatically again?<br><br>Warmest thanks for the tips!<br><br>Stef</div></blockquote></div><br></div></body></html>