[OpenStreetMap] #4945: Manual editing of permalink in address bar broken

OpenStreetMap trac at noreply.openstreetmap.org
Mon Aug 12 16:20:58 UTC 2013


#4945: Manual editing of permalink in address bar broken
--------------------------------------------+-------------------------
 Reporter:  MHohmann                        |      Owner:  rails-dev@…
     Type:  defect                          |     Status:  new
 Priority:  major                           |  Milestone:
Component:  website                         |    Version:
 Keywords:  permalink, address bar, layers  |
--------------------------------------------+-------------------------
 I'm using Firefox 23.0 on Ubuntu 12.04 and encountered the following
 problem:

 1. I navigate to http://www.openstreetmap.org and zoom into some area.
 2. In the address bar I get a permalink, say this one:
 http://www.openstreetmap.org/#map=8/58.898/25.587
 3. I switch to the traffic map and the link changes like this:
 http://www.openstreetmap.org/#map=8/58.898/25.587&layers=T
 4. I remove the "&layers=T" part in the adress bar and hit Enter, thus
 reproducing the permalink I had there before.
 5. I do _not_ get to the previous view / Mapnik layer, but instead the
 traffic map stays and the "&layers=T" in the address bar reappears.

 Alternative:
 4. I change the "&layers=T" to "&layers=C" (permalink to the cycle map).
 5. I do _not_ get to the cycle map, but instead the traffic map stays. The
 "&layers=C" and the "&layers=T" in the address bar reappears as soon as I
 change the map area.

 Expected behaviour: Entering a new permalink in the address bar should
 navigate to whatever that permalink describes.

 Actual behaviour: Entering those permalinks has no effect and the changes
 in the address bar are reverted.

-- 
Ticket URL: <https://trac.openstreetmap.org/ticket/4945>
OpenStreetMap <http://www.openstreetmap.org/>
OpenStreetMap is a free editable map of the whole world



More information about the rails-dev mailing list