X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/56db9ca2b7e2475cd8025630049fb4a4b824f2d9..1727cd7c2b066a4442f6714be7aa170f4d8c1eef:/app/views/browse/_map.html.erb
diff --git a/app/views/browse/_map.html.erb b/app/views/browse/_map.html.erb
index e0428b4ac..9b82753fb 100644
--- a/app/views/browse/_map.html.erb
+++ b/app/views/browse/_map.html.erb
@@ -1,6 +1,3 @@
-
-
<% if map.instance_of? Changeset or (map.instance_of? Node and map.version > 1) or map.visible? %>
@@ -22,6 +19,7 @@
elsif map.instance_of? Note
data = {
:type => "note",
+ :id => map.id,
:lon => map.lon,
:lat => map.lat
}
@@ -60,7 +58,7 @@
- <% unless map.instance_of? Changeset or map.instance_of? Note %>
+ <% unless map.instance_of? Changeset %>
-
<%= link_to t("browse.map.larger." + map.class.to_s.downcase),