@geogirafe/lib-geoportal
Version:
GeoGirafe is a flexible application to build online geoportals.
28 lines (27 loc) • 778 B
TypeScript
import { MapContextMenuState } from './contextmenustate';
import { GeoTIFFImage } from 'geotiff';
import { GeoTransform } from '../../tools/raster/rasterutils';
interface Raster {
id: string;
url: string;
type: 'COG' | 'API';
crs: string;
label: string;
transform: GeoTransform | null;
image: GeoTIFFImage | null;
pixelvalue: number | null;
pixelstring: string | null;
prefix: string;
suffix: string;
precision: number;
}
export declare class RasterManager {
private readonly MapContextMenuState;
private readonly sources;
rasters: Raster[];
constructor(MapContextMenuState: MapContextMenuState);
private init;
reset(): void;
refresh(projection: string, position: [number, number]): void;
}
export {};