[OpenLayers-Users] Doing something when the layer's features get deleted

Adrian Popa adrian_gh.popa at romtelecom.ro
Thu Jul 15 10:36:21 EDT 2010


Hello everyone,

I have a problem with popups and a vector layer  - if I trigger a forced 
refresh on the vector layer while a popup for a feature is opening, the 
popup's div will freeze and I am unable to close it (most likely because 
the feature it was bound to gets deleted by the time the popup opens). 
Is there any way I can catch a signal/event for layer refresh (just 
before the layer's features get deleted) and abort/close the popup opening?

Thanks,
Adrian




More information about the Users mailing list