import { ElementRef, OnChanges, OnDestroy, SimpleChanges } from '@angular/core'; import { PhotoDTO } from '../../../../../../common/entities/PhotoDTO'; import { Dimension } from '../../../../model/IRenderable'; import { FullScreenService } from '../../fullscreen.service'; import { IconThumbnail, Thumbnail, ThumbnailManagerService } from '../../thumbnailManager.service'; import { FileDTO } from '../../../../../../common/entities/FileDTO'; import { MapService } from '../map.service'; import { Control, Map, MapOptions, TileLayer } from 'leaflet'; import { ThemeService } from '../../../../model/theme.service'; import { DurationPipe } from '../../../../pipes/DurationPipe'; import { ActivatedRoute, Router } from '@angular/router'; import { QueryService } from '../../../../model/query.service'; export declare class GalleryMapLightboxComponent implements OnChanges, OnDestroy { fullScreenService: FullScreenService; private thumbnailService; mapService: MapService; private themeService; private route; private queryService; private router; private durationPipe; photos: PhotoDTO[]; gpxFiles: FileDTO[]; parentDimension: Dimension; lightboxDimension: Dimension; mapDimension: Dimension; visible: boolean; controllersVisible: boolean; opacity: number; elementRef: ElementRef; mapOptions: MapOptions; defLayer: TileLayer; darkLayer: TileLayer; mapLayerControl: Control.Layers; private subscription; private smallIconSize; private iconSize; private usedIconSize; private mapLayersControlOption; private pathLayersConfigOrdered; private thumbnailsOnLoad; private leafletMap; private longPathSEPairs; constructor(fullScreenService: FullScreenService, thumbnailService: ThumbnailManagerService, mapService: MapService, themeService: ThemeService, route: ActivatedRoute, queryService: QueryService, router: Router, durationPipe: DurationPipe); private static getScreenWidth; private static getScreenHeight; setUpPathLayers(): void; ngOnInit(): void; ngOnDestroy(): void; ngOnChanges(changes: SimpleChanges): void; onResize(): Promise; showImages(): void; loadPreview(mp: MapPhoto): void; clearMap(): void; clearImages(): void; clearPath(): void; onKeyPress(event: KeyboardEvent): void; onMapReady(map: Map): void; onLeafletZoom(): void; close(): void; private show; private hide; private selectBaseLayer; private centerMap; private addArchForLongDistancePaths; private loadGPXFiles; private formatDistance; } export interface MapPhoto { name: string; lat: number; lng: number; iconUrl?: string; iconThumbnail: IconThumbnail; preview: { width: number; height: number; thumbnail: Thumbnail; }; }