X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/fb1467a94487cfdfcb19e4f88e05be7aa88096f0..e5f292cf21a5fa72733080a294484e0e4208e0e7:/app/views/site/index.rhtml diff --git a/app/views/site/index.rhtml b/app/views/site/index.rhtml index d6b18346a..a7dbd15e3 100644 --- a/app/views/site/index.rhtml +++ b/app/views/site/index.rhtml @@ -40,8 +40,13 @@ } map = new OpenLayers.Map( "map", {maxExtent: new OpenLayers.Bounds(-20037508.34,-20037508.34,20037508.34,20037508.34), maxResolution:156543, units:'meters', projection: "EPSG:41001"} ); - layer = new OpenLayers.Layer.LikeGoogle( "OSM", "http://artem.dev.openstreetmap.org/osm_tiles/", {type:'png'} ); + layer = new OpenLayers.Layer.LikeGoogle( "Mapnik", "http://artem.dev.openstreetmap.org/osm_tiles/", {type:'png'} ); map.addLayer(layer); + layer = new OpenLayers.Layer.LikeGoogle( "Osmarender", "http://osmathome.bandnet.org/Tiles/", {type:'png'} ); + map.addLayer(layer); + layer = new OpenLayers.Layer.WMS( "Mapnik WMS-C", "http://labs.metacarta.com/wms-c/Basic.py?", {layers:'osm-merc'}); + map.addLayer(layer); + map.addControl(new OpenLayers.Control.LayerSwitcher()); map.setCenter(new OpenLayers.LonLat(lon, lat), zoom);