import Map from 'ol/Map'; import VectorSource from 'ol/source/Vector'; import Style from 'ol/style/Style'; import VectorLayer from 'ol/layer/Vector'; import Collection, { CollectionEvent } from 'ol/Collection'; import { Snap, DragBox } from 'ol/interaction'; import Draw from 'ol/interaction/Draw'; import { ProjectionLike } from 'ol/proj'; import GirafeHTMLElement from '../../base/GirafeHTMLElement'; import MaskLayer from './tools/maskLayer'; import SwipeManager from './tools/swipemanager'; import WmsManager from './tools/wmsmanager'; import OsmManager from './tools/osmmanager'; import VectorTilesManager from './tools/vectortilesmanager'; import WmtsManager from './tools/wmtsmanager'; import ViewManager from './tools/viewmanager'; import RedliningFeature from '../../tools/state/redliningfeature'; import Basemap from '../../models/basemap'; import { Feature, MapBrowserEvent, MapEvent } from 'ol'; import { Geometry } from 'ol/geom'; import { EventsKey } from 'ol/events'; import { Coordinate } from 'ol/coordinate'; import Layer from '../../models/layers/layer'; import { DragBoxEvent } from 'ol/interaction/DragBox'; import { Extent } from 'ol/extent'; import MapPosition from '../../tools/state/mapposition'; import LocalFileManager from './tools/localfilemanager'; declare class MapComponent extends GirafeHTMLElement { templateUrl: string; styleUrl: string; map: Map; mapTarget: HTMLDivElement; map3d: any; map3dTarget: HTMLDivElement; loading: boolean; swiper: HTMLInputElement; swipeManager: SwipeManager; wmtsManager: WmtsManager; wmsManager: WmsManager; osmManager: OsmManager; viewManager: ViewManager; vectorTilesManager: VectorTilesManager; localFileManager: LocalFileManager; srid: ProjectionLike; get projection(): import("ol/proj/Projection").default | null; redliningFeaturesCollection: Collection>; redliningSource: VectorSource; redliningLayer: VectorLayer | null; draw: Draw | null; snap: Snap; selectedFeaturesCollection: Collection>; focusedFeaturesCollection: Collection>; selectionLayer: VectorLayer; focusLayer: VectorLayer; focusAnimation: EventsKey | null; pixelTolerance: number; dragbox: DragBox; maskLayer: MaskLayer; constructor(); registerEvents(): void; render(): void; getDefaultStyle(feature: Feature): Style; listenOpenLayersEvents(): void; onLoadStart(_e: MapEvent): void; onLoadEnd(_e: MapEvent): void; onPointerMove(e: MapBrowserEvent): void; onMoveEnd(_e: MapEvent): void; onClick(e: MapBrowserEvent): void; onDragSelection(_e: DragBoxEvent): void; select(extent: number[]): void; flash(feature: Feature): void; onFeatureAdded(e: CollectionEvent>): void; connectedCallback(): void; onPrintStateChanged(): void; onPrintPanelToggled(visible: boolean): void; onCustomGirafeEvent(details: { action: string; layer: Layer; extent: Extent; }): void; onSwipedLayersChanged(swipedLayers: { left: Layer[]; right: Layer[]; }): void; swipeLayersOnSide(layers: Layer[], side: 'left' | 'right'): void; create3dMap(): Promise; onGlobeToggled(): Promise; onFeaturesSelected(features: Feature[]): void; onFeatureFocused(feature: Feature): void; onPositionChanged(position: MapPosition): void; onChangeScale(scale: number): void; zoomToResolution(resolution: number): void; zoomToZoom(zoom: number): void; zoomToExtent(extent: Extent): void; panToCoordinate(coordinate: Coordinate): void; onChangeProjection(srid: string): void; onChangeDarkMode(): void; onLayerToggled(layer: Layer): void; onAddLayers(layerInfos: Layer[]): void; onRemoveLayers(layerInfos: Layer[]): void; onChangeOrder(_layers: Layer[]): void; onChangeOpacity(layerInfos: Layer): void; onChangeFilter(layerInfos: Layer): void; onChangeBasemap(basemap: Basemap): void; onFeaturesChanged(oldFeatures: RedliningFeature[], newFeatures: RedliningFeature[]): void; deleteFeature(feature: Feature): void; addFeature(_feature: Feature): void; onRedliningToolChanged(tool: string | null): void; activateRedliningTool(tool: string): void; deactivateRedliningTool(): void; getRandomInt(min: number, max: number): number; } export default MapComponent;