[openstreetmap-website] Restore display of bbox on the map when box=yes in URL (#650)
Robert Whittaker
notifications at github.com
Tue Dec 10 14:26:24 UTC 2013
As per https://trac.openstreetmap.org/ticket/5055 , this pull request attempts to restore the previous functionality of displaying a rectangle to outline the bounding box when box=yes is present in the URL query string along with a set of bounding-box coordinates.
You can merge this Pull Request by running:
git pull https://github.com/rjw62/openstreetmap-website master
Or you can view, comment on it, or merge it online at:
https://github.com/openstreetmap/openstreetmap-website/pull/650
-- Commit Summary --
* Display bbox if called for
* Move bounds setup out of map starting position conditionals
* Check for box=yes to set bbox drawing
-- File Changes --
M app/assets/javascripts/index.js (10)
M app/assets/javascripts/osm.js.erb (29)
-- Patch Links --
https://github.com/openstreetmap/openstreetmap-website/pull/650.patch
https://github.com/openstreetmap/openstreetmap-website/pull/650.diff
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20131210/a231bb1f/attachment-0001.html>
More information about the rails-dev
mailing list