]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/site/index.html.erb
Mass rename of "bugs" as "notes" for increased user friendliness
[rails.git] / app / views / site / index.html.erb
index c0f783499ec037b9055e06408f93f156022066ce..a61baca811fb8e0b590ecf566fbb40c0d7d7288a 100644 (file)
@@ -114,9 +114,7 @@ else
 end
 %>
 
-<!--Use stock OpenLayers for now, as the OSM one is missing some needed classes-->
-<script src="http://www.openlayers.org/api/OpenLayers.js"></script>
-<!-- < %= javascript_include_tag '/openlayers/OpenLayers.js' % > -->
+<%= 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/",