//= require OpenLayers
//= require OpenStreetMap
+//= require SimpleLayerSwitcher
+//= require SimplePanZoom
OpenLayers.Util.imageURLs = {
"404.png": "<%= asset_path 'img/404.png' %>",
"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) {
return OpenLayers.Util.imageURLs[image] || OpenLayers.Util.origGetImageLocation(image);
};
+
+OpenLayers.Lang.setCode($('html').attr('lang'));