Classes
Type Definitions
-
Options{Object}
-
Properties:
Name Type Argument Default Description attributionsmodule:ol/source/Source~AttributionLike <optional>
Attributions.
attributionsCollapsibleboolean <optional>
true Attributions are collapsible.
cacheSizenumber <optional>
crossOriginnull | string <optional>
extentmodule:ol/extent~Extent <optional>
[0, -height, width, 0] formatstring <optional>
'jpg' Requested image format.
projectionmodule:ol/proj~ProjectionLike <optional>
qualitystring <optional>
Requested IIIF image quality. Default is 'native' for version 1, 'default' for versions 2 and 3.
reprojectionErrorThresholdnumber <optional>
0.5 Maximum allowed reprojection error (in pixels). Higher values can increase reprojection performance, but decrease precision.
resolutionsArray.<number> <optional>
Supported resolutions as given in IIIF 'scaleFactors'
sizemodule:ol/size~Size Size of the image [width, height].
sizesArray.<module:ol/size~Size> <optional>
Supported scaled image sizes. Content of the IIIF info.json 'sizes' property, but as array of Size objects.
statemodule:ol/source/State <optional>
Source state.
supportsArray.<string> <optional>
[] Supported IIIF region and size calculation features.
tilePixelRationumber <optional>
tileSizenumber | module:ol/size~Size <optional>
Tile size. Same tile size is used for all zoom levels. If tile size is a number, a square tile is assumed. If the IIIF image service supports arbitrary tiling (sizeByH, sizeByW, sizeByWh or sizeByPct as well as regionByPx or regionByPct are supported), the default tilesize is 256.
transitionnumber <optional>
urlstring <optional>
Base URL of the IIIF Image service. This should be the same as the IIIF Image ID.
versionmodule:ol/format/IIIFInfo~Versions <optional>
Versions.VERSION2 Service's IIIF Image API version.
zDirectionnumber <optional>
0 Indicate which resolution should be used by a renderer if the view resolution does not match any resolution of the tile source. If 0, the nearest resolution will be used. If 1, the nearest lower resolution will be used. If -1, the nearest higher resolution will be used.
OpenLayers