On 8/7/07, <b class="gmail_sendername">Sebastian Spaeth</b> <<a href="mailto:Sebastian@sspaeth.de">Sebastian@sspaeth.de</a>> wrote:<div><span class="gmail_quote"></span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
On Tue, Aug 07, 2007 at 01:59:29PM +0100, 80n wrote:<br><br>> While you are working on the configuration of the web-server, is there<br>> anything that can be done about the [Error] tiles and black tiles that are<br>
> visible here?<br>> <a href="http://www.informationfreeway.org/?lat=84.63876259044923&lon=179.86915921767266&user=80n&zoom=2&layers=B000F000">http://www.informationfreeway.org/?lat=84.63876259044923&lon=179.86915921767266&user=80n&zoom=2&layers=B000F000
</a><br>><br>> The [Error] tiles are generated when the slippy map requests a tile with<br>> y=-1 and the black tiles when x is too large. I tried fixing OpenLayers to<br>> not request tiles outside the required area, but that seemed to mess up
<br>> permalinks and ctrl+drag zooming so I backed out much changes.<br><br>I agree, that looks ugly as hell.<br><br>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?
</blockquote><div><br>I think a transparent tile would be the best response. This will then allow whatever background the client has chosen to show through.<br><br>However, I just looked at the t@h layer on the main OSM site. That appears to display "More OSM coming soon" tiles where infofreeway is displaying black tiles - so maybe I should investigate how that happens before we make any more changes.
<br><br><br> </div><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">I'm open for suggestions on this one.<br><br>spaetz<br><br></blockquote>
</div><br>