Commit Graph

1256 Commits

Author SHA1 Message Date
thejohnhoffer
3eee34a0f2 count tiledImage._tilesLoading 2016-11-04 17:37:48 -04:00
Edminsson
04eafa9275 Edge smoothing and IE8 #1063 2016-10-31 09:25:13 +01:00
Ian Gilman
eb8b9ccd50 Merge pull request #1006 from avandecreme/master
Tiled image rotation
2016-10-26 09:58:12 -07:00
Antoine Vandecreme
4b48717010 Rollback sketchCanvas scaling when tiled image rotated 2016-10-25 21:41:42 +02:00
Antoine Vandecreme
5ac1502ccd Take pixelDensityRatio into account when rotating 2016-10-24 22:03:31 +02:00
Antoine Vandecreme
b992d54572 Fix jshint error 2016-10-24 21:34:29 +02:00
Ian Gilman
73bea928c5 Merge pull request #1056 from awagner-mainz/awagner-mainz-no_prior_filetype_check
Update legacytilesource.js
2016-10-24 10:07:51 -07:00
Antoine Vandecreme
a9b60057ea Fix wrapping. 2016-10-23 22:25:16 +02:00
Antoine Vandecreme
77310b0229 Remove TODO 2016-10-23 18:25:14 +02:00
Antoine Vandecreme
5bfccec7a3 Disable tile edge smoothing with tiled image rotation 2016-10-23 17:45:39 +02:00
Ian Gilman
6878bc8771 Merge pull request #1041 from zakharov-aa/master
IE8 fix for tileSources type: 'image'
2016-10-21 09:34:56 -07:00
Andreas Wagner
e50beb435b Update legacytilesource.js
Remove check for filetype based on uri or mimetype strings (maybe the filetype is not known before actually downloading the resource).
2016-10-20 11:32:13 +02:00
Ian Gilman
5c538c0967 Merge pull request #1035 from adgoncal/patch-2
Fix IndexSizeError on IE and Edge #1033
2016-10-10 17:07:18 -07:00
Antoine Vandecreme
cca6b47fc0 Fix TileSource.getTileAtPoint 2016-10-09 14:05:22 +02:00
Antoine Vandecreme
2821c8f67b Partialy fix edge smoothing. 2016-10-06 22:18:32 +02:00
zakharov-aa
ffa4bbc8df IE8 naturalWidth and naturalHeight more clear fix 2016-09-28 10:39:20 +03:00
zakharov-aa
c5ad9b25bf IE8 fix for tileSources type: 'image' 2016-09-28 09:40:28 +03:00
A
e38c53ff31 Use canvas instead of sketchCanvas 2016-09-23 16:19:08 -04:00
A
c24e8ceedf Fix IndexSizeError on IE and Edge #1033
Internet Explorer and Microsoft Edge throw IndexSizeError when you call context.drawImage with negative x or y or width or height greater than the canvas width or height respectively.
2016-09-23 15:57:35 -04:00
Ryan Lester
861f4bdcd1 Comment fixes 2016-09-22 23:01:33 -04:00
Ryan Lester
0d4e17b627 Use the squared distance when comparing tiles.
This drops a Math.sqrt calculation from every tile iterated over while
drawing, improving performance.
2016-09-05 19:09:44 -04:00
Ian Gilman
52fd82d4be Changelog and tweak for #995 2016-09-01 10:02:42 -07:00
Ian Gilman
bde239d389 Merge pull request #995 from chrishonselaar/patch-1
this.tileSize undefined in this scope
2016-09-01 09:56:09 -07:00
Ian Gilman
192c0e5c36 Changelog and tweak for #863 2016-08-29 10:45:28 -07:00
Ian Gilman
1f75fb8d0a Merge pull request #863 from foobarable/master
Added first version of zoomifytilesource.js
2016-08-29 10:42:32 -07:00
Antoine Vandecreme
62c96ebad7 Add clip-change event. 2016-08-28 14:39:14 +02:00
Antoine Vandecreme
33332bf774 Set rotation around center and fix typo. 2016-08-28 13:39:26 +02:00
Antoine Vandecreme
eaddc1c33b Merge branch 'master' of https://github.com/openseadragon/openseadragon 2016-08-28 12:14:49 +02:00
Antoine Vandecreme
2e3f57401f Fix tiles missing with rotation + rotate around center 2016-08-28 12:10:35 +02:00
Simon Green
198e5b3461 Fix #1013
tiledImage. _needsDraw flag was only being set to true once the tile had been loaded which effectively made the initial tile loading sequential
2016-08-25 13:44:12 -06:00
Antoine Vandecreme
f0cb707ff2 Improve code readability 2016-08-21 19:24:40 +02:00
Antoine Vandecreme
9e69462405 Merge branch 'master' of https://github.com/openseadragon/openseadragon 2016-08-21 13:16:38 +02:00
Antoine Vandecreme
a9f5e7ec73 Add unit test and fix code review comments. 2016-08-21 12:54:33 +02:00
Antoine Vandecreme
65b59c08d6 First draft of tiled image rotation. 2016-08-17 15:43:08 +02:00
Ian Gilman
e7da167c4e Merge pull request #837 from openseadragon/loaded
Added "fully-loaded" event to TiledImage
2016-08-16 09:44:46 -07:00
Sebastian Öberg
77726a684f Use control anchor configuration for custom toolbar also 2016-08-15 13:54:10 +02:00
Rick Burgstaler
dde379ba12 Make tileSources option smarter about detecting when a json string or xml string has been passed in
The tileSources option was only using a test looking for the presence of a "{", "[", or "<" character to determine if a json string or xml string was passed in.  It is possible for a url to contain one of these characters as well which would break using the url as a tileSources parameter.  The following is an example of a breaking url:
http://myurl.org/{25fb14f0-a839-4c4d-8c97-dd1d67b2cb35}/MyImage.xml

This patch resolves this issue.
2016-08-10 14:30:10 -05:00
Ian Gilman
23b955c6b4 Updated with improved API 2016-08-10 10:35:08 -07:00
Ian Gilman
03b2a86a9d Merge branch 'master' into loaded 2016-08-10 09:49:59 -07:00
Chris Honselaar
0b28b5f152 this.tileSize undefined in this scope 2016-08-04 16:02:48 +02:00
Ralph Krimmel
0d9e2e8b96 Adding a comment describing the format 2016-08-01 09:39:54 +02:00
VoidVolker
41c82c88a9 [-] remove ref to getTileAtPoint - becasue this are subclass of TileSource 2016-07-29 20:45:57 +03:00
VoidVolker
eb799bdc70 [=] fix for image source type image and in legacytilesource 2016-07-29 20:36:05 +03:00
VoidVolker
ecebc3305f [=] Dropped useless calculations 2016-07-29 12:41:25 +03:00
VoidVolker
2bcc1aa0f4 [=] Wrap fix for #555
1. Fix for horizontal and vertical wrap. Problem was in
`getTileAtPoint`: it was working only for points inside viewer - thanks
to @avandecreme for finding this.
2. Was small bug in not rendering top row and left column - after scroll
there are empty space and need some time for rendering.
2016-07-29 01:33:48 +03:00
Ian Gilman
469341094d Merge pull request #981 from LarissaSmith/master
Added an option to addTiledImage to change the crossOriginPolicy.
2016-07-28 10:15:25 -07:00
Larissa Smith
4ccabe78de Passed options.crossOriginPolicy into getTileSource. Also changed checks on crossOriginPolicy to compare to undefined, and added tests for the addTiledImage crossOriginPolicy api. 2016-07-28 09:35:43 -06:00
Artem Kozlov
9ef153ca53 Add support for commonjs. 2016-07-25 20:35:49 +02:00
Larissa Smith
1e0ddcedc1 Added an option to addTiledImage to change the crossOriginPolicy. addTiledImage will also check the tileSource for crossOriginPolicy. 2016-07-21 10:26:02 -06:00
Sebastian Öberg
fb5e628add Moved setting of withCredentials to after the request is opened to fix IE 10 bug. 2016-06-22 14:34:21 +02:00