UNPKG

kepler.gl

Version:

kepler.gl is a webgl based application to visualize large scale location data in the browser

42 lines (41 loc) 1.63 kB
import { AssetIds, BandIndexes, CompleteSTACItem, CompleteSTACCollection, GetTileDataProps } from './types'; export declare function getStacApiUrlParams(options: { stac: CompleteSTACCollection; stacSearchProvider: string; startDate: string; endDate: string; mask?: boolean; loadAssetIds: AssetIds; _stacQuery?: string; }): URLSearchParams | null; export declare function bandIndexesToURLParams(urlParams: URLSearchParams, bandIndexes: BandIndexes): URLSearchParams; export declare function getSingleCOGUrlParams(options: { stac: CompleteSTACItem; loadAssetId: string; loadBandIndexes: BandIndexes; mask?: boolean; }): URLSearchParams | null; /** * Construct full URL to load tile from a Titiler-based backend */ export declare function getTitilerUrl(options: { stac: GetTileDataProps['stac']; useSTACSearching: boolean; x: number; y: number; z: number; }): string; export declare function getTitilerPathMapping(stac: GetTileDataProps['stac'], useSTACSearching?: boolean): string; export declare function getTerrainUrl(rasterTileServerUrls: string[], x: number, y: number, z: number, meshMaxError: number): string; /** * get mesh max error for z value * @param z mercator tile z coord * @param multiplier multipler applied to default error * * Uses suggestion from here * https://www.linkedin.com/pulse/fast-cesium-terrain-rendering-new-quantized-mesh-output-alvaro-huarte/ */ export declare function getMeshMaxError(z: number, multiplier: number): number; export declare const RasterLayerResources: { rasterColorMap: (colormapId: string) => string; };