16 lines
2.6 MiB
JavaScript
16 lines
2.6 MiB
JavaScript
|
|
/**
|
|||
|
|
* Mars3D三维可视化平台 mars3d
|
|||
|
|
*
|
|||
|
|
* 版本信息:v3.4.20
|
|||
|
|
* 编译日期:2023-01-10 12:55:02
|
|||
|
|
* 版权所有:Copyright by 火星科技 http://mars3d.cn
|
|||
|
|
* 使用单位:免费公开版 ,2022-06-01
|
|||
|
|
*/
|
|||
|
|
(function (global, factory) { if(typeof exports === 'object' && typeof module !== 'undefined' && !window.Cesium){ require('mars3d-cesium/Build/Cesium/Widgets/widgets.css') };
|
|||
|
|
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, (window.Cesium || require('mars3d-cesium')), (window.turf || require('@turf/turf'))) :
|
|||
|
|
typeof define === 'function' && define.amd ? define(['exports', 'mars3d-cesium', '@turf/turf'], factory) :
|
|||
|
|
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory(global.mars3d = {}, global.Cesium, global.turf));
|
|||
|
|
})(this, (function (exports, Cesium, turf) {
|
|||
|
|
'use strict';var _0x5a92ef=_0x4361;(function(_0x2d274c,_0x36ef75){var _0x218ff8={_0x4c99c0:0xc50,_0x21a700:0x484,_0x415405:0x7a7,_0x948c1f:0xed9,_0x4e22d4:0xb20,_0x53d1c2:0xaba},_0x2bc6b3=_0x4361,_0x2e5b98=_0x2d274c();while(!![]){try{var _0x58ea8a=-parseInt(_0x2bc6b3(0x9f1))/0x1*(-parseInt(_0x2bc6b3(_0x218ff8._0x4c99c0))/0x2)+parseInt(_0x2bc6b3(_0x218ff8._0x21a700))/0x3+parseInt(_0x2bc6b3(_0x218ff8._0x415405))/0x4+parseInt(_0x2bc6b3(_0x218ff8._0x948c1f))/0x5+-parseInt(_0x2bc6b3(_0x218ff8._0x4e22d4))/0x6+parseInt(_0x2bc6b3(0x306))/0x7*(parseInt(_0x2bc6b3(0xc7e))/0x8)+-parseInt(_0x2bc6b3(_0x218ff8._0x53d1c2))/0x9;if(_0x58ea8a===_0x36ef75)break;else _0x2e5b98['push'](_0x2e5b98['shift']());}catch(_0x457420){_0x2e5b98['push'](_0x2e5b98['shift']());}}}(_0x579d,0x9aeff));function _interopNamespace(_0x5411a5){var _0xc742f6={_0x9f477b:0xd34},_0x2286a4=_0x4361;if(_0x5411a5&&_0x5411a5['__esModule'])return _0x5411a5;var _0x309f58=Object['create'](null);return _0x5411a5&&Object['keys'](_0x5411a5)['forEach'](function(_0x2ab215){var _0x441eb0=_0x4361;if(_0x2ab215!==_0x441eb0(_0xc742f6._0x9f477b)){var _0x3b7f7c=Object[_0x441eb0(0x449)](_0x5411a5,_0x2ab215);Object['defineProperty'](_0x309f58,_0x2ab215,_0x3b7f7c[_0x441eb0(0xa20)]?_0x3b7f7c:{'enumerable':!![],'get':function(){return _0x5411a5[_0x2ab215];}});}}),_0x309f58[_0x2286a4(0xd34)]=_0x5411a5,_0x309f58;}var Cesium__namespace=_interopNamespace(Cesium);if(!(Cesium__namespace!==null&&Cesium__namespace!==void 0x0&&Cesium__namespace['Viewer']))throw new Error('请引入\x20Cesium\x20库');var getUrlComponent_old=Cesium__namespace[_0x5a92ef(0x70d)]['prototype']['getUrlComponent'];Cesium__namespace['Resource']['prototype'][_0x5a92ef(0x612)]=function(_0x382395,_0x3e03cf){var _0x5a95da={_0x1b2f8d:0x201},_0x4187e6=_0x5a92ef,_0x50df0d=getUrlComponent_old['bind'](this)(_0x382395,_0x3e03cf);return Cesium__namespace[_0x4187e6(0x70d)][_0x4187e6(_0x5a95da._0x1b2f8d)]?Cesium__namespace['Resource']['ReplaceUrl'](_0x50df0d):_0x50df0d;};var getValueInReferenceFrame_old=Cesium__namespace['ConstantPositionProperty']['prototype']['getValueInReferenceFrame'];Cesium__namespace['ConstantPositionProperty'][_0x5a92ef(0xe26)][_0x5a92ef(0x4bb)]=function(_0x4e5bc3,_0x2836b8,_0x25a826){var _0x593549={_0x2ca1a0:0x70e,_0x161ae0:0xd81},_0x28b470=_0x5a92ef;return!Cesium__namespace[_0x28b470(_0x593549._0x2ca1a0)](_0x4e5bc3)&&(_0x4e5bc3=Cesium__namespace['JulianDate']['now']()),getValueInReferenceFrame_old[_0x28b470(_0x593549._0x161ae0)](this)(_0x4e5bc3,_0x2836b8,_0x25a826);},Cesium__namespace['VelocityOrientationProperty']['prototype'][_0x5a92ef(0x770)]=function(_0x460bdc,_0x5d0e11){var _0x24d224={_0x45ce15:0x9e1,_0x51d6ab:0x6d1,_0x5ed432:0x7ff},_0x22092b=_0x5a92ef;!this[_0x22092b(0x9e1)]&&(this[_0x22092b(_0x24d224._0x45ce15)]=new Cesium__namespace['Cartesian3'](),this['_velocityScratch']=new Cesium__namespace[(_0x22092b(0x23b))](),this[_0x22092b(0x7ff)]=new Cesium__namespace['Matrix3']());var _0x3e832b=this[_0x22092b(0x508)]['_getValue'](_0x460bdc,this[_0x22092b(0xac6)],this['_positionScratch']);Cesium__namespace['defined'](_0x3e832b)?this[_0x22092b(_0x24d224._0x51d6ab)]=_0x3e832b[_0x22092b(0x52e)]():_0x3e832b=this['_last_velocity'];if(!Cesium__namespace[_0x22092b(0x70e)](_0x3e832b))return undefined;return Cesium__namespace['Transforms']['rotationMatrixFromPositionVelocity'](this['_positionScratch'],_0x3e832b,this['_ellipsoid'],this[_0x22092b(_0x24d224._0x5ed432)]),Cesium__namespace['Quaternion']['fromRotationMatrix'](this[_0x22092b(0x7ff)],_0x5d0e11);},Object['defineProperties'](Cesium__namespace['GlobeSurfaceTileProvider']['prototype'],{'marsOptions':{'get':function get(){return this['_marsOptions'];}}}),Cesium__namespace['GlobeSurfaceTileProvider']['prototype']['_initByMars3D']=function(_0x36ee37){var _0x2008ba={_0x3c2c42:0xc07},_0x20c709={_0xc2ac5b:0x8da},_0x130390={_0x295cde:0x8da},_0xbbaca2={_0x1c0f57:0xa73,_0x25bd94:0x3d5},_0x5159b2={_0x17dc4a:0x394},_0x5c41b3={_0x2f5121:0x82d},_0x5cfdd5=_0x5a92ef,_0x395800=this;this[_0x5cfdd5(0x8da)]={'flood':{},'clip':{},'resetValue':function _0x55228d(){var _0x110b8e=_0x5cfd
|
|||
|
|
}));
|