[OSM-talk] Informationfreeway defaults to sea if tile unloadable, e.g. due to proxy being unreachable

Sebastian Spaeth Sebastian at SSpaeth.de
Fri Aug 17 12:49:32 BST 2007


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

80n wrote:
> The reason for serving a sea tile on error was to avoid serving black
> tiles around the outside of the map at very low zoom levels (1, 2, 3,...)
> 
> I don't know why, but OpenLayers tries to request tiles with addresses
> like y=-1 if you pan outside the normal boundaries of the planet.  If we
> could fix that then it would be possible to serve up a proper 404 tile
> when there really is a 404.

How about just showing either nothing or a completely transparent 1x1
tile in case of a 404?

Alternatively I could also fix t at h to serve blank tiles for invalid
x,y,z so you can show a big fat "404" tile if there really is a valid
404. Just let me know.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFGxYtMbtVRNeSDtgERApBbAJ0Sh1tvtodGCDpLWT6xMnooy5m9zACglyM5
xgHQrhBjeVABkWp2XdRBcvk=
=erOw
-----END PGP SIGNATURE-----




More information about the talk mailing list