osm-gps-map icon indicating copy to clipboard operation
osm-gps-map copied to clipboard

cap max queued tiles

Open nzjrs opened this issue 14 years ago • 0 comments

Yeah, I have had this before, where it goes and calculates a million tiles to download if you try and cache the whole world at all zoom levels.

What do you think a sensible sanity check would be?

what about capping the max-zoom-level at a value where the bounding box contains at most 128 tiles in either dimension? Would cap the queue to 16384 for a perfectly square bounding box (still quite a lot), and it matches the max 7 zoom levels download of foxtrotgps.

nzjrs avatar May 19 '10 05:05 nzjrs