[openstreetmap-website] Fixing incorrectly shown nodes on browse/* maps (#283)
Martin Raifer
notifications at github.com
Tue May 14 11:04:16 UTC 2013
Previously, tagged nodes of ways were shown on browse/way and browse/relation pages.
Now, nodes are not shown on browse/way pages and only nodes which are direct members of the relation are shown on browse/relation pages.
This depends on a some [modifications](https://github.com/jfirebaugh/leaflet-osm/pull/1) of the leaflet-osm plugin.
Use the following relation as a test-bench: http://master.apis.dev.openstreetmap.org/browse/relation/4294968148
wrong:
![wrong](https://f.cloud.github.com/assets/1927298/500911/9d0fa47e-bc85-11e2-96af-ec12aafa5ea3.png)
correct:
![right](https://f.cloud.github.com/assets/1927298/500915/c6439242-bc85-11e2-8c23-bac9f56a721d.png)
You can merge this Pull Request by running:
git pull https://github.com/tyrasd/openstreetmap-website browse_map
Or you can view, comment on it, or merge it online at:
https://github.com/openstreetmap/openstreetmap-website/pull/283
-- Commit Summary --
* fixing map on browse/* pages
-- File Changes --
M app/assets/javascripts/map.js.erb (13)
-- Patch Links --
https://github.com/openstreetmap/openstreetmap-website/pull/283.patch
https://github.com/openstreetmap/openstreetmap-website/pull/283.diff
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20130514/cc0ab3a9/attachment.html>
More information about the rails-dev
mailing list