1 | import { Extent } from './extent';
|
2 | import Corner from './extent/Corner';
|
3 | import { ProjectionLike } from './proj';
|
4 | import Projection from './proj/Projection';
|
5 | import { Size } from './size';
|
6 | import { TileCoord } from './tilecoord';
|
7 | import TileGrid from './tilegrid/TileGrid';
|
8 |
|
9 | export interface XYZOptions {
|
10 | extent?: Extent;
|
11 | maxResolution?: number;
|
12 | maxZoom?: number;
|
13 | minZoom?: number;
|
14 | tileSize?: number | Size;
|
15 | }
|
16 | export function createForExtent(
|
17 | extent: Extent,
|
18 | opt_maxZoom?: number,
|
19 | opt_tileSize?: number | Size,
|
20 | opt_corner?: Corner,
|
21 | ): TileGrid;
|
22 | export function createForProjection(
|
23 | projection: ProjectionLike,
|
24 | opt_maxZoom?: number,
|
25 | opt_tileSize?: number | Size,
|
26 | opt_corner?: Corner,
|
27 | ): TileGrid;
|
28 |
|
29 |
|
30 |
|
31 | export function createXYZ(opt_options?: XYZOptions): TileGrid;
|
32 |
|
33 |
|
34 |
|
35 |
|
36 | export function extentFromProjection(projection: ProjectionLike): Extent;
|
37 | export function getForProjection(projection: Projection): TileGrid;
|
38 | export function wrapX(tileGrid: TileGrid, tileCoord: TileCoord, projection: Projection): TileCoord;
|