Skip to content
This repository was archived by the owner on Jul 24, 2021. It is now read-only.
This repository was archived by the owner on Jul 24, 2021. It is now read-only.

Clicking "Hide areas" on the data panel breaks the slippy map ending up at NaN zoom #4947

Closed
@openstreetmap-trac

Description

@openstreetmap-trac

Reporter: Deanna Earley
[Submitted to the original trac issue database at 1.04pm, Tuesday, 13th August 2013]

Looking at some data around Botley (http://www.openstreetmap.org/#map=18/50.91446/-1.27131&layers=N) I zoomed in, enabled the data panel, clicked "Hide areas", after which, the vector data wouldn't be shown, any attempt to zoom failed, and on a refresh, the map view stayed blank.
The cookie had a coordinate of NaN stored.
To recover, I had to use the "current location" button.

This was reproducible 3 times in a row on IE9 on Windows 7, but does not occur on IE10 on Windows 8.

I'll confirm again and get exact step when I'm next on that machine.

Activity

openstreetmap-trac

openstreetmap-trac commented on Jul 23, 2021

@openstreetmap-trac
Author

Author: pnorman
[Added to the original trac issue at 9.02pm, Tuesday, 13th August 2013]

Confirmed on IE 9.0.8112.16421 with update versions 9.0.18 on a just updated Windows 7. No attempt to diagnose, just confirming.

openstreetmap-trac

openstreetmap-trac commented on Jul 23, 2021

@openstreetmap-trac
Author

Author: Deanna Earley
[Added to the original trac issue at 9.04pm, Tuesday, 13th August 2013]

Seems to work OK on IE10 on Win7 too.

openstreetmap-trac

openstreetmap-trac commented on Jul 23, 2021

@openstreetmap-trac
Author

Author: Deanna Earley
[Added to the original trac issue at 8.41am, Thursday, 15th August 2013]

Just tested again with a much simplified:

  1. visit this URL: http://www.openstreetmap.org/#map=19/50.91423/-1.33659&layers=D
  2. Press "Hide areas"

After this, it shows the updated list of objects, but no outlines.
Attempting to pan changes the scale to sub 1metre/1foot, and the anchor text disappears.
Zooming then "loses" the tiles.
Panning again then changes the scale to 3000000km/2000000miles.
Refreshing at this point leaves it at the same scale with still no tiles.

Looking at the cookies, _osm_location has a value of "-180%7C-90%7CNaN%7CMD"

The page is being rendered in IE9 standards mode.

This is all reproducable on demand using IE 9.0.8.8112.16421, with update KB2846071 (9.0.18) On Windows 7 Service Pack 1.

openstreetmap-trac

openstreetmap-trac commented on Jul 23, 2021

@openstreetmap-trac
Author

Author: TomH
[Added to the original trac issue at 11.32pm, Thursday, 15th August 2013]

Fixed by John in [changeset:c919340/rails].

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

    Development

    No branches or pull requests

      Participants

      @openstreetmap-trac

      Issue actions

        Clicking "Hide areas" on the data panel breaks the slippy map ending up at NaN zoom · Issue #4947 · openstreetmap/trac-tickets