[OpenLayers-Users] BBOX Update Bug

Tim Schaub tschaub at opengeo.org
Fri Nov 14 17:47:58 EST 2008


Hey-

GordonHo wrote:
> hi,
> 
> i think the bbox has a small bug in the update handler.
> 
> if an update is issued, and the retrieved data set is empty, the previous
> loaded data set is beeing displayed again after a zoom change.
> 
> if the returned dataset is not empty, everything works fine.

At a glance, it looks to me like the merge callback should always get 
called (this is the responsibility of your protocol).  If merge is 
called, layer.destroyFeatures gets called (yes, this is a blunt merge).

So, I'm guessing something is going wrong in the protocol.  Could be a 
parsing error.  If you are seeing any errors or have any more detail, 
please open a ticket and attach anything relevant that helps reproduce 
the problem (relevant detail would include at least the format and 
protocol that you are using and ideally an example).

Thanks,
Tim

> 
> with best regards and alot thanks for this framework, gordon


-- 
Tim Schaub
OpenGeo - http://opengeo.org
Expert service straight from the developers.



More information about the Users mailing list