From: Tom Hughes Date: Wed, 8 Apr 2009 23:44:43 +0000 (+0000) Subject: Add a mini map to the changeset view in the data browser. X-Git-Tag: live~8121^2~33 X-Git-Url: https://git.openstreetmap.org./rails.git/commitdiff_plain/1262b376ef56da9f5b8ec6cfd708620069f0ff87 Add a mini map to the changeset view in the data browser. --- diff --git a/app/views/browse/_map.rhtml b/app/views/browse/_map.rhtml index ad2d2d307..d972104ba 100644 --- a/app/views/browse/_map.rhtml +++ b/app/views/browse/_map.rhtml @@ -2,7 +2,7 @@ <%= javascript_include_tag '/openlayers/OpenStreetMap.js' %> <%= javascript_include_tag 'map.js' %> - <% if map.visible %> + <% if map.instance_of? Changeset or map.visible %>
Loading... @@ -13,6 +13,25 @@