X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/4fb53e9619c97a62fb9ff38eab399b400a18e510..52e5fa6ad78f375cec5a207a123a4aa3939c8ddf:/app/assets/javascripts/openlayers.js.erb diff --git a/app/assets/javascripts/openlayers.js.erb b/app/assets/javascripts/openlayers.js.erb index 70633d0ce..c428da014 100644 --- a/app/assets/javascripts/openlayers.js.erb +++ b/app/assets/javascripts/openlayers.js.erb @@ -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) {