X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/8f4ed911e094d359ed630f034b76e02bc8d51705..8e1b0b69086a3beb49f8f9398da231578d5bb35a:/app/assets/javascripts/openlayers.js.erb diff --git a/app/assets/javascripts/openlayers.js.erb b/app/assets/javascripts/openlayers.js.erb index 9119a7b43..b493a0517 100644 --- a/app/assets/javascripts/openlayers.js.erb +++ b/app/assets/javascripts/openlayers.js.erb @@ -1,6 +1,6 @@ //= require OpenLayers //= require OpenStreetMap -//= require simplelayerswitcher +//= require SimpleLayerSwitcher OpenLayers.Util.imageURLs = { "404.png": "<%= asset_path 'img/404.png' %>", @@ -29,8 +29,6 @@ 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) {