Return a pointer to the 404 tile for out of bounds latitudes.
authorTom Hughes <tom@compton.nu>
Tue, 14 Aug 2007 10:05:36 +0000 (10:05 +0000)
committerTom Hughes <tom@compton.nu>
Tue, 14 Aug 2007 10:05:36 +0000 (10:05 +0000)
public/javascripts/map.js

index a48e71077093496cb5c0b11f985d96b63bdd29dc..4816f762bdf2e2ad4e297838afd6c97c28c36c51 100644 (file)
@@ -41,7 +41,7 @@ function getTileURL(bounds) {
 
    if (y < 0 || y >= limit)
    {
-     return null;
+     return OpenLayers.Util.getImagesLocation() + "404.png";
    }
    else
    {