import { default as InterfaceOperator } from './InterfaceOperator'; export default class InterfaceBBL { params: any; operator: InterfaceOperator; constructor(params: any); init(): Promise; dispose(): void; getCameraInfo(): { lng: number; lat: number; height: number; heading: number; pitch: number; roll: number; position: import('cesium').Cartesian3; }; getViewInfo(): { position: number[]; hpr: number[]; }; getWindowCoordinates(lonlats: any): import('cesium').Cartesian2 | undefined; /** * 视角设置 * 根据配置文件来 * @param viewType */ setView(viewType: any, call?: Function): void; focusToEntityById(id: string, options?: {}): void; focusToLonLat(lonlat: number[], hpr?: any[]): void; /** * 开启绕地旋转 * @param b */ enableAroundViewer(b: boolean): void; /** * 飞向至某个点 * @param config {position:[lon,lat,height] ,hpr:[heading,pitch,roll] ,duration=2} */ flyto(config: any, call?: Function): void; /** * 显示图层 * @param type '地图1', '地图2', '地图3', '地图4', '地图5', '地图6', '地图7', '地图8', * '纯瓦片', '纯路网', '纯地名', '地名和路网', '矢量切片' * @param show */ changeImageLayer(type: string, show?: boolean): void; /** * 显示 图层 包括 basic底图 terrain地形 roam 路网 toponym地名 building建筑 water水域 * @param layerName */ showLayer(layerName: any, show?: boolean): void; enableDraw(b?: boolean): void; drawEnd(): void; drawEntity(datas: any): void; /** * 设置绘制的类型 * @param type billboard图标 polyline贴地线 plane多边形平面 wall立体墙 polygon立体多边形 */ setDrawType(type: string, options?: {}): void; /** * * @param id entityid * @param options entity的参数 */ changeDrawType(id: string, options: any): any; /** * 注册一个 绘制结束时的回调监听 * @param call 回调函数 返回id 和位置等关系 */ registDrawEndCallback(call: Function): void; clearDrawEndCallback(): void; /** * 根据删除一个绘制的对象 * @param id */ removeDrawObj(id: string): void; getDrawData(id: string): any; clearDraw(): void; toggleAnimation(b: boolean): void; enableEdit(vaule: any): void; /** * 设置entity聚合 * @param type entity类型 复数 billboards labels points * @param isCluster */ setEntityCluster(type: string, isCluster?: boolean): void; /** * 注册一个点击事件的回调 * @param call */ registClickCallback(call: Function): void; clearClickCallBack(): void; registEventHandlerCallback(fun: Function): void; clearRegistEventHandler(): void; /** * 设置雾 * @param key 雾的属性 enabled:true/false density:[0-1] 默认0.00002 * @param value 雾的属性值 * @returns */ setFog(key: string, value: number | string | boolean): void; setFogFar(num: number): void; setFogNear(num: number): void; setFogColor(color: string): void; }