mirror of
https://github.com/FlipsideCrypto/DefinitelyTyped.git
synced 2026-02-06 10:56:53 +00:00
32 lines
873 B
TypeScript
32 lines
873 B
TypeScript
import { Coordinate } from './coordinate';
|
|
import { Extent } from './extent';
|
|
import Projection from './proj/Projection';
|
|
import Triangulation from './reproj/Triangulation';
|
|
|
|
export function calculateSourceExtentResolution(
|
|
sourceProj: Projection,
|
|
targetProj: Projection,
|
|
targetExtent: Extent,
|
|
targetResolution: number,
|
|
): number;
|
|
export function calculateSourceResolution(
|
|
sourceProj: Projection,
|
|
targetProj: Projection,
|
|
targetCenter: Coordinate,
|
|
targetResolution: number,
|
|
): number;
|
|
export function render(
|
|
width: number,
|
|
height: number,
|
|
pixelRatio: number,
|
|
sourceResolution: number,
|
|
sourceExtent: Extent,
|
|
targetResolution: number,
|
|
targetExtent: Extent,
|
|
triangulation: Triangulation,
|
|
sources: any[],
|
|
gutter: number,
|
|
opt_renderEdges?: boolean,
|
|
opt_contextOptions?: any,
|
|
): HTMLCanvasElement;
|