[openstreetmap/openstreetmap-website] Add parsing of bare #zoom/lat/lon style hashes (#2098)

JesseWeinstein notifications at github.com
Thu Jan 3 06:52:06 UTC 2019


mapbox-gl-js creates bare hashes without a querystring; this (very small) change will enable OSM to respond correctly to them, if people paste them in by accident.

I've also made a PR for the reverse: https://github.com/mapbox/mapbox-gl-js/pull/7725
You can view, comment on, or merge this pull request online at:

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

-- Commit Summary --

  * Add parsing of bare #zoom/lat/lon style hashes

-- File Changes --

    M app/assets/javascripts/osm.js.erb (25)

-- Patch Links --

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

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/2098
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20190102/b6c8f0a5/attachment.html>


More information about the rails-dev mailing list