These are chat archives for openseadragon/openseadragon

6th
Jun 2017
Sean Nichols
@seanich
Jun 06 2017 00:44
Right, that makes sense. But I don't see how the width of a single tile has any relation to the number of levels in the image. With the current implementation if I have an image with 8 layers and a tile size of 256x256 tiles will never be removed from the cache: https://github.com/openseadragon/openseadragon/blob/master/src/tilecache.js#L184. I guess it would be more appropriate to set the cutoff to TileSource.getClosestLevel?
Ian Gilman
@iangilman
Jun 06 2017 16:21
@seanich Yeah, I'm not sure why it was based on the width either. Switching to getClosestLevel seems like a good choice
Sean Nichols
@seanich
Jun 06 2017 19:39
Okay, great. I submitted a PR to address the issue