Opened 15 years ago

Closed 13 years ago

#113 closed defect (fixed)

Tiles are downloaded unnecessarily when dragging

Reported by: erik@… Owned by: writetodan@…
Priority: critical Milestone:
Component: applet Version:
Keywords: dragging, tiles, bandwidth Cc:

Description

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.

Change History (5)

comment:1 Changed 15 years ago by erik@…

Priority: majorcritical

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.

comment:2 Changed 15 years ago by Thomas Walraet

Javascript viewer has exactly the same problem.

comment:3 Changed 14 years ago by crschmidt@…

Is this also the case in the new OpenLayers? viewer?

comment:4 Changed 13 years ago by writetodan@…

Owner: changed from steve@… to writetodan@…

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).

comment:5 Changed 13 years ago by writetodan@…

Resolution: fixed
Status: newclosed

fix deployed to www

Note: See TracTickets for help on using tickets.