[openstreetmap-website] Routing (#716)

John Firebaugh notifications at github.com
Wed May 14 23:07:19 UTC 2014


PR sent to @systemed's fork: https://github.com/systemed/openstreetmap-website/pull/21

I'm not sure precisely how the history should work when the user updates the route via the various means of doing so (dragging a marker, changing the engine, editing the text field and resubmitting). Right now switching to the directions form pushes a single history entry (`/directions`) and then all other changes use `replaceState`. That feels pretty ok, although maybe resubmitting the form should push a separate history entry, like search does.

---
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/716#issuecomment-43149229
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20140514/47587382/attachment.html>


More information about the rails-dev mailing list