[openstreetmap-website] First pass at diary mapping (#219)

Mikel Maron notifications at github.com
Fri Mar 22 22:17:40 UTC 2013


Pulls links to OSM objects out of diary body text, and builds up small map displaying features. 
![Screenshot from 2013-03-22 18:17:14](https://f.cloud.github.com/assets/22896/293025/499051c4-933e-11e2-8b44-b5396f6b2234.png)

You can merge this Pull Request by running:

  git pull https://github.com/mikelmaron/openstreetmap-website master

Or you can view, comment on it, or merge it online at:

  https://github.com/openstreetmap/openstreetmap-website/pull/219

-- Commit Summary --

  * Added a map to the Changeset listing page. Mouseover on the box or the table row highlights both.
  * Added a map to the Changeset listing page. Mouseover on the box or the table row highlights both.
  * Merge remote-tracking branch 'upstream/master'
  * moved up search box
  * friends changesets
  * Merge remote-tracking branch 'upstream/master'
  * Merge remote-tracking branch 'upstream/master'
  * Changesets by nearby users
  * Merge remote-tracking branch 'upstream/master'
  * Merge remote-tracking branch 'upstream/master'
  * Merge remote-tracking branch 'upstream/master'
  * scan diary entry body for osm feature refs, and display map

-- File Changes --

    M app/assets/javascripts/browse.js (59)
    M app/controllers/diary_entry_controller.rb (20)
    A app/views/changeset/_changeset_map_add.html.erb (8)
    M app/views/diary_entry/_diary_entry.html.erb (4)
    A app/views/diary_entry/_map.html.erb (47)
    M app/views/diary_entry/view.html.erb (2)

-- Patch Links --

https://github.com/openstreetmap/openstreetmap-website/pull/219.patch
https://github.com/openstreetmap/openstreetmap-website/pull/219.diff

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20130322/bbe9aad6/attachment.html>


More information about the rails-dev mailing list