mirror of
https://github.com/openseadragon/openseadragon.git
synced 2024-11-22 05:06:09 +03:00
7552806a47
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. |
||
---|---|---|
.. | ||
collections | ||
m2 | ||
basic.html | ||
constrainedpan.html | ||
coordinates.html | ||
cropping-polygons.html | ||
customheaders.html | ||
customnavigatorlocation.html | ||
fitboundswithconstraints.html | ||
flipping.html | ||
iframe-embed.html | ||
iframe-host.html | ||
iiif-sizes.html | ||
iiif-tiled-sf1.html | ||
iiif.html | ||
item-animation.html | ||
layers.html | ||
legacy.html | ||
memorycheck-with-simple-image.html | ||
memorycheck.html | ||
overlay.html | ||
setdebugmode.html | ||
tilesource-swap.html | ||
timeout-certain.html | ||
timeout-unlikely.html | ||
zoomify.html |