Andrew Hankinson
1b777c9e62
Fixed: remove redundant checks
...
Also fixes a JSDoc error for annotating optional parameters.
2022-06-18 15:16:48 +02:00
Andrew Hankinson
d35c0a6385
Fixed: Updated configure comment
...
Updated comment to make it clear that it's a static method. Also updated the example
to IIIF v2, since that's more widely used than v1.1.
2022-06-17 10:34:31 +02:00
Andrew Hankinson
86dabe624b
Revert changes to ID field in configure
2022-06-17 10:23:13 +02:00
Andrew Hankinson
820564dd3e
Fixed: normalize ID property for IIIF tile source
...
This commit attempts to normalize all possible values of the "id" property for IIIF tile sources
into a single internal _id property.
2022-06-16 12:55:21 +02:00
Andrew Hankinson
6eeccb530b
Fixed: ID field parsing on IIIF tile sources
...
The IIIF specification allows for the ID field to be either with or without
an "@" prefix for IIIFv3. (See: https://iiif.io/api/image/3.0/ ) Currently OSD
will fail to parse an image block that uses the non-prefixed form.
This PR changes the IIIF tile source parsing to allow for both forms of the
`id` key.
2022-06-14 08:57:00 +02:00
Ian Gilman
f31179c9ce
Updated copyright to 2022
2022-06-08 15:02:29 -07:00
Ian Gilman
51e3ea7fa0
Changelog for #2072 and minor comment style change
2022-01-21 11:57:14 -08:00
Jirka
63ecaafa51
Update documentation to be more explicit about post data string parameter format.
2022-01-20 18:03:08 +01:00
Aiosa
745a788d84
Merge branch 'openseadragon:master' into master
2022-01-06 10:56:43 +01:00
Aiosa
a11b5ce602
Support for POST data in the ajax requests.
2021-12-08 09:54:14 +01:00
Jachimike Onuoha
a42e08c1ed
Minor documentation updates
2021-12-06 23:19:12 -05:00
Jachimike Onuoha
f84d241367
Corrected documentation and isFullScreen function
2021-12-02 16:55:07 -05:00
Jachimike Onuoha
45ee4cd7a9
Added jsdocs fixes as discussed in the issue
2021-11-28 19:46:45 -05:00
Imran Asghar
f567fbfeaf
Replace v2 iiifSize max with full
...
Size parameter is set to max when the tile width and image width are same. But, in version 2, max is not required to be supported by IIIF v2 services on any compliance level.
2020-08-13 12:00:16 -04:00
Mark Salsbery
c4351f64e8
stricter linting
2020-06-25 16:01:14 -07:00
Lutz Helm
8afdce3e00
Add error message if IIIF data @context property contains no IIIF context URI
2020-01-15 09:56:45 +01:00
Lutz Helm
d5d0b4ce6e
Add tests for IIIF, fix error in OpenSedragonIIIFTileSource.canBeTiled
2020-01-07 16:10:14 +01:00
Lutz Helm
11719baaaf
Expose private functions in IIIFTileSource for testing purposes
2020-01-06 16:16:05 +01:00
Lutz Helm
456567af59
Fix error in IIIF version detection
2020-01-06 13:42:32 +01:00
Lutz Helm
ddf42bf224
Improve clarity and remove error in IIIF size param determination
2020-01-06 13:42:32 +01:00
Lutz Helm
07cb95e99b
Improve code readability
2020-01-06 13:42:32 +01:00
Lutz Helm
8ae1edfd48
Add support for IIIF Image API 3.0 beta
2020-01-06 13:42:32 +01:00
berger-n
0436795c3b
add support for iiif preferredFormats
2019-05-22 11:44:52 +02:00
Elie Roux
427ac45a8a
better description
2019-03-19 18:23:27 +01:00
Elie Roux
db86ae28c8
address PR comments
2019-03-19 18:22:09 +01:00
Elie Roux
3f91bafcf8
rename usedFormat to tileFormat
2019-03-19 08:47:40 +01:00
Elie Roux
0810d97b69
no direct support for formatHints
2019-03-19 08:39:01 +01:00
Elie Roux
f8022385f7
fix qunit error
2019-03-14 19:58:38 +01:00
Elie Roux
b38f5d609b
use === and !==
2019-03-14 19:10:40 +01:00
Elie Roux
e4987f9701
fix too agressive canonicalization
2019-03-14 16:10:28 +01:00
Elie Roux
661fef19b5
fix for #1617 and #1343
2019-03-14 14:04:12 +01:00
Zsolt Ero
8e06e5eb39
fixed IIIF options.maxLevel
2018-02-16 21:09:56 +01:00
Antoine Vandecreme
de25b68b43
Add eslint and hound
2017-01-16 21:41:07 +01:00
Tom Crane
f7c9585003
Support tile-less IIIF as per LegacyTileSource: Fix #737
2016-01-09 14:04:21 +00:00
Conner Wingard
df7bd2e5ce
Respect non-square tiles if available from IIIFTileSources
2015-07-10 14:26:51 -04:00
Conner Wingard
c27a43e49e
Fix calling the wrong function in IIIFTileSource to retrieve tile width
2015-07-02 11:24:43 -04:00
Conner Wingard
d11c4fe107
Remove TileSource.tileSize. Convert IIIFTileSource to override TileSource.getTileWidth and TileSource.getTileHeight.
2015-06-30 17:56:06 -04:00
Conner Wingard
201ca8a422
Revert changes to IIIFTileSource. Changes no longer needed for non square tiles
2015-06-29 14:37:35 -04:00
Conner Wingard
827fe4e836
Deprecate TileSource.getTileSize(), add TileSource.getTileWidth() and TileSource.getTileHeight()
2015-06-29 13:42:09 -04:00
Conner Wingard
85241b1249
Fix for maintaining IIIFTileSource support while implementing #670 . Change docs to reflect that TileSource.prototype.tileSize is now an OpenSeadragon.Point
2015-06-26 16:26:09 -04:00
Conner Wingard
7e950fda2b
Add support for viewing custom tile sources with non-square tiles
2015-06-26 14:17:40 -04:00
Antoine Vandecreme
606d25dbe6
Merge upstream.
2015-06-08 10:38:16 -04:00
Jon Stroop
32338efe32
wasn't using canonical syntax
2015-02-03 10:14:46 -05:00
Rob Sanderson
d6c3ccfd31
scale_factors -> scaleFactors in 2.0 API
2014-09-04 12:04:31 -07:00
Mark Salsbery
4152b8b866
Trailing whitespace fixes
2014-08-05 07:13:06 -07:00
Rob Sanderson
59225a7250
Missed a Multi in a comment again :(
2014-07-29 11:16:23 -07:00
Rob Sanderson
92d5f72ceb
Missed a Multi in a comment
2014-07-29 11:15:14 -07:00
Rob Sanderson
8a6a111698
Documentation and © fix
2014-07-29 11:12:05 -07:00
Rob Sanderson
984fb8c531
Fixed drawer, renamed source, fixed tests
2014-07-28 11:53:06 -07:00
Rob Sanderson
2c4440b5a2
Combined IIIF tilesource and dynamic tileSize
2014-07-25 16:31:13 -07:00