123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197 |
- //大球初始化
- import jtMap3d from './Widgets/base.js';
- import StatusBar from './Widgets/StatusBar.js';
- //加载各类图层服务
- import layer from "./Widgets/layer.js";
- // //加载浮动图层
- // import CrImageServerLayer from "./Widgets/CrImageServerLayer.js";
- // //定位
- // import LocateUtil from "./Widgets/LocateUtil.js";
- // //空间分析
- // import SpatialAnalysis from "./Widgets/SpatialAnalysis.js";
- // //地形分析
- // import TerrainAnalysis from "./Widgets/TerrainAnalysis.js";
- // //场景特效
- // import SceneEffects from "./Widgets/SceneEffects.js";
- // //场景控件
- // import SceneControl from "./Widgets/SceneControl.js";
- // //跟踪漫游
- // import TrackRoam from "./Widgets/Roaming/TrackRoam.js";
- // import Roaming from "./Widgets/Roaming/Roaming.js";
- // //点对象
- // import PointObject from "./Widgets/PointObject.js";
- // //线对象
- // import PolylineObject from "./Widgets/PolylineObject.js";
- // //面对象
- // import PolygonObject from "./Widgets/PolygonObject.js";
- // //墙体对象
- // import WallObject from "./Widgets/WallObject.js";
- // //墙体对象
- // import CircleObject from "./Widgets/CircleObject.js";
- // //绘图工具
- // import CommonTools from "./Widgets/DrawTools/CommonTools.js";
- // import {
- // SketchViewModel
- // } from './Widgets/DrawTools/SketchViewModel.js';
- // //绘图工具
- // import {
- // DrawTools
- // } from './Widgets/DrawTools/DrawTools.js';
- // import DrawMilitaryPlot from './Widgets/DrawTools/DrawMilitaryPlot.js';
- // import DrawPoint from './Widgets/DrawTools/DrawPoint.js';
- // //自定义窗口
- // import PopupWindow from './Widgets/PopupWindow.js';
- // //公共类方法
- // import * as common from "./Widgets/common/common.js";
- // //公共类方法-坐标转换
- // import CoordTransform from "./Widgets/common/CoordTransform.js";
- // //公共类方法-提示tip
- // import ReminderTip from "./Widgets/common/ReminderTip.js";
- // //相机绕点旋转
- // import AroundPoint from './Widgets/AroundPoint.js';
- // //相机绕地旋转
- // import AroundView from './Widgets/AroundView.js';
- // var jt3dSDK = {
- // version: "2.0.2",
- // createTime: "2023.05.16",
- // author: "joy",
- // }
- // function expose() {
- // var old = window.jt3dSDK;
- // jt3dSDK.noConflict = function () {
- // window.jt3dSDK = old;
- // return this;
- // };
- // window.jt3dSDK = jt3dSDK;
- // }
- // // define P for Node module pattern loaders, including Browserify
- // if (typeof module === 'object' && typeof module.exports === 'object') {
- // module.exports = jt3dSDK;
- // // define P as an AMD module
- // } else if (typeof define === 'function' && define.amd) {
- // define(jt3dSDK);
- // }
- // // define gispace as a global P variable, saving the original P to restore later if needed
- // if (typeof window !== 'undefined') {
- // expose();
- // }
- // jt3dSDK.jtMap3d=jtMap3d
- // export default jt3dSDK
- // (function(global, factory) {
- // typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports) :
- // typeof define === 'function' && define.amd ? define(['exports'], factory) :
- // (global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory(global.jt3dSDK = {}));
- // })(this, (function(exports) {
- // 'use strict';
- // exports.jtMap3d = jtMap3d;
- // exports.StatusBar = StatusBar;
- // exports.layer = layer;
- // exports.CrImageServerLayer = CrImageServerLayer;
- // exports.LocateUtil = LocateUtil;
- // exports.SpatialAnalysis = SpatialAnalysis;
- // exports.TerrainAnalysis = TerrainAnalysis;
- // exports.SceneEffects = SceneEffects;
- // exports.SceneControl = SceneControl;
- // exports.TrackRoam = TrackRoam;
- // exports.Roaming = Roaming;
- // exports.PointObject = PointObject;
- // exports.PolylineObject = PolylineObject;
- // exports.PolygonObject = PolygonObject;
- // exports.WallObject = WallObject;
- // exports.CircleObject = CircleObject;
- // exports.CommonTools = CommonTools;
- // exports.SketchViewModel = SketchViewModel;
- // exports.DrawTools = DrawTools;
- // exports.DrawMilitaryPlot = DrawMilitaryPlot;
- // exports.DrawPoint = DrawPoint;
- // exports.PopupWindow = PopupWindow;
- // exports.common = common;
- // exports.CoordTransform = CoordTransform;
- // exports.ReminderTip = ReminderTip;
- // exports.AroundPoint = AroundPoint;
- // exports.AroundView = AroundView;
- // Object.defineProperty(exports, '__esModule', { value: true });
- // }));
- (function(global, factory) {
- debugger
- if (typeof exports === 'object' && typeof module !== 'undefined' && !window.Cesium) {
- require('@jintian/cesium/Build/Cesium/Widgets/widgets.css')
- };
- typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, (window.Cesium || require('@jintian/cesium')), (window.turf || require('@turf/turf'))) :
- typeof define === 'function' && define.amd ? define(['exports', 'Cesium', '@turf/turf'], factory) :
- (global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory(global.jt3dSDK = {}, global.Cesium, global.turf));
- })(this, (function(exports, Cesium, turf) {
- 'use strict';
- exports.jtMap3d = jtMap3d;
- exports.StatusBar = StatusBar;
- exports.layer = layer;
- // exports.CrImageServerLayer = CrImageServerLayer;
- // exports.LocateUtil = LocateUtil;
- // exports.SpatialAnalysis = SpatialAnalysis;
- // exports.TerrainAnalysis = TerrainAnalysis;
- // exports.SceneEffects = SceneEffects;
- // exports.SceneControl = SceneControl;
- // exports.TrackRoam = TrackRoam;
- // exports.Roaming = Roaming;
- // exports.PointObject = PointObject;
- // exports.PolylineObject = PolylineObject;
- // exports.PolygonObject = PolygonObject;
- // exports.WallObject = WallObject;
- // exports.CircleObject = CircleObject;
- // exports.CommonTools = CommonTools;
- // exports.SketchViewModel = SketchViewModel;
- // exports.DrawTools = DrawTools;
- // exports.DrawMilitaryPlot = DrawMilitaryPlot;
- // exports.DrawPoint = DrawPoint;
- // exports.PopupWindow = PopupWindow;
- // exports.common = common;
- // exports.CoordTransform = CoordTransform;
- // exports.ReminderTip = ReminderTip;
- // exports.AroundPoint = AroundPoint;
- // exports.AroundView = AroundView;
- Object.defineProperty(exports, '__esModule', {
- value: true
- });
- }));
- export default jt3dSDK
|