// @ts-nocheck import { init as initModule } from './Module'; import { init as initAuthorize } from './Authorize'; import { Enviroment } from './Enviroment'; import Utils from './Utils'; import Action from './action/Action'; import MapElement from './map_element/MapElement'; import Cruise from './cruise/Cruise'; import GeoEditor from './editor/GeoEditor'; import { mapLinkage } from './biz/map_linkage/MapLinkage'; import Biz from './biz/Biz'; import { CollisionChecks } from './collisionInspection/CollisionInspection'; import type { PointEle as PointEleType } from './map_element/element/Point'; import type { LabelEle as LabelEleType } from './map_element/element/Label'; import type { ImageEle as ImageEleType } from './map_element/element/Image'; import type { MarkerEle as MarkerEleType } from './map_element/element/Marker'; import type { ModelEle as ModelEleType } from './map_element/element/Model'; import type { LineEle as LineEleType } from './map_element/element/Line'; import type { PolygonEle as PolygonEleType } from './map_element/element/Polygon'; import type { ArcEle as ArcEleType } from './map_element/element/Arc'; function init(viewer: Cesium.Viewer): void { Enviroment.init(viewer); // 用户行为处理器 Action.Manager.init(); // 地图元素管理器 MapElement.Manager.init(); } function dispose() { // 地图元素管理器 MapElement.Manager.dispose(); // 用户行为处理器 Action.Manager.dispose(); Enviroment.scene = undefined; Enviroment.viewer = undefined; } export type { PointEleType, LabelEleType, ImageEleType, MarkerEleType, ModelEleType, LineEleType, PolygonEleType, ArcEleType, }; export const Focus = { init, dispose, Utils, Enviroment, Action, MapElement, Cruise, GeoEditor, Biz, mapLinkage, CollisionChecks, }; // export default { // init, // dispose, // Utils, // Enviroment, // Action, // MapElement, // Cruise, // GeoDrawer, // Biz, // }