Merge pull request #6387 from ahocevar/zoomify-projection
Add projection option to ol.source.Zoomify
This commit is contained in:
@@ -6695,6 +6695,7 @@ olx.source.CartoDBOptions.prototype.account;
|
||||
* cacheSize: (number|undefined),
|
||||
* crossOrigin: (null|string|undefined),
|
||||
* logo: (string|olx.LogoOptions|undefined),
|
||||
* projection: (ol.ProjectionLike|undefined),
|
||||
* reprojectionErrorThreshold: (number|undefined),
|
||||
* url: !string,
|
||||
* tierSizeCalculation: (string|undefined),
|
||||
@@ -6739,6 +6740,14 @@ olx.source.ZoomifyOptions.prototype.crossOrigin;
|
||||
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`.
|
||||
* Higher values can increase reprojection performance, but decrease precision.
|
||||
|
||||
@@ -113,6 +113,7 @@ ol.source.Zoomify = function(opt_options) {
|
||||
cacheSize: options.cacheSize,
|
||||
crossOrigin: options.crossOrigin,
|
||||
logo: options.logo,
|
||||
projection: options.projection,
|
||||
reprojectionErrorThreshold: options.reprojectionErrorThreshold,
|
||||
tileClass: ol.source.Zoomify.Tile_,
|
||||
tileGrid: tileGrid,
|
||||
|
||||
Reference in New Issue
Block a user