Classes
Type Definitions
-
Options{Object}
-
Properties:
Name Type Description attributionsAttributionLike | undefined 归属信息。
attributionsCollapsibleboolean
(defaults to true)归属信息是否可折叠。
cacheSizenumber | undefined 已弃用。 请改用图层上的 cacheSize 选项。
crossOriginnull | string | undefined 请求的 crossOrigin 选项的值。
extentExtent
(defaults to [0, -height, width, 0])范围。
formatstring
(defaults to 'jpg')请求的图像格式。
interpolateboolean
(defaults to true)重采样时是否使用插值。默认情况下, 重采样时使用线性插值。设置为 false 可使用 the nearest neighbor instead.
projectionProjectionLike | undefined 投影。
qualitystring | undefined 请求的 IIIF 图像质量。版本 1 默认为 'native',版本 2 和 3 默认为 'default'。
reprojectionErrorThresholdnumber
(defaults to 0.5)允许的最大重投影误差(以像素为单位)。 值越高可以提高重投影性能,但会降低精度。
resolutionsArray.<number> | undefined IIIF 'scaleFactors' 中给出的支持的分辨率
sizeSize 图像尺寸 [width, height]。
sizesArray<Size> | undefined 支持的缩放图像尺寸。IIIF info.json 'sizes' 属性的内容,但作为 Size 对象数组。
stateState | undefined 数据源状态。
supportsArray.<string>
(defaults to [])支持的 IIIF 区域和尺寸计算特性。
tilePixelRationumber | undefined 瓦片像素比。
tileSizenumber | Size | undefined 瓦片尺寸。所有缩放级别使用相同的瓦片尺寸。如果瓦片尺寸为数字,则假定为正方形瓦片。如果 IIIF 图像服务支持任意分块(支持 sizeByH、sizeByW、sizeByWh 或 sizeByPct 以及 regionByPx 或 regionByPct),默认瓦片尺寸为 256。
transitionnumber | undefined 过渡。
urlstring | undefined IIIF 图像服务的基础 URL。应与 IIIF 图像 ID 相同。
versionVersions
(defaults to Versions.VERSION2)服务的 IIIF Image API 版本。
zDirectionnumber | NearestDirection函数
(defaults to 0)选择在整数缩放级别之间使用更高还是更低缩放级别的瓦片。参见
getZForResolution。