mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
20 lines
651 B
TypeScript
20 lines
651 B
TypeScript
import { Coordinate } from './coordinate';
|
|
import { Extent } from './extent';
|
|
import Projection from './proj/Projection';
|
|
import Triangulation from './reproj/Triangulation';
|
|
|
|
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
|
|
): HTMLCanvasElement;
|