new IIIFInfo(imageInfo)
format/IIIFInfo.js, line 236
| Name | Type | Description |
|---|---|---|
imageInfo |
string | module:ol/format/IIIFInfo~ImageInformationResponse |
Deserialized image information JSON response object or JSON response as string |
Methods
-
getImageApiVersion(){module:ol/format/IIIFInfo~Versions}
format/IIIFInfo.js, line 257 -
Returns:
Major IIIF version.
-
getTileSourceOptions(opt_preferredOptions){module:ol/source/IIIF~Options}
format/IIIFInfo.js, line 356 -
Name Type Description preferredOptionsOptional options for preferred format and quality.
Name Type Description formatstring Preferred image format. Will be used if the image information indicates support for that format.
qualitystring IIIF image qualitiy. Will be used if the image information indicates support for that quality.
Returns:
IIIF tile source ready constructor options.
-
setImageInfo(imageInfo)
format/IIIFInfo.js, line 245 -
Name Type Description imageInfostring | module:ol/format/IIIFInfo~ImageInformationResponse Deserialized image information JSON response object or JSON response as string
OpenLayers