import { EventedObject } from '../base/evented-object'; import { LatLng } from '../common/latlng'; import { LatLngBounds } from '../common/latlng-bounds'; import { ScreenBounds } from '../common/screen-bounds'; import { ScreenXY } from '../common/screen-xy'; import { Earth } from '../crs/crs-earth'; import { PosAnimation } from './position-animation'; import { HandlerObject } from '../base/handler-object'; import { Graphic } from '../graphic/graphic'; import { GraphicLayer } from '../layer/graphic-layer'; import { FeatureLayer } from '../layer/feature-layer'; import { RasterLayer } from '../layer/raster-layer'; import { Animation } from '../animation/animation'; import { OptionsObject } from '../base/options-object'; import { Viewer } from './canvas/viewer'; import { Animater } from './canvas/animater'; import { Geometry } from '../geometry/geometry'; export declare class MapOptions extends OptionsObject { center: LatLng; zoom: number; minZoom: number; maxZoom: number; zoomAnimation: boolean; zoomAnimationThreshold: number; fadeAnimation: boolean; markerZoomAnimation: boolean; transform3DLimit: number; zoomSnap: number; zoomDelta: number; trackResize: boolean; scrollWheelZoom: boolean | string; wheelDebounceTime: number; wheelPxPerZoomLevel: number; dragging: boolean; inertia: boolean; inertiaDeceleration: number; inertiaMaxSpeed: number; easeLinearity: number; worldCopyJump: boolean; maxBounds: LatLngBounds; maxBoundsViscosity: number; doubleClickZoom: boolean | string; } export declare class Map extends EventedObject { options: MapOptions; _container: HTMLElement; _containerId: string; _loaded: boolean; _sizeChanged: boolean; _size: ScreenXY; _panes: any; _paneRenderers: any; _mapPane: HTMLElement; _proxy: any; _targets: any; _crs: Earth; _pixelOrigin: ScreenXY; _zoom: number; _lastCenter: LatLng; _viewer: Viewer; _animater: Animater; _layers: any; _sizeTimer: number; _resizeRequest: number; _panAnim: PosAnimation; _fadeAnimated: boolean; _zoomAnimated: boolean; _animatingZoom: boolean; _animateToZoom: number; _animateToCenter: LatLng; _handlers: HandlerObject[]; _mouseEvents: string[]; get loaded(): boolean; constructor(id: HTMLElement | string, options?: Object); setView(center: LatLng, zoom?: number, options?: any): this; setZoom(zoom: number, options?: any): this; zoomIn(delta?: number, options?: any): this; zoomOut(delta?: number, options?: any): this; setZoomAround(specified: LatLng | ScreenXY, zoom: number, options?: any): this; _getLatLngBoundsCenterZoom(bounds: LatLngBounds, options?: any): { center: LatLng; zoom: number; }; fitBounds(bounds: LatLngBounds, options?: any): this; fitWorld(options?: any): this; panTo(center: LatLng, options?: any): this; panBy(offset: ScreenXY, options?: any): this; setMinZoom(zoom: number): this; setMaxZoom(zoom: number): this; invalidateSize(options: any): this; stop(): this; remove(): this; createPane(name: string, container?: HTMLElement): HTMLElement; getCenter(): LatLng; getZoom(): number; getLatLngBounds(): LatLngBounds; getMinZoom(): number; getMaxZoom(): number; getLatLngBoundsZoom(bounds: LatLngBounds, inside?: boolean, padding?: ScreenXY): number; getSize(): ScreenXY; getPixelBounds(center?: LatLng, zoom?: number): ScreenBounds; getPixelOrigin(): ScreenXY; getPixelWorldBounds(zoom?: number): ScreenBounds; getPane(pane: string | HTMLElement): HTMLElement; getPanes(): any; getContainer(): HTMLElement; getZoomScale(toZoom: number, fromZoom?: number): number; getScaleZoom(scale: number, fromZoom: number): number; latLngToWorldPixel(latlng: LatLng, zoom?: number): ScreenXY; worldPixelToLatLng(screenXY: ScreenXY, zoom?: number): LatLng; canvasPixelToLatLng(pixel: ScreenXY): LatLng; latLngToCanvasPixel(latlng: LatLng): ScreenXY; wrapLatLng(latlng: LatLng): LatLng; wrapLatLngBounds(bounds: LatLngBounds): LatLngBounds; distance(latlng1: LatLng, latlng2: LatLng): number; containerPixelToCanvasPixel(pixel: ScreenXY): ScreenXY; canvasPixelToContainerPixel(pixel: ScreenXY): ScreenXY; containerPixelToLatLng(pixel: ScreenXY): LatLng; latLngToContainerPixel(latlng: LatLng): ScreenXY; mouseEventToContainerPixel(e: MouseEvent): ScreenXY; mouseEventToCanvasPixel(e: MouseEvent): ScreenXY; mouseEventToLatLng(e: MouseEvent): LatLng; _initContainer(id: HTMLElement | string): void; _initLayout(): void; _initPanes(): void; _resetView(center: LatLng, zoom: number): void; _moveStart(zoomChanged: boolean, noMoveStart: boolean): this; _move(center: LatLng, zoom?: number, data?: any): this; _moveEnd(zoomChanged: boolean): this; _stop(): this; _rawPanBy(offset: ScreenXY): void; _getZoomSpan(): number; _initEvents(remove?: boolean): void; _onResize(): void; _onScroll(): void; _onMoveEnd(): void; _findEventTargets(e: any, type: string): any[]; _handleDOMEvent(e: any): void; _fireDOMEvent(e: any, type: string, targets?: any): void; _draggableMoved(obj: any): any; whenReady(callback: Function, context?: any): this; _getMapPanePos(): ScreenXY; _moved(): boolean; _getTopLeftPixel(center: LatLng, zoom?: number): import("..").XY; _getNewPixelOrigin(center: LatLng, zoom?: number): import("..").XY; _getCenterCanvasPixel(): ScreenXY; _getCenterOffset(latlng: LatLng): import("..").XY; _limitCenter(center: LatLng, zoom: number, bounds: LatLngBounds): LatLng; _limitOffset(offset: ScreenXY, bounds: LatLngBounds): import("..").XY; _getBoundsOffset(pxBounds: ScreenBounds, maxBounds: LatLngBounds, zoom?: number): ScreenXY; _rebound(left: number, right: number): number; _limitZoom(zoom: number): number; _onPanTransitionStep(): void; _onPanTransitionEnd(): void; _tryAnimatedPan(center: LatLng, options: any): boolean; _createAnimProxy(): void; _destroyAnimProxy(): void; _animMoveEnd(): void; _catchTransitionEnd(e: any): void; _nothingToAnimate(): boolean; _tryAnimatedZoom(center: LatLng, zoom: number, options: any): boolean; _animateZoom(center: LatLng, zoom: number, startAnim: boolean, noUpdate?: boolean): void; _onZoomTransitionEnd(): void; getCRS(): Earth; addGraphic(graphic: Graphic): void; removeGraphic(graphic: Graphic): void; updateGraphic(graphic: Graphic, geometry: Geometry): void; clearGraphics(): void; addGraphicLayer(graphicLayer: GraphicLayer): void; removeGraphicLayer(graphicLayer: GraphicLayer): void; clearGraphicLayers(): void; addFeatureLayer(featureLayer: FeatureLayer): void; removeFeatureLayer(featureLayer: FeatureLayer): void; clearFeatureLayers(): void; addRasterLayer(rasterLayer: RasterLayer): void; removeRasterLayer(rasterLayer: RasterLayer): void; clearRasterLayers(): void; addAnimation(animation: Animation): void; addHandler(name: string, handler: HandlerObject): this; clearHandlers(): void; redraw(): void; }