import { Group } from 'three'; import { QuadTextureMaterialOptions } from './quad-texture-material'; import { Source } from './Source.class'; import { Tile } from './Tile.class'; export type MapOptions = { nTiles: number; zoom: number; tileSize: number; tileSegments: number; zScale: number; }; export type MapProps = { source: Source; location: { lat: number; lon: number; }; options?: Partial; material?: Partial; }; export declare const defaultMapOptions: MapOptions; export declare class Map { materialOptions: QuadTextureMaterialOptions; source: Source; geoLocation: { lat: number; lon: number; }; options: MapOptions; tileCache: { [key: string]: Tile; }; terrain: Group; center: { x: number; y: number; }; ready: boolean; defaultOptions: MapOptions; constructor({ source, location, options, material }: MapProps); getOptions(providedOptions?: MapProps['options']): MapOptions & Partial; init(cb?: () => void): void; addTileSegment(x: number, y: number): void; clean(): void; getPosition({ lat, lon, alt }: { lat: number; lon: number; alt: number; }, opts?: { loadTile: boolean; }): { x: number; y: number; z: number; }; }