</iframe>
<div id="browse_map">
- <% 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" %>
data = {
:type => "note",
:lon => map.lon,
- :lon => map.lat
+ :lat => map.lat
}
else
data = {
<% 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 -%>