]> git.openstreetmap.org Git - rails.git/blobdiff - app/assets/javascripts/openlayers.js.erb
Add a SOTM advert to the sidebar
[rails.git] / app / assets / javascripts / openlayers.js.erb
index 9119a7b43961660b9c4dec2bd4f840c3d2c7a504..ebb9578a3f3b1bc709c9e8b59e2fbbc326d56f94 100644 (file)
@@ -1,6 +1,7 @@
 //= require OpenLayers
 //= require OpenStreetMap
-//= require simplelayerswitcher
+//= require SimpleLayerSwitcher
+//= require SimplePanZoom
 
 OpenLayers.Util.imageURLs = {
     "404.png": "<%= asset_path 'img/404.png' %>",
@@ -29,8 +30,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) {