You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
53 lines
2.1 KiB
53 lines
2.1 KiB
export default TileDebug;
|
|
export type Options = {
|
|
/**
|
|
* Optional projection.
|
|
*/
|
|
projection?: import("../proj.js").ProjectionLike;
|
|
/**
|
|
* Tile grid.
|
|
*/
|
|
tileGrid?: import("../tilegrid/TileGrid.js").default | undefined;
|
|
/**
|
|
* Whether to wrap the world horizontally.
|
|
*/
|
|
wrapX?: boolean | undefined;
|
|
/**
|
|
* Set to `1` when debugging `VectorTile` sources with a default configuration.
|
|
* Choose whether to use tiles with a higher or lower zoom level when between integer
|
|
* zoom levels. See {@link module :ol/tilegrid/TileGrid~TileGrid#getZForResolution}.
|
|
*/
|
|
zDirection?: number | import("../array.js").NearestDirectionFunction | undefined;
|
|
/**
|
|
* Template for labeling the tiles.
|
|
* Should include `{x}`, `{y}` or `{-y}`, and `{z}` placeholders.
|
|
*/
|
|
template?: string | undefined;
|
|
};
|
|
/**
|
|
* @typedef {Object} Options
|
|
* @property {import("../proj.js").ProjectionLike} [projection='EPSG:3857'] Optional projection.
|
|
* @property {import("../tilegrid/TileGrid.js").default} [tileGrid] Tile grid.
|
|
* @property {boolean} [wrapX=true] Whether to wrap the world horizontally.
|
|
* @property {number|import("../array.js").NearestDirectionFunction} [zDirection=0]
|
|
* Set to `1` when debugging `VectorTile` sources with a default configuration.
|
|
* Choose whether to use tiles with a higher or lower zoom level when between integer
|
|
* zoom levels. See {@link module:ol/tilegrid/TileGrid~TileGrid#getZForResolution}.
|
|
* @property {string} [template='z:{z} x:{x} y:{y}'] Template for labeling the tiles.
|
|
* Should include `{x}`, `{y}` or `{-y}`, and `{z}` placeholders.
|
|
*/
|
|
/**
|
|
* @classdesc
|
|
* A pseudo tile source, which does not fetch tiles from a server, but renders
|
|
* a grid outline for the tile grid/projection along with the coordinates for
|
|
* each tile. See examples/canvas-tiles for an example.
|
|
* @api
|
|
*/
|
|
declare class TileDebug extends XYZ {
|
|
/**
|
|
* @param {Options} [options] Debug tile options.
|
|
*/
|
|
constructor(options?: Options | undefined);
|
|
}
|
|
import XYZ from "./XYZ.js";
|
|
//# sourceMappingURL=TileDebug.d.ts.map
|