Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

404 tiles showing up with broken image symbol #68

Closed
dittaeva opened this issue Jul 30, 2012 · 4 comments
Closed

404 tiles showing up with broken image symbol #68

dittaeva opened this issue Jul 30, 2012 · 4 comments

Comments

@dittaeva
Copy link
Collaborator

Recently tiles that haven't been generated because of lack of content are showing up with 404 icons on the route overlay:
Screenshot

It does not look like this when I first visit the site, but when I come back to it, and is possibly affected by some shortcut or something else I do with the browser. This has happened quite a number of times now (perhaps since OpenLayers 2.12?), but I do not know if it always is with Chrome.

Missing tile warning is also standard behaviour in JOSM, and empty tiles instead of no tiles could make things more beautiful, but from this pingdom analysis it also seems it would make it much slower since 404s are much faster than files of comparable size.

@lonvia
Copy link
Collaborator

lonvia commented Jul 30, 2012

The handling of non-existent tiles was changed in OpenLayers 2.12 was changed. The new implementation fails sometimes but as of now I could not produce a reproducible test case to be able to fix that.

Sending empty tiles is not a simple change for the server side. In any case, I was thinking about sending a redirect because that would hopefully mean that the browser needs to do less caching.

@dittaeva
Copy link
Collaborator Author

dittaeva commented Aug 3, 2012

Playing with the opacity slider patch from Joachim I discovered that I could turn "on and off" the broken link image with different opacities. Especially visible with the hill shading layer here.

@dittaeva
Copy link
Collaborator Author

Has this been reported to OpenLayers? Could it be related to this issue? I suppose this is the commit with the new behaviour.

@lonvia
Copy link
Collaborator

lonvia commented Dec 3, 2012

The new DB-based tile server returns empty tiles instead of 404s. This should solve this issue.

@lonvia lonvia closed this as completed Dec 3, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants