import { Viewer } from 'cesium'; /** * 主线状态 */ export declare const DRAW_STATUS: { readonly STOPED: symbol; readonly DRAWABLE: symbol; readonly EDITABLE: symbol; readonly HIGHTABLE: symbol; readonly DELETABLE: symbol; }; export type DRAW_STATUS_TYPE = typeof DRAW_STATUS[keyof typeof DRAW_STATUS]; /** * 编辑子状态 */ export declare const EDIT_STATUS: { readonly DRAG_UNABLED: symbol; readonly DRAG_ENABLED: symbol; readonly DRAGING: symbol; }; export type EDIT_STATUS_TYPE = typeof EDIT_STATUS[keyof typeof EDIT_STATUS]; export declare const HIGHT_STATUS: { readonly DRAG_UNABLED: symbol; readonly DRAG_ENABLED: symbol; readonly DRAGING: symbol; }; export type HIGHT_STATUS_TYPE = typeof HIGHT_STATUS[keyof typeof HIGHT_STATUS]; /** * 删除子状态 */ export declare const DEL_STATUS: { readonly DEL_UNABLED: symbol; readonly DEL_ENABLED: symbol; }; export type DEL_STATUS_TYPE = typeof DEL_STATUS[keyof typeof DEL_STATUS]; export declare class DrawerStatus { private status; private editStatus; private delStatus; protected viewer: Viewer; constructor(viewer: Viewer); getStatus(): DRAW_STATUS_TYPE; getEditStatus(): EDIT_STATUS_TYPE; getDelStatus(): DEL_STATUS_TYPE; setEditStatus(): void; setDelStatus(): void; /** * 可添加点 */ protected drawableStatus(): void; /** * 可移动点 */ protected editableStatus(): void; protected deletableStatus(): void; /** * 停止操作 */ protected stopStatus(): void; protected editDragUnable(): void; protected editDragEnable(): void; protected editDraging(): void; protected delUnable(): void; protected delEnable(): void; }