From: Tom Hughes Date: Fri, 30 Dec 2011 22:19:45 +0000 (+0000) Subject: Load the 404 tile through the URL rewriter X-Git-Tag: live~5924 X-Git-Url: https://git.openstreetmap.org/rails.git/commitdiff_plain/283f4b922c58467bbae95813900e8d6661c26509?ds=sidebyside Load the 404 tile through the URL rewriter --- diff --git a/vendor/assets/openlayers/OpenStreetMap.js b/vendor/assets/openlayers/OpenStreetMap.js index 68620dacb..3b79d4117 100644 --- a/vendor/assets/openlayers/OpenStreetMap.js +++ b/vendor/assets/openlayers/OpenStreetMap.js @@ -7,7 +7,7 @@ OpenLayers.Util.OSM = {}; * 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