X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/5f0c590c32565ffb807699df02c7ce8392513210..3b1f455dd9c7b64933f952350081728458d190a1:/app/views/site/index.html.erb?ds=sidebyside diff --git a/app/views/site/index.html.erb b/app/views/site/index.html.erb index 3e4c4d996..25f0c8585 100644 --- a/app/views/site/index.html.erb +++ b/app/views/site/index.html.erb @@ -128,14 +128,6 @@ end function mapInit(){ map = createMap("map"); - <% unless STATUS == :api_offline or STATUS == :database_offline %> - map.dataLayer = new OpenLayers.Layer("<%= I18n.t 'browse.start_rjs.data_layer_name' %>", { - visibility: false, - displayInLayerSwitcher: false - }); - map.addLayer(map.dataLayer); - <% end %> - <% unless object_zoom %> <% if bbox %> var bbox = new OpenLayers.Bounds(<%= minlon %>, <%= minlat %>, <%= maxlon %>, <%= maxlat %>);