Load the 404 tile through the URL rewriter
authorTom Hughes <tom@compton.nu>
Fri, 30 Dec 2011 22:19:45 +0000 (22:19 +0000)
committerTom Hughes <tom@compton.nu>
Fri, 30 Dec 2011 22:19:45 +0000 (22:19 +0000)
vendor/assets/openlayers/OpenStreetMap.js

index 68620dacb3ecbe520ee829e2ce15ce1886b1e6bd..3b79d4117abb8ac539941a7e70f751e5201f5345 100644 (file)
@@ -7,7 +7,7 @@ OpenLayers.Util.OSM = {};
  * Constant: MISSING_TILE_URL
  * {String} URL of image to display for missing tiles
  */
  * Constant: MISSING_TILE_URL
  * {String} URL of image to display for missing tiles
  */
-OpenLayers.Util.OSM.MISSING_TILE_URL = "http://www.openstreetmap.org/openlayers/img/404.png";
+OpenLayers.Util.OSM.MISSING_TILE_URL = OpenLayers.Util.getImageLocation("404.png");
 
 /**
  * Property: originalOnImageLoadError
 
 /**
  * Property: originalOnImageLoadError