[OpenLayers-Dev] WFS layer - mergeNewParams

Tim Schaub noreply at geocartic.com
Tue Jun 26 12:03:51 EDT 2007


Hey Pierre-

Pierre GIRAUD wrote:
> I tried to call this when the zoom changes but in some cases the I get
> a javascript error. This is due to the fact that the wfs tile may be
> destroyed before the ajax resquest response is received. When the
> request response is received, the requestSuccess callback is called
> but some objects or properties don't exist anymore.
> I think that the destroy method in Tile.WFS should also cancel the ajax request.
> 

Please add this description to the ticket opened some time ago for this 
issue:
http://trac.openlayers.org/ticket/699


> Any thougts about that ?
> 
> 
> One other problem is that I would like to change the layer parameters
> as soon as the zoomLevel changes. I can't find any map event that
> tells that the zoom level is changing and what will be the next zoom
> level before the layers are updated.
> 
> Regards
> 
> Pierre
> _______________________________________________
> Dev mailing list
> Dev at openlayers.org
> http://openlayers.org/mailman/listinfo/dev




More information about the Dev mailing list