]> git.openstreetmap.org Git - rails.git/blobdiff - app/assets/javascripts/openlayers.js.erb
Make sure we don't attach alert handler multiple times
[rails.git] / app / assets / javascripts / openlayers.js.erb
index 70633d0ce2dbca348b76ec25b3d8cb00811ca35d..c428da0147dd73fe535f73f7631d1605d3a47e3d 100644 (file)
@@ -28,6 +28,8 @@ OpenLayers.Util.imageURLs = {
     "zoom-world-mini.png": "<%= asset_path 'img/zoom-world-mini.png' %>"
 };
 
+OpenLayers.Util.OSM.MISSING_TILE_URL = "<%= asset_path 'img/404.png' %>";
+
 OpenLayers.Util.origGetImageLocation = OpenLayers.Util.getImageLocation;
 
 OpenLayers.Util.getImageLocation = function(image) {