import { SeaForecast } from 'map-sdk-leaflet/es/sdk/plugins/weather/Sea/SeaAreaForecastService'; import { ShowFullScreenTitleLayer } from 'map-sdk-leaflet/es/sdk/plugins/weather/util/ShowFullScreenTitleLayer'; import type { PathPoint, TyphoonDetails } from 'map-sdk-leaflet/es/sdk/plugins/weather/Typhoon/TyphoonService'; import type { SeaForecastInterFaca } from 'map-sdk-leaflet/es/sdk/plugins/weather/Sea/SeaAreaForecastService'; import type { LTileLayerFunctionalOptions } from 'map-sdk-leaflet/es/sdk/plugins/weather/util/ShowFullScreenTitleLayer'; import type { MyMap } from 'map-sdk-leaflet/es/sdk/ShipxyAPISDK'; declare type WeatherServiceOptions = LTileLayerFunctionalOptions; export declare class WeatherServiceImpl extends ShowFullScreenTitleLayer { private _QBBeginTime; private _refash_QBBeginTime; private _SeaBreezes?; private _SeaWater?; private _RainFall?; private _TyphoonInfoList?; private _windFiel?; private _oceanCurrentFiel?; private _haiquyubao; private _tideService?; private _typhoon; constructor(map: MyMap, options?: WeatherServiceOptions); /** * 通用方法 显示 * 水温 0 * 冰情 1 * 海冰 2 * 海风 3 * 海风箭头 4 * 降雨量 5 * 气压 6 * 能见度 7 * 气温 8 * 海浪 9 * 海浪箭头 10 * @param type * @param time */ showWeatherLayerTile(type: string, time: string): void; hideWeatherLayerTile(type?: string): void; showTempTile(time: string): void; hideTempTile(): void; /** * 显示气压面 */ showPressureTile(time: any): void; /** * 隐藏气压面 */ hidePressureTile(): void; /** * 显示海风符号 */ showSeaBreezes(time: string, data: any): void; /** * 隐藏海风符号 */ hideSeaBreezes(): void; /**显示海流符号 */ showSeaWater(time: any, data: any): void; /**隐藏海流符号 */ hideSeaWater(): void; /**显示降水符号 */ showRainFall(time: any): void; /**隐藏降水符号 */ hideRainFall(): void; getTyphoonInfo(item: any, isChecked: boolean, closeCallback: any, showWinList: any, noIngCallback: any, cbLoadData: any, other: any): void; /**显示台风列表控件 */ showTyphoonInfoList(closeCallback: any, showWinList: any, noIngCallback: any, cbLoadData: any, other: any): void; /**隐藏台风列表控件 */ hideTyphoonInfoList(): void; /**显示风场 */ showWindFiel(forecastTime: string, data?: any): void; /**隐藏风场 */ hideWindFiel(): void; /**洋流 */ showOceanCurrentFiel(layer: any, data: any): void; hideOceanCurrentFiel(): void; /**显示海区预报 */ showSeaAreaForecasts(getDataListFunction: (done: (data: SeaForecastInterFaca[]) => void) => void, cbFunction?: (params: any) => void): void; _showSeaAreaForecasts_zoomend(): void; dealSeaForecastData(list: SeaForecastInterFaca[]): SeaForecast[]; /**隐藏海区预报 */ hideSeaAreaForecasts(): void; /**显示潮汐预报 */ showTides(): void; /**隐藏潮汐预报 */ hideTides(): void; /** * 显示台风 * @param pathPoints * @param typhoonDetails */ showTyphoon(pathPoints: PathPoint[], typhoonDetails: TyphoonDetails, options: any): import("map-sdk-leaflet/es/sdk/plugins/weather/Typhoon/TyphoonService").TyphoonConfiguration; _parseRawTyphoon(rawTyphoonData: any, options: any): any[]; hideTyphoon(type?: string): void; updateQBBeginTime(): any; /**获取鼠标位置,经纬度对应的气象数据 */ getLatLngWeather(type: string, latlng: any, sTime: string | Date): null; /**获取鼠标位置,经纬度对应的气象数据 */ /** * @retrun 2018-05-15 20:00:00 */ getCurDate(nowDate?: Date, isNow?: boolean): string | Date; /** 隐藏所有显示 */ hideAll(): void; } /** * 天气数据服务 */ export declare class WeatherDataServer { ValueCountByType: { 11: number; 12: number; 13: number; 14: number; 15: number; 16: number; 18: number; }; constructor(); weatherDataAnalysis: (resData: any, valueCount: number) => { value: string; x: number; y: number; }[]; } /** * 天气明细实体 */ export declare class WeatherDetail { publishtime: string; publishdate: Date | null; forecastaging: string; forecastaging_str: string; meteorological: string; visibility: string; waveheight: string; winddirection: string; windpower: string; meteorological_icon: any; } export {};