]> git.openstreetmap.org Git - rails.git/commitdiff
Use local files rather than remote ones for osb images
authorKai Krueger <kakrueger@gmail.com>
Thu, 21 Apr 2011 14:01:23 +0000 (08:01 -0600)
committerKai Krueger <kakrueger@gmail.com>
Thu, 21 Apr 2011 14:01:23 +0000 (08:01 -0600)
app/views/site/index.html.erb

index 7450eb2bae5ff10ecbe069d2998d4178c423faed..633a7ba3b0c9ee1edbdf7e2408c58af6ef03ea6e 100644 (file)
@@ -144,14 +144,14 @@ end
 
       map.osbLayer = new OpenLayers.Layer.OpenStreetBugs("OpenStreetBugs", {
           serverURL : "/api/0.6/",
-          iconOpen : new OpenLayers.Icon("http://openstreetbugs.schokokeks.org/client/open_bug_marker.png", new OpenLayers.Size(22, 22), new OpenLayers.Pixel(-11, -11)),
-          iconClosed : new OpenLayers.Icon("http://openstreetbugs.schokokeks.org/client/closed_bug_marker.png", new OpenLayers.Size(22, 22), new OpenLayers.Pixel(-11, -11)),
+          iconOpen : new OpenLayers.Icon("/images/open_bug_marker.png", new OpenLayers.Size(22, 22), new OpenLayers.Pixel(-11, -11)),
+          iconClosed : new OpenLayers.Icon("/images/closed_bug_marker.png", new OpenLayers.Size(22, 22), new OpenLayers.Pixel(-11, -11)),
           readonly : false,
           setCookie : false,
           cookieLifetime : 1000, 
           cookiePath : "/my/map/", 
           permalinkURL : "http://www.openstreetmap.org/", 
-          theme : "http://osm.cdauth.de/map/openstreetbugs.css" 
+          theme : "/stylesheets/openstreetbugs.css" 
       });
 
       map.addLayer(map.osbLayer);