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

Tiles are downloaded unnecessarily when dragging #113

Closed
openstreetmap-trac opened this issue Jul 23, 2021 · 5 comments
Closed

Tiles are downloaded unnecessarily when dragging #113

openstreetmap-trac opened this issue Jul 23, 2021 · 5 comments

Comments

@openstreetmap-trac
Copy link

Reporter: erik[at]tiq.com
[Submitted to the original trac issue database at 10.55pm, Wednesday, 28th December 2005]

By downloaded I mean, that this shows up in the java console:
Trying to download image http://www.openstreetmap.org/tile/0.1/wms?map=......
adding image 1538,14391

When using the drag function it seems like the applet is downloading lots of unnecessary tiles. Tiles are downloaded even though I'm not watching that place anymore. It seems like it is downloading every tile to touch my view screen, so even though I've moved past it it is still downloaded.

@openstreetmap-trac
Copy link
Author

Author: erik[at]tiq.com
[Added to the original trac issue at 1.56am, Thursday, 29th December 2005]

This is a real problem, the applet gets really swamped of downloading tiles when you drag around. If I open up a second applet it will be able to load all its tiles before the one that was being dragged has started downloading the currently visible tiles.

@openstreetmap-trac
Copy link
Author

Author: thomas[at]walraet.com
[Added to the original trac issue at 11.32pm, Tuesday, 17th January 2006]

Javascript viewer has exactly the same problem.

@openstreetmap-trac
Copy link
Author

Author: crschmidt[at]crschmidt.net
[Added to the original trac issue at 11.45pm, Saturday, 25th November 2006]

Is this also the case in the new OpenLayers viewer?

@openstreetmap-trac
Copy link
Author

Author: writetodan[at]yahoo.com
[Added to the original trac issue at 9.42am, Saturday, 17th February 2007]

This is due to some fairly fundamental code problems (Tile.removeUnusedTiles logic, threading problems, single-threaded tile download, re-draw request swamping).

I've implemented some fixes locally but am still testing before upload (good news is it seems several times faster and more responsive).

@openstreetmap-trac
Copy link
Author

Author: writetodan[at]yahoo.com
[Added to the original trac issue at 8.51pm, Wednesday, 14th March 2007]

fix deployed to www

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant