[openstreetmap/openstreetmap-website] iD not reloaded when map URL coordinates change (#1468)

Gautier Pelloux-Prayer notifications at github.com
Mon Feb 27 12:13:44 UTC 2017

## Steps

1. Open a location in edit mode via URL ([example](http://www.openstreetmap.org/edit#map=14/33.5232/3.4017)).
2. Modify the URL directly by changing coordinates from `14/33.5232/3.4017` to `18/36.16941/0.57501` for instance ([example bis](http://www.openstreetmap.org/edit#map=18/36.16941/0.57501)).

## Expected result

The map view is centered on the new coordinates.

## Actual Result

Nothing is modified/changed.

## Note

This issue **only happens** with `openstreetmap.org/edit` root URL:

- on openstreetmap.org directly, going from http://www.openstreetmap.org/#map=14/33.5232/3.4017 to http://www.openstreetmap.org/#map=18/36.16941/0.57501 moves the map as expected.
- on iD running locally, going from http://localhost:8080/#map=14/33.5232/3.4017 to http://localhost:8080/#map=18/36.16941/0.57501 also moves the map as expected.

This is not specific to coordinates though: if you modify background map in iD for instance, the URL is not updated on openstreetmap.org (while it is on localhost). It seems a bidirectional issue.

You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20170227/5187fadd/attachment.html>

More information about the rails-dev mailing list