Re: [OpenLayers-Users] Canceling a currently loading WMS layer

2009-07-06 Thread Tom B
Hi Andreas, Great, thanks. In case anyone else is trying to do this, I needed to call .destroy() on the layer for this to work (not sure if that's clear from the changeset). Just calling map.removeLayer() resulted in HTTP requests for WMS images continuing to be made after the layer was remov

Re: [OpenLayers-Users] Canceling a currently loading WMS layer

2009-07-06 Thread Andreas Hocevar
Hi, On Sat, Jul 4, 2009 at 5:36 PM, Tom B wrote: > This thread suggested that there wasn't an elegant way to do this: > http://openlayers.org/pipermail/dev/2008-March/002665.html > > Simply removing a layer still leaves some processing continuing in the > background.  Has anyone found a method to

[OpenLayers-Users] Canceling a currently loading WMS layer

2009-07-04 Thread Tom B
Hi, This thread suggested that there wasn't an elegant way to do this: http://openlayers.org/pipermail/dev/2008-March/002665.html Simply removing a layer still leaves some processing continuing in the background. Has anyone found a method to completely stop a currently loading layer since that