[OpenLayers-Dev] SelectFeature control interfering with popup

Eric Lemoine eric.lemoine at camptocamp.com
Tue Nov 16 02:59:54 EST 2010


On Monday, November 15, 2010, dr <rykovd at gmail.com> wrote:
>
> My map contains SelectFeature Control with enabled hover:true property.
> By onSelect property I call function which put OpenLayers.Popup on my map.
> By onUnselected - remove popup from map. Popup is used like tooltip. But
> when I place mouse cursor over popup - selected feature becomes unselected.
> How to prevent this behavior?

The simplest might be to programatically reselect the feature when the
mouse goes over the popup.

-- 
Eric Lemoine

Camptocamp France SAS
Savoie Technolac, BP 352
73377 Le Bourget du Lac, Cedex

Tel : 00 33 4 79 44 44 96
Mail : eric.lemoine at camptocamp.com
http://www.camptocamp.com


More information about the Dev mailing list