Antoine Vandecreme
352bfbc3a5
Avoid loading clipped out tiles. Fix #889 .
2016-05-13 15:18:37 -04:00
Antoine Vandecreme
0c398eacdb
Add test for fitBounds with a rotated rectangle.
2016-05-10 21:19:33 -04:00
Antoine Vandecreme
e4c29d649b
Remove code duplication in Viewport.applyConstraints.
2016-05-10 18:49:55 -04:00
Antoine Vandecreme
521e020b9a
Viewport getBounds and fitBounds methods now take rotation into account. Fix #924
2016-05-04 22:26:33 -04:00
Antoine Vandecreme
3106d8f85b
Fix viewport.fitBounds tests.
2016-04-23 08:29:32 -04:00
Antoine Vandecreme
e0e6ce9b65
Add unit tests for home bounds with clip.
2016-04-09 18:13:37 -04:00
Antoine Vandecreme
b8c87ddb61
Use Util.assertRectangleEquals
2016-04-09 11:56:34 -04:00
Antoine Vandecreme
686176f821
Add TiledImage.getClippedBounds test.
2016-04-09 11:37:05 -04:00
Antoine Vandecreme
e436fc93fd
Fix test.
2016-04-09 11:23:59 -04:00
Antoine Vandecreme
ea86237a4a
Merge branch 'master' of https://github.com/openseadragon/openseadragon into home-clip
2016-04-09 11:16:16 -04:00
Antoine Vandecreme
9e68f6c27b
Fix home bounds with clipping. Fix #891
2016-04-05 17:51:50 -04:00
Antoine Vandecreme
824dc192bc
Add unit tests for overlays with rotation mode EXACT
2016-04-01 16:54:29 -04:00
Antoine Vandecreme
5f9053fb6e
Fix Overlay.getBounds with BOUNDING_BOX rotation mode.
2016-04-01 15:46:43 -04:00
Antoine Vandecreme
bd62d56a37
Fix Overlays.getBounds with rotation.
2016-04-01 13:29:09 -04:00
Antoine Vandecreme
70b39d681b
Fix viewer.addOverlay and Overlay.getBounds
2016-03-31 13:25:59 -04:00
Antoine Vandecreme
33bd943b7a
Set overlays position and size with floating point values.
2016-03-29 15:29:36 -04:00
Ian Gilman
430804ef16
Merge pull request #888 from avandecreme/fit-in-bounds
...
Add TiledImage.fitInBounds method.
2016-03-24 09:47:15 -07:00
Antoine Vandecreme
a52f4cadc5
Fix TiledImage.fitBounds with clipping.
2016-03-24 11:48:29 -04:00
Antoine Vandecreme
3cacc8edcf
Add fitBounds option to TiledImage constructor.
2016-03-22 16:41:28 -04:00
Antoine Vandecreme
9c461824b3
Update OpenSeadragon.Placement to be serializable.
2016-03-22 15:50:48 -04:00
Antoine Vandecreme
0f82eed0db
Add times parameter to addOnceHandler.
2016-03-22 13:54:35 -04:00
Antoine Vandecreme
e4fca14c33
Add TiledImage.fitInBounds method.
2016-03-21 16:11:50 -04:00
Antoine Vandecreme
d3b027bade
Add addOnceHandler method to EventSource.
2016-03-21 11:27:43 -04:00
Antoine Vandecreme
d18485844d
Fix crash and improve tests..
2016-02-24 19:48:11 -05:00
Antoine Vandecreme
7e3320c167
Fix transparent images clearing the images in backgroumd. Fix #849
2016-02-23 19:37:41 -05:00
Antoine Vandecreme
0725645344
Fix applyConstraints. Fix #833 .
2016-02-15 17:09:31 -05:00
Antoine Vandecreme
18b101ccf5
Fix navigator not rotated when viewport rotation set in constructor.
2016-02-09 19:20:52 -05:00
Gaetano Guerriero
4508405d42
test module for dzitilesource was bad named
2016-02-03 11:30:19 +01:00
Gaetano Guerriero
d3e23a2986
fixed dzitilesource guessing of tilesUrl.
...
Now the regex guessing the root url of tiles works also if the data
url (the url from which information about the tile was downloaded) does
not ends with .dzi, .xml or .js.
2016-02-03 00:27:14 +01:00
Antoine Vandecreme
9dbcd28a5a
English fixes.
2016-01-27 21:49:05 -05:00
Antoine Vandecreme
ea6addb4c8
Add Viewer.addSimpleImage method. Fix #818
2016-01-26 18:02:11 -05:00
Tom Crane
f7c9585003
Support tile-less IIIF as per LegacyTileSource: Fix #737
2016-01-09 14:04:21 +00:00
Hiroaki ENDOH
3524386543
Fix typo
2015-12-25 23:33:07 +09:00
Antoine Vandecreme
4a6d31ae37
Add units conversion with rotation unit tests.
2015-12-12 10:47:12 -05:00
Antoine Vandecreme
1d04ceadff
Fix home bounds with rotation. Fix #567 and #463
2015-12-05 19:18:56 -05:00
Antoine Vandecreme
5e362554e2
Normalize the rectangles
2015-12-05 17:51:21 -05:00
Antoine Vandecreme
fc919ff56d
Make union reasons on bounding boxes.
2015-11-30 20:44:06 -05:00
Antoine Vandecreme
abc1168582
Remove superfluous comment.
2015-11-30 20:18:05 -05:00
Antoine Vandecreme
2e26ae5ff1
Remove Rect options contructor.
2015-11-30 19:11:41 -05:00
Antoine Vandecreme
94186826af
Extend Rect class to support rotation.
2015-11-26 17:25:50 -05:00
Petar Petrov
7406727090
Merge branch 'master' of https://github.com/openseadragon/openseadragon
2015-11-16 16:44:31 +02:00
Ian Gilman
b3b1a32717
Merge pull request #760 from avandecreme/imagetilesource
...
Add ImageTileSource. Fix #467
2015-11-11 10:32:09 -08:00
Antoine Vandecreme
f4f30c2925
Fix race condition in navigator tests.
2015-11-09 19:02:31 -05:00
Petar Petrov
515c15bf98
various fixes for edge smoothing - #755
2015-11-05 16:19:56 +02:00
Antoine Vandecreme
03ed52c5b4
Remove duplicate isCanvasTainted function in tests.
2015-11-04 17:49:13 -05:00
Antoine Vandecreme
c041746366
Add ImageTileSource. Fix #467
2015-11-01 10:23:02 -05:00
Ian Gilman
4e168d734e
Updated tests for #524
2015-10-29 13:31:33 -07:00
Antoine Vandecreme
2c73b0fb44
Use Math.round instead of Math.floor and Math.ceil for overlay placement.
2015-10-09 14:15:54 -04:00
Larissa Smith
7076d64b1b
Fixed race condition for replacing a tiledImage where the world may have changed before the new tiledImage loads. Added test for replacing with addTiledImage.
2015-08-21 11:01:32 -06:00
Antoine Vandecreme
d960c69b34
Replace eval call when passing a Json string.
2015-07-30 16:44:41 -04:00