From 900adaaffb51aa975d25a1c7bf3010f0248e01fa Mon Sep 17 00:00:00 2001 From: Vincent Lecrubier Date: Wed, 20 Feb 2019 22:40:24 +0000 Subject: [PATCH] Update Zoomify.js --- src/ol/source/Zoomify.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/ol/source/Zoomify.js b/src/ol/source/Zoomify.js index 1b7a192e67..cab8374540 100644 --- a/src/ol/source/Zoomify.js +++ b/src/ol/source/Zoomify.js @@ -87,6 +87,7 @@ export class CustomTile extends ImageTile { * you must provide a `crossOrigin` value you want to access pixel data with the Canvas renderer. * See https://developer.mozilla.org/en-US/docs/Web/HTML/CORS_enabled_image for more detail. * @property {import("../proj.js").ProjectionLike} [projection] Projection. + * @property {number} [tilePixelRatio] The pixel ratio used by the tile service. For example, if the tile service advertizes 256px by 256px tiles but actually sends 512px by 512px images (for retina/hidpi devices) then `tilePixelRatio` should be set to `2` * @property {number} [reprojectionErrorThreshold=0.5] Maximum allowed reprojection error (in pixels). * Higher values can increase reprojection performance, but decrease precision. * @property {string} [url] URL template or base URL of the Zoomify service.