Move ol.ReprojImageFunctionType to ol/reproj/Image
This commit is contained in:
@@ -11,6 +11,12 @@ import {getCenter, getIntersection, getHeight, getWidth} from '../extent.js';
|
|||||||
import {calculateSourceResolution, render as renderReprojected} from '../reproj.js';
|
import {calculateSourceResolution, render as renderReprojected} from '../reproj.js';
|
||||||
import Triangulation from '../reproj/Triangulation.js';
|
import Triangulation from '../reproj/Triangulation.js';
|
||||||
|
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @typedef {function(module:ol/extent~Extent, number, number) : module:ol/ImageBase~ImageBase} FunctionType
|
||||||
|
*/
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @classdesc
|
* @classdesc
|
||||||
* Class encapsulating single reprojected image.
|
* Class encapsulating single reprojected image.
|
||||||
@@ -23,7 +29,7 @@ import Triangulation from '../reproj/Triangulation.js';
|
|||||||
* @param {module:ol/extent~Extent} targetExtent Target extent.
|
* @param {module:ol/extent~Extent} targetExtent Target extent.
|
||||||
* @param {number} targetResolution Target resolution.
|
* @param {number} targetResolution Target resolution.
|
||||||
* @param {number} pixelRatio Pixel ratio.
|
* @param {number} pixelRatio Pixel ratio.
|
||||||
* @param {ol.ReprojImageFunctionType} getImageFunction
|
* @param {module:ol/reproj/Image~FunctionType} getImageFunction
|
||||||
* Function returning source images (extent, resolution, pixelRatio).
|
* Function returning source images (extent, resolution, pixelRatio).
|
||||||
*/
|
*/
|
||||||
const ReprojImage = function(sourceProj, targetProj,
|
const ReprojImage = function(sourceProj, targetProj,
|
||||||
|
|||||||
@@ -181,12 +181,6 @@ ol.RasterOperation;
|
|||||||
ol.RegularShapeRenderOptions;
|
ol.RegularShapeRenderOptions;
|
||||||
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @typedef {function(module:ol/extent~Extent, number, number) : module:ol/ImageBase~ImageBase}
|
|
||||||
*/
|
|
||||||
ol.ReprojImageFunctionType;
|
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @typedef {function(number, number, number, number) : module:ol/Tile~Tile}
|
* @typedef {function(number, number, number, number) : module:ol/Tile~Tile}
|
||||||
*/
|
*/
|
||||||
|
|||||||
Reference in New Issue
Block a user