OpenLayers OpenLayers

Ticket #899 (closed bug: fixed)

Opened 1 year ago

Last modified 1 year ago

Misaligned broken KaMap tiles

Reported by: bbrehmer Assigned to: Tim Schaub
Priority: minor Milestone: 2.6 Release
Component: Layer.KaMap Version: 2.4
Keywords: extra broken kamap tiles Cc: bbrehmer@refractions.net
State:

Description

If you have a look at the attached screen shot you will see a valid tile (highlighted with firebug) and several broken (pink tiles). The broken tiles are offset in the X and Y direction and are broken because they are referencing an invalid path in the kamap generated cache.

Some other observations:

-All the broken tiles are always in the same row OR the same column

-The broken tiles always load after all the tiles in the viewport have loaded successfully. (ie. an extra row/column is loaded with broken tiles)

-So far I have been able to reproduce this bug in Firefox 2.0, IE 6, IE 7

In the meantime to not display broken pink tiles, I have added a fix to tile.php which returns a single pixel image if the specified image path deosn't exist.

Attachments

kamap_tile_load_problem2.jpg (159.8 kB) - added by openlayers on 08/09/07 12:34:57.
screen shot

Change History

08/09/07 12:34:57 changed by openlayers

  • attachment kamap_tile_load_problem2.jpg added.

screen shot

08/10/07 21:03:52 changed by crschmidt

  • milestone changed from 2.5 Release to 2.6 Release.

10/06/07 21:24:27 changed by crschmidt

If you could confirm this is still happening with 2.5, I'd appreciate it.

10/15/07 11:25:24 changed by openlayers

Yes, this is still happening after updating to 2.5

10/15/07 11:27:58 changed by crschmidt

  • reporter changed from openlayers to bbrehmer.

Can you provide HTML which reproduces the problem? I haven't been able to get it to happen in my data. Also, the URL of a failing tile and the URL of a working tile alongside it would be good.

10/16/07 17:48:00 changed by bbrehmer

I've created a sample page[1] based off the kamap.html example.

I've panned and zoomed around this sample page extensively but haven't been able to produce extra broken offset tiles.

One thing I did notice was that if OpenLayers.IMAGE_RELOAD_ATTEMPTS is set to some larger number (say 50) then IE comes back with a "Stack overflow at line: 0" message and one broken (pink) tile.

It deosn't seem as though this is related to the extra offset tiles since the one broken pink tile is aligned properly in the x & y direction but maybe a side effect?

I will continue to figure out a way to consistently reproduce the invalid extra offset tiles.

[1] http://ben.simplymap.com/kamap.html

10/22/07 16:23:47 changed by bbrehmer

  • status changed from new to closed.
  • resolution set to fixed.

I think this was a false alarm. After updating to 2.5 the broken images appearing are aligned properly in the x & y direction. Setting IMAGE_RELOAD_ATTEMPTS seems to alleviate the problem.