From: Tom Hughes Date: Tue, 14 Aug 2007 10:05:36 +0000 (+0000) Subject: Return a pointer to the 404 tile for out of bounds latitudes. X-Git-Tag: live~8187 X-Git-Url: https://git.openstreetmap.org/rails.git/commitdiff_plain/bea82b27ba363b1ac26f9486c4b6c472ecee8069?hp=deb3c74fc7e527098e206af342d27010617968f2 Return a pointer to the 404 tile for out of bounds latitudes. --- diff --git a/public/javascripts/map.js b/public/javascripts/map.js index a48e71077..4816f762b 100644 --- a/public/javascripts/map.js +++ b/public/javascripts/map.js @@ -41,7 +41,7 @@ function getTileURL(bounds) { if (y < 0 || y >= limit) { - return null; + return OpenLayers.Util.getImagesLocation() + "404.png"; } else {