[Users] Mouserover Events
Adam Ratcliffe
adam at prema.co.nz
Tue Aug 10 21:49:35 CEST 2010
Hi Stefan,
I haven't used the 'hover' myself but the docs say "Select on mouse over and deselect on mouse out". I generally specify the 'clickout' option, you may find that does what you need.
Cheers
Adam
On 10/08/2010, at 11:10 PM, Stefan Schwarzer wrote:
>
>> Have you tried the 'hover' constructor option for the SelectFeature control? http://dev.openlayers.org/apidocs/files/OpenLayers/Control/SelectFeature-js.html
>
> Cool, working!!
>
> selectControl = new OpenLayers.Control.SelectFeature(vecLayer,{ hover: true});
>
> However, any idea how I can close then the popups automatically again?
>
> Warmest thanks for the tips!
>
> Stef
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.geoext.org/pipermail/users/attachments/20100811/1f906d8f/attachment.htm
More information about the Users
mailing list