[OpenLayers-Users] Open/close Pop-up with mouseover/mouseout

Eric Lemoine Eric.Lemoine at camptocamp.com
Wed Feb 28 01:18:04 EST 2007


On 2/27/07, Yves Jacolin <yjacolin at free.fr> wrote:
> Hi again,
>
> I would like to open pop-up with a mouseover events (done changing 'click' by
> 'mouseover' in geoRss.js), and close it when mouse is out of the pop-up. Do
> you know if this feature was already done by somebody? Do you think it will
> take a long time to do this (not especialy by you ;-), just need to have some
> idea.
>

Hi Yves,

There's the AnchoredBubble class for exactly that. You can attach an
AnchoredBubble to a feature (e.g. marker) using the
Feature.createPopup() method. I'm not sure about geoRSS though...

Hope this helps

--
Eric



More information about the Users mailing list