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~8322 X-Git-Url: https://git.openstreetmap.org/rails.git/commitdiff_plain/bea82b27ba363b1ac26f9486c4b6c472ecee8069?ds=inline 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 {