import React from 'react'; import './style.scss'; declare const CustomizeMap: (props: ICustomizeMapProps) => React.JSX.Element; export default CustomizeMap; export interface ICustomizeMapProps { ZLG: new (data: IZLG) => any; id: string; options: IOptions; ind: number; change: Function; time: number; isPreviewShow: boolean; Line: Function; Polygon: Function; gisChildren: IGisChildren[]; isUpdateChildren?: boolean; PointLayer: Function; imgs?: IImgs[]; PopupLayer?: Function; Popup?: Function; zoomValue?: number; } export interface IOptions { zoom: number; maxZoom: number; minZoom: number; isOnline: boolean; mapType: string; mapStyleType: string; token: string; mapKey?: string; mapStyle: string; longitude?: number; latitude?: number; mapTheme?: string; isSave?: boolean; restore?: boolean; customizeMapStyle?: boolean; mapService?: boolean; } export interface IZLG { dom: HTMLElement | string; map: IMap; } export interface IMap { type?: string; urlTemplate?: string; style: string; zoom?: number; center?: number[]; pitch?: number; minZoom?: number; maxZoom?: number; pitchWithRotate?: boolean; token?: string; securityKey?: string; } export interface IImgs { key: string; url: string; } export interface IGisChildren { ['string']: any; active: boolean; config: string; type: string; laryerIndex: string; isHide: boolean; elementIndex: number; contourBackgroudColor: string; contourLineColor: string; contourLineStyle: string; contourLineSize: number; contourLineDashedInterval: number; contourLineDashedLength: number; }