UNPKG

@dp_unity/dpu-gis-viewer

Version:

DPU GIS Viewer version Beta

56 lines (55 loc) 1.9 kB
import '../styles/contextMenu.css'; import { InputDataPrimitive } from "./styleElement"; import { LayerModelNew } from "./layerModelNew"; import { SelectedObjectInfo } from "../interfaces/dpuViewer.interface"; export declare class ContextMenu { viewer: any; containerId: string; IdGenneral: string; opacityClick: number; layerModel: LayerModelNew | undefined; private _hexColorPick; private handler; private isIsolating; private isShowOff; private contextMenu; private _boxDrag; listPicked: any[]; private _inputDataPrimitive; private onSelectionChangedCallback; constructor(containerId: string, viewer: any, inputDataPrimitive: InputDataPrimitive); createContextMenu: () => void; private _handlePickedCesium; private _checkPickElementIsolate; private _handleResetAllColor; private _handelResetColor; private _handleEscPress; addEscKeyListener: () => void; removeEscKeyListener: () => void; private addMenuEventListeners; contextMenu_Focus: () => void; private objectIsolates; conditionsIsolate: [string, string][]; conditionForShowOff: [string, string][]; tempCondition: { conditionColor?: any; conditionShow?: any; listPicked?: any; }; isLoadFromShow: boolean; contextMenu_Isolate: () => void; private objectOffs; conditionShowOff: [string, string][]; contextMenu_ShowOff: () => void; private _firstShowAll; private contextMenu_ShowAll; destroyContextMenu: () => void; getObjsIdsPicked: () => SelectedObjectInfo[]; setOnSelectionChangedCallback: (callback: (selectedIds: SelectedObjectInfo[]) => void) => void; notifySelectionChanged: () => void; private _handleKeyDown; private _handleKeyUp; private _handeListenEventKeyBoard; private _removeListenEventKeyBoard; private _shareLongLat; }