]> git.openstreetmap.org Git - rails.git/commit
Introducing a new /browse/{node,way,relation,changeset}/{id}/map page
authorÆvar Arnfjörð Bjarmason <avarab@gmail.com>
Sat, 27 Jun 2009 09:30:10 +0000 (09:30 +0000)
committerÆvar Arnfjörð Bjarmason <avarab@gmail.com>
Sat, 27 Jun 2009 09:30:10 +0000 (09:30 +0000)
commit8bc8e537b273e8e260a12f598d77dc4135f9d32c
tree9195f178e9fc848d34c0c590f314bfb4826261e5
parent77f971b79cebeadba302209c71d121a711b722b7
Introducing a new /browse/{node,way,relation,changeset}/{id}/map page
which is slippy map covering the screen showing the map data that is
in the small map at /browse/{node,way,relation,changeset}/{id}.

/browse/{node,way,relation,changeset}/{id} now contains a link to both
"View Larger Map" which has been changed to link to this new map
feature, and "View on main map" which as before links to the area
showing the feature on the main slippy map.

/browse/{node,way,relation,changeset}/{id}/map supports permalinks
using its own hacked version of updateLocation() (which doesn't set a
cookie), but shortlinks are not supported. The Edit/History/Export
links link back to the main map.
app/controllers/browse_controller.rb
app/views/browse/_big_map.html.erb [new file with mode: 0644]
app/views/browse/_map.html.erb
app/views/browse/changeset_map.html.erb [new file with mode: 0644]
app/views/browse/node_map.html.erb [new file with mode: 0644]
app/views/browse/relation_map.html.erb [new file with mode: 0644]
app/views/browse/way_map.html.erb [new file with mode: 0644]
config/locales/en.yml
config/locales/is.yml
config/routes.rb