Add projection option to ol.source.Zoomify
This commit is contained in:
@@ -6695,6 +6695,7 @@ olx.source.CartoDBOptions.prototype.account;
|
|||||||
* cacheSize: (number|undefined),
|
* cacheSize: (number|undefined),
|
||||||
* crossOrigin: (null|string|undefined),
|
* crossOrigin: (null|string|undefined),
|
||||||
* logo: (string|olx.LogoOptions|undefined),
|
* logo: (string|olx.LogoOptions|undefined),
|
||||||
|
* projection: (ol.ProjectionLike|undefined),
|
||||||
* reprojectionErrorThreshold: (number|undefined),
|
* reprojectionErrorThreshold: (number|undefined),
|
||||||
* url: !string,
|
* url: !string,
|
||||||
* tierSizeCalculation: (string|undefined),
|
* tierSizeCalculation: (string|undefined),
|
||||||
@@ -6739,6 +6740,14 @@ olx.source.ZoomifyOptions.prototype.crossOrigin;
|
|||||||
olx.source.ZoomifyOptions.prototype.logo;
|
olx.source.ZoomifyOptions.prototype.logo;
|
||||||
|
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Projection.
|
||||||
|
* @type {ol.ProjectionLike|undefined}
|
||||||
|
* @api
|
||||||
|
*/
|
||||||
|
olx.source.ZoomifyOptions.prototype.projection;
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Maximum allowed reprojection error (in pixels). Default is `0.5`.
|
* Maximum allowed reprojection error (in pixels). Default is `0.5`.
|
||||||
* Higher values can increase reprojection performance, but decrease precision.
|
* Higher values can increase reprojection performance, but decrease precision.
|
||||||
|
|||||||
@@ -113,6 +113,7 @@ ol.source.Zoomify = function(opt_options) {
|
|||||||
cacheSize: options.cacheSize,
|
cacheSize: options.cacheSize,
|
||||||
crossOrigin: options.crossOrigin,
|
crossOrigin: options.crossOrigin,
|
||||||
logo: options.logo,
|
logo: options.logo,
|
||||||
|
projection: options.projection,
|
||||||
reprojectionErrorThreshold: options.reprojectionErrorThreshold,
|
reprojectionErrorThreshold: options.reprojectionErrorThreshold,
|
||||||
tileClass: ol.source.Zoomify.Tile_,
|
tileClass: ol.source.Zoomify.Tile_,
|
||||||
tileGrid: tileGrid,
|
tileGrid: tileGrid,
|
||||||
|
|||||||
Reference in New Issue
Block a user