This commit is contained in:
99
node_modules/ol/reproj/Tile.d.ts
generated
vendored
Normal file
99
node_modules/ol/reproj/Tile.d.ts
generated
vendored
Normal file
@@ -0,0 +1,99 @@
|
||||
export default ReprojTile;
|
||||
export type FunctionType = (arg0: number, arg1: number, arg2: number, arg3: number) => import("../Tile.js").default;
|
||||
/**
|
||||
* @typedef {function(number, number, number, number) : import("../Tile.js").default} FunctionType
|
||||
*/
|
||||
/**
|
||||
* @classdesc
|
||||
* Class encapsulating single reprojected tile.
|
||||
* See {@link module:ol/source/TileImage~TileImage}.
|
||||
*
|
||||
*/
|
||||
declare class ReprojTile extends Tile {
|
||||
/**
|
||||
* @param {import("../proj/Projection.js").default} sourceProj Source projection.
|
||||
* @param {import("../tilegrid/TileGrid.js").default} sourceTileGrid Source tile grid.
|
||||
* @param {import("../proj/Projection.js").default} targetProj Target projection.
|
||||
* @param {import("../tilegrid/TileGrid.js").default} targetTileGrid Target tile grid.
|
||||
* @param {import("../tilecoord.js").TileCoord} tileCoord Coordinate of the tile.
|
||||
* @param {import("../tilecoord.js").TileCoord} wrappedTileCoord Coordinate of the tile wrapped in X.
|
||||
* @param {number} pixelRatio Pixel ratio.
|
||||
* @param {number} gutter Gutter of the source tiles.
|
||||
* @param {FunctionType} getTileFunction
|
||||
* Function returning source tiles (z, x, y, pixelRatio).
|
||||
* @param {number} [opt_errorThreshold] Acceptable reprojection error (in px).
|
||||
* @param {boolean} [opt_renderEdges] Render reprojection edges.
|
||||
* @param {boolean} [opt_interpolate] Use linear interpolation when resampling.
|
||||
*/
|
||||
constructor(sourceProj: import("../proj/Projection.js").default, sourceTileGrid: import("../tilegrid/TileGrid.js").default, targetProj: import("../proj/Projection.js").default, targetTileGrid: import("../tilegrid/TileGrid.js").default, tileCoord: import("../tilecoord.js").TileCoord, wrappedTileCoord: import("../tilecoord.js").TileCoord, pixelRatio: number, gutter: number, getTileFunction: FunctionType, opt_errorThreshold?: number | undefined, opt_renderEdges?: boolean | undefined, opt_interpolate?: boolean | undefined);
|
||||
/**
|
||||
* @private
|
||||
* @type {boolean}
|
||||
*/
|
||||
private renderEdges_;
|
||||
/**
|
||||
* @private
|
||||
* @type {number}
|
||||
*/
|
||||
private pixelRatio_;
|
||||
/**
|
||||
* @private
|
||||
* @type {number}
|
||||
*/
|
||||
private gutter_;
|
||||
/**
|
||||
* @private
|
||||
* @type {HTMLCanvasElement}
|
||||
*/
|
||||
private canvas_;
|
||||
/**
|
||||
* @private
|
||||
* @type {import("../tilegrid/TileGrid.js").default}
|
||||
*/
|
||||
private sourceTileGrid_;
|
||||
/**
|
||||
* @private
|
||||
* @type {import("../tilegrid/TileGrid.js").default}
|
||||
*/
|
||||
private targetTileGrid_;
|
||||
/**
|
||||
* @private
|
||||
* @type {import("../tilecoord.js").TileCoord}
|
||||
*/
|
||||
private wrappedTileCoord_;
|
||||
/**
|
||||
* @private
|
||||
* @type {!Array<import("../Tile.js").default>}
|
||||
*/
|
||||
private sourceTiles_;
|
||||
/**
|
||||
* @private
|
||||
* @type {?Array<import("../events.js").EventsKey>}
|
||||
*/
|
||||
private sourcesListenerKeys_;
|
||||
/**
|
||||
* @private
|
||||
* @type {number}
|
||||
*/
|
||||
private sourceZ_;
|
||||
/**
|
||||
* @private
|
||||
* @type {!import("./Triangulation.js").default}
|
||||
*/
|
||||
private triangulation_;
|
||||
/**
|
||||
* Get the HTML Canvas element for this tile.
|
||||
* @return {HTMLCanvasElement} Canvas.
|
||||
*/
|
||||
getImage(): HTMLCanvasElement;
|
||||
/**
|
||||
* @private
|
||||
*/
|
||||
private reproject_;
|
||||
/**
|
||||
* @private
|
||||
*/
|
||||
private unlistenSources_;
|
||||
}
|
||||
import Tile from "../Tile.js";
|
||||
//# sourceMappingURL=Tile.d.ts.map
|
||||
Reference in New Issue
Block a user