Classes
Type Definitions
-
Options{Object}
-
Properties:
Name Type Description attributionsAttributionLike | undefined Attributions.
attributionsCollapsibleboolean
(defaults to true)Attributions are collapsible.
cacheSizenumber | undefined Deprecated. Use the cacheSize option on the layer instead.
crossOriginnull | string | undefined The value for the crossOrigin option of the request.
extentExtent
(defaults to [0, -height, width, 0])The extent.
formatstring
(defaults to 'jpg')Requested image format.
interpolateboolean
(defaults to true)Use interpolated values when resampling. By default, linear interpolation is used when resampling. Set to false to use the nearest neighbor instead.
projectionProjectionLike | undefined Projection.
qualitystring | undefined Requested IIIF image quality. Default is 'native' for version 1, 'default' for versions 2 and 3.
reprojectionErrorThresholdnumber
(defaults to 0.5)Maximum allowed reprojection error (in pixels). Higher values can increase reprojection performance, but decrease precision.
resolutionsArray.<number> | undefined Supported resolutions as given in IIIF 'scaleFactors'
sizeSize Size of the image [width, height].
sizesArray<Size> | undefined Supported scaled image sizes. Content of the IIIF info.json 'sizes' property, but as array of Size objects.
stateState | undefined Source state.
supportsArray.<string>
(defaults to [])Supported IIIF region and size calculation features.
tilePixelRationumber | undefined Tile pixel ratio.
tileSizenumber | Size | undefined 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 | undefined Transition.
urlstring | undefined Base URL of the IIIF Image service. This should be the same as the IIIF Image ID.
versionVersions
(defaults to Versions.VERSION2)Service's IIIF Image API version.
zDirectionnumber | NearestDirectionFunction
(defaults to 0)Choose whether to use tiles with a higher or lower zoom level when between integer zoom levels. See
getZForResolution.