AW: [OpenLayers-Users] Re: popup close onhover out

Christian Ledermann christian.ledermann at gmail.com
Tue Jul 5 07:04:46 EDT 2011


// Remove Popups
        for (var i=0; i<map.popups.length; ++i)
        {
            map.removePopup(map.popups[i]);
        };


On Mon, Jul 4, 2011 at 11:50 PM, Gary Nobles <garynobles at yahoo.com> wrote:
> thanks Sarah for your comments,
>
> Yes I have looked through the forum all last week, and I couldnt find a
> remove example
>
> I looked at this example
> http://www.openlayers.org/dev/examples/getfeatureinfo-popup.html
> but this only opens popups it does not close them. As you can see from my
> previous code I am using the hover function, so when ever the user hovers
> over a point that data is displayed, this gets very messy if the popup
> bubbles arent removed.
>
> thanks for any help
>
> --
> View this message in context: http://osgeo-org.1803224.n2.nabble.com/popup-close-onhover-out-tp6539826p6547367.html
> Sent from the OpenLayers Users mailing list archive at Nabble.com.
> _______________________________________________
> Users mailing list
> Users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/openlayers-users
>



-- 
Best Regards,

Christian Ledermann

Nairobi - Kenya
Mobile : +254 702978914

<*)))>{

If you save the living environment, the biodiversity that we have left,
you will also automatically save the physical environment, too. But If
you only save the physical environment, you will ultimately lose both.

1) Don’t drive species to extinction

2) Don’t destroy a habitat that species rely on.

3) Don’t change the climate in ways that will result in the above.

}<(((*>


More information about the Users mailing list