X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/00375024263970a43ea7d39e3c65dfd0f32e8869..3fb931f9a86955faa39bec1fa4f2a731cbc74780:/app/views/browse/_map.html.erb
diff --git a/app/views/browse/_map.html.erb b/app/views/browse/_map.html.erb
index 8c28644b1..f694d0464 100644
--- a/app/views/browse/_map.html.erb
+++ b/app/views/browse/_map.html.erb
@@ -2,7 +2,7 @@
- <% if map.instance_of? Changeset or (map.instance_of? Node and map.version > 1) or map.visible %>
+ <% if map.instance_of? Changeset or (map.instance_of? Node and map.version > 1) or map.visible? %>
<% content_for :head do %>
<%= javascript_include_tag "browse" %>
@@ -23,7 +23,7 @@
data = {
:type => "note",
:lon => map.lon,
- :lon => map.lat
+ :lat => map.lat
}
else
data = {
@@ -39,7 +39,7 @@
<% if map.instance_of? Note -%>
<%= link_to t("browse.map.larger.area"),
- root_path(:note => "yes"),
+ root_path(:notes => "yes"),
:id => "area_larger_map",
:class => "geolink bbox" %>
<% else -%>