]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/site/index.rhtml
gpx rss and gpx cleanups
[rails.git] / app / views / site / index.rhtml
index d6b18346a261a70cf32c5837326b8c8954a5b73f..a7dbd15e3cb972f7b5cdca470a54ce08951e2838 100644 (file)
                        }
             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);