[OSM-dev] Informationfreeway
Sebastian Spaeth
Sebastian at SSpaeth.de
Tue Aug 7 16:46:51 BST 2007
On Tue, Aug 07, 2007 at 01:59:29PM +0100, 80n wrote:
> While you are working on the configuration of the web-server, is there
> anything that can be done about the [Error] tiles and black tiles that are
> visible here?
> http://www.informationfreeway.org/?lat=84.63876259044923&lon=179.86915921767266&user=80n&zoom=2&layers=B000F000
>
> The [Error] tiles are generated when the slippy map requests a tile with
> y=-1 and the black tiles when x is too large. I tried fixing OpenLayers to
> not request tiles outside the required area, but that seemed to mess up
> permalinks and ctrl+drag zooming so I backed out much changes.
I agree, that looks ugly as hell.
Sure, I made the regexp recognize negative numbers as well, so the error tiles are gone. We have now black tiles above and to the right of the map, as those are send back for "invalid" coordinates (too big/small x,y,z). However that is totally configurable what we send back in that case, would you prefer a completely transparent tile? Should it continue to be black? Shouldn't we send back anything at all but rather reply with a standard 404 not found?
I'm open for suggestions on this one.
spaetz
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 186 bytes
Desc: not available
URL: <http://lists.openstreetmap.org/pipermail/dev/attachments/20070807/8e60bba6/attachment.pgp>
More information about the dev
mailing list