[OpenLayers-Users] Zooming fast gives errors

Paul Meems bontepaarden at gmail.com
Thu Mar 14 13:13:29 PDT 2013


I have a strange behavior in my application using OLv2.12.
I use GeoServer for my mapping and I have an aerial photo layer and two
PostGIS layers.
The photo layer is a grouped layer of a tiff layer (the aerial photo) and a
vector layer (OSM data).
The first PostGIS layer and the photo layer are both called using
geowebcache and the second PostGIS layer is called as a WFS layer because I
only show a few features based on an address.

This works all fine. I start with a predefined address and when I zoom out
too quickly I get error in Firebug and the map 'jumps' back to the original
zoom level.
Too quickly means not all tiles are shown yet. I zoom using the pan-zoom
bar.

The error is:
Image corrupt or truncated:
http://5.79.21.216:8080/geoserver/gwc/service/wms?LAYERS=Dakscan-Veldhoven%3ALuchtfoto-hybrid&FORMAT=image%2Fpng8&SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&STYLES=&SRS=EPSG%3A28992&BBOX=156323.53327898,380566.6511594,157183.69327898,381426.8111594&WIDTH=512&HEIGHT=512
http://5.79.21.216:8080/geoserver/gwc/service/wms?LAYERS=Dakscan-Veldhoven%3ALuchtfoto-hybrid&FORMAT=image%2Fpng8&SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&STYLES=&SRS=EPSG%3A28992&BBOX=156323.53327898,380566.6511594,157183.69327898,381426.8111594&WIDTH=512&HEIGHT=512
Line 0
When I look closer at the error in Firebug I see the URL is appended twice.

It looks like my quick zooming resulted in not requesting a new tile but
combining the previous URL with the new one.

This behavior happens in FF, Chrome and IE9.
When I zoom to another address I don't have the behavior of returning to
the initial zoom level, but I do have a lot of those errors about corrupt
or truncated images.

Most likely I'm doing something wrong, but I have no idea where to look.

Thanks,

Paul
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/openlayers-users/attachments/20130314/af85836f/attachment.html>


More information about the Users mailing list