Replace TileClass with typeof ImageTile

This commit is contained in:
Kevin Schmidt
2018-10-01 08:37:01 -06:00
parent accdc79c05
commit 7dbe38358a
4 changed files with 4 additions and 8 deletions

View File

@@ -43,8 +43,8 @@ import {appendParams} from '../uri.js';
* @property {import("../proj.js").ProjectionLike} projection Projection.
* @property {number} [reprojectionErrorThreshold=0.5] Maximum allowed reprojection error (in pixels).
* Higher values can increase reprojection performance, but decrease precision.
* @property {import("../ImageTile.js").TileClass} [tileClass] Class used to instantiate image tiles.
* Default is {@link module:ol/ImageTile~TileClass}.
* @property {typeof import("../ImageTile.js").default} [tileClass] Class used to instantiate image tiles.
* Default is {@link module:ol/ImageTile~ImageTile}.
* @property {import("../tilegrid/TileGrid.js").default} [tileGrid] Tile grid. Base this on the resolutions,
* tilesize and extent supported by the server.
* If this is not defined, a default grid will be used: if there is a projection