[OpenLayers-Users] Vector layer refresh - Popup will not close

Alexandre Dube adube at mapgears.com
Mon May 18 14:39:05 EDT 2009


Hi Wayne,

You could try to register a "loadend" listener to the layer. Then, you 
could destroy all popups on map.

Alexandre

Wayne Dyck wrote:
> I am performing a refresh on a vector layer at certain time intervals to
> update the data on the map. The problem is that if I issue a 'refresh'
> call when a 'FramedCloud' popup is open I believe the reference to the
> popup that feature is based on is lost.
>
> Is there a way I can force the popup to be closed before calling the
> 'refresh'? Is there a specific event I should be listening to?
>
> Thanks for any assistance.
>
> Wayne
> _______________________________________________
> Users mailing list
> Users at openlayers.org
> http://openlayers.org/mailman/listinfo/users
>   


-- 
Alexandre Dubé
Mapgears
www.mapgears.com




More information about the Users mailing list