Simon Seyock
5b1106ac23
some type corrections
2019-10-10 09:07:35 +02:00
ahocevar
e07ff9c04e
Make zDirection configurable on tile source
2019-07-30 16:50:01 +02:00
ahocevar
cb77f9e3dd
Get rid of JSDoc warnings and fix fires arguments
2019-06-29 10:25:35 +02:00
Lutz Helm
d6dc7a926d
Fix several TypeScript type check problems
2019-06-21 15:26:28 +02:00
robert
7e4e113ac9
lint fix
...
Signed-off-by: robert <24939343+engsterhold@users.noreply.github.com >
2019-05-21 12:32:30 +02:00
engsterhold
f77b0941b8
fixed styling
2019-05-17 13:52:10 +02:00
engsterhold
e69b15d33e
Bandaid fix for change in Zoomify.js/CustomTile signature
...
The recent addition of tilePixelRatio to the Zoomify.js/CustomTile constructor broke parameter binding in IIIF.js/IIIF.
The fix mirrors the change in the Zoomify.js/Zoomify constructor
2019-05-16 16:10:58 +02:00
Lutz Helm
1d08eb5752
Give a hint on how to parse IIIF info.json
2019-05-13 12:27:14 +02:00
Lutz Helm
5e288ebedf
Improve IIIF tile source doc
2019-05-13 11:15:20 +02:00
Lutz Helm
64e67ae351
Correct IIIF tile source doc
2019-05-09 18:00:18 +02:00
Lutz Helm
12154d98b4
Improve IIIF tile source documentation
2019-05-09 18:00:18 +02:00
Lutz Helm
27d943dcc3
Add tests for IIIF tile source and fix source
...
The tests are still incomplete.
This commit also corrects the IIIF source where tests have failed.
2019-05-09 18:00:18 +02:00
Lutz Helm
3cf9b5aa28
Add zDirection option to IIIF tile source
2019-05-09 18:00:18 +02:00
Lutz Helm
b77177ed74
Fix errors in IIIF code
...
- missing import in IIIFInfo
- syntax errors in IIIF
2019-05-09 18:00:18 +02:00
Lutz Helm
f61562a51a
Remove unsupported options, document options
2019-05-09 18:00:18 +02:00
Lutz Helm
063bc51c59
Rename IIIF features to supports
...
Avoid terminology confusion between OpenLayers map features and IIIF
region/size calculation capability features.
2019-05-09 18:00:18 +02:00
Lutz Helm
3f3fbe7e4b
Remove IIIF source rounding workarounds
...
Always try to use canonical URI form. If the server serves wrong tile
heights for given w, shaped size request URI parameters, so be it.
2019-05-09 18:00:18 +02:00
Lutz Helm
0ab7ad741f
Add error codes for IIIF errors
...
60: "Missing or invalid `size`."
Without at least a size, no IIIF can be displayed.
61: "Cannot determine IIIF Image API version from provided image
information JSON."
Without finding out the version information, one could only guess how to
use the image info JSON.
2019-05-09 18:00:18 +02:00
Lutz Helm
58efe1f850
Limit IIIF tile source percentages to 10 decimals max
...
IIIF Image API versions 1 and 2 recommend limiting the number of
decimals digits to 10 at most.
2019-05-09 18:00:18 +02:00
Lutz Helm
66b41a53b8
Fix error in IIIF v3 level0 size paramter
...
Size request parameter in w,h form for level 0 services that only support
listed sizes had been using erroneous w,w instead of w,h.
2019-05-09 18:00:18 +02:00
Lutz Helm
c00400c500
Add IIIF Image API tilesource with example
...
src/ol/source/IIIF.js contains a tile source for IIIF Image API services.
It supports Image API version 1 and 2 on compliance levels 0, 1 and 2.
To get working constructor options for IIIF from an IIIF image info.json,
use src/ol/format/IIIFInfo.js.
An example is available in examples/iiif.html respectivly examples/iiif.js.
2019-05-09 18:00:18 +02:00