X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/fb4d003ebee8842ace3807bb1a60b9b36d94723e..e3b8b8933044104bb515d34c3d36851caba78ac7:/app/views/site/index.html.erb diff --git a/app/views/site/index.html.erb b/app/views/site/index.html.erb index c0f783499..a61baca81 100644 --- a/app/views/site/index.html.erb +++ b/app/views/site/index.html.erb @@ -114,9 +114,7 @@ else end %> - - - +<%= javascript_include_tag '/openlayers/OpenLayers.js' %> <%= javascript_include_tag '/openlayers/OpenStreetMap.js' %> <%= javascript_include_tag 'openstreetbugs.js' %> <%= javascript_include_tag 'map.js' %> @@ -141,10 +139,10 @@ end map.dataLayer.events.register("visibilitychanged", map.dataLayer, toggleData); map.addLayer(map.dataLayer); - map.osbLayer = new OpenLayers.Layer.OpenStreetBugs("OpenStreetBugs", { + map.osbLayer = new OpenLayers.Layer.OpenStreetBugs("Notes", { serverURL: "/api/0.6/", - iconOpen: new OpenLayers.Icon("<%= image_path "open_bug_marker.png" %>", new OpenLayers.Size(22, 22), new OpenLayers.Pixel(-11, -11)), - iconClosed: new OpenLayers.Icon("<%= image_path "closed_bug_marker.png" %>", new OpenLayers.Size(22, 22), new OpenLayers.Pixel(-11, -11)), + iconOpen: new OpenLayers.Icon("<%= image_path "open_note_marker.png" %>", new OpenLayers.Size(22, 22), new OpenLayers.Pixel(-11, -11)), + iconClosed: new OpenLayers.Icon("<%= image_path "closed_noe_marker.png" %>", new OpenLayers.Size(22, 22), new OpenLayers.Pixel(-11, -11)), readonly: false, setCookie: false, permalinkURL: "http://www.openstreetmap.org/",