X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/b2b6892a4553eeaa8d601737dee440eba0c6d6a6..f42111e2025edc04fe8440eab10aa6b737754288:/app/views/site/index.rhtml diff --git a/app/views/site/index.rhtml b/app/views/site/index.rhtml index fb5327b81..670f10a20 100644 --- a/app/views/site/index.rhtml +++ b/app/views/site/index.rhtml @@ -5,72 +5,61 @@ -
- - + function init(){ - -<% unless @user %> -
- We're trialing adverts to support the project. Login and they go away. -
- <% end %> + map.addControl(new OpenLayers.Control.LayerSwitcher()); + map.setCenter(new OpenLayers.LonLat(lon, lat), zoom); - +init(); +// --> +