openseadragon/test/demo
Alistair Buxton 7552806a47 Force reload tiles when the tile's flip doesn't match the image
Flipping an image changes the bounds of each tile. The existing
code assumes that cannot happen. getTile() calculates the tile
bounds the first time it is asked for a particular tile. It then
caches and returns the same time on every subsequent call.

getTile() has a check to test if a tile exists in the cache. If
it does not, the tile is created and inserted. In order to make
tiles be rebuilt after a flip, we only need to check if the tile's
flip matches the image's flip. If not, we can recreate the tile
as if it did not exist.

To make this a bit clearer, the tile's flipped flag is now set
in getTile() rather than positionTile().

This makes setFlip() work.
2021-03-22 06:45:26 +00:00
..
collections Fixed broken defaultZoomLevel and homeFillsViewer options 2015-01-02 11:44:35 -08:00
m2 Added small checks around code to make m2 sample work locally. 2015-08-11 09:24:35 -06:00
basic.html Reverting accidental change to basic.html 2017-05-24 09:40:45 -07:00
constrainedpan.html Some issues solved 2017-02-20 20:23:25 +01:00
coordinates.html Fix coordinates conversion with rotation. 2015-12-11 19:07:23 -05:00
cropping-polygons.html 1540 Remove support for array in the demo UI 2020-02-10 16:19:36 -08:00
customheaders.html Fix format of Range headers 2017-05-08 15:24:55 -04:00
customnavigatorlocation.html Fix issue #1504 2018-08-10 10:23:33 +02:00
fitboundswithconstraints.html More test fixes. 2014-08-19 15:27:04 -07:00
flipping.html Force reload tiles when the tile's flip doesn't match the image 2021-03-22 06:45:26 +00:00
iframe-embed.html Some issues solved 2017-02-20 20:23:25 +01:00
iframe-host.html Some issues solved 2017-02-20 20:23:25 +01:00
iiif-sizes.html Support tile-less IIIF as per LegacyTileSource: Fix #737 2016-01-09 14:04:21 +00:00
iiif-tiled-sf1.html added tests for scaleFactors [1] 2018-02-16 21:14:28 +01:00
iiif.html Support tile-less IIIF as per LegacyTileSource: Fix #737 2016-01-09 14:04:21 +00:00
item-animation.html Added pause and "add more" buttons to animation demo 2014-12-19 15:55:24 -08:00
layers.html Update the source when the base layer change. 2014-01-30 16:59:51 -05:00
legacy.html Support tile-less IIIF as per LegacyTileSource: Fix #737 2016-01-09 14:04:21 +00:00
memorycheck-with-simple-image.html - Undo removing prefixUrl option in memorycheck-with-simple-image demo. 2020-03-23 11:29:07 +09:00
memorycheck.html Fix editorconfig config. 2015-06-11 10:49:32 -04:00
overlay.html Use outline instead of border in overlay demo. 2016-04-01 09:19:40 -04:00
setdebugmode.html Added setDebugMode function to Viewer. 2017-06-19 21:29:41 +01:00
tilesource-swap.html Added demo for TileSource swapping 2015-07-03 10:19:10 -07:00
timeout-certain.html Added HTML tests for ImageJob timeout 2018-09-10 00:58:24 -07:00
timeout-unlikely.html Added HTML tests for ImageJob timeout 2018-09-10 00:58:24 -07:00
zoomify.html Added a demo file for the Zoomify format. 2017-03-13 00:00:00 +01:00