16 lines
25 KiB
JavaScript
16 lines
25 KiB
JavaScript
|
|
/**
|
|||
|
|
* Mars3D平台插件,结合mapv可视化功能插件 mars3d-mapv
|
|||
|
|
*
|
|||
|
|
* 版本信息:v3.10.1
|
|||
|
|
* 编译日期:2025-08-04 14:15
|
|||
|
|
* 版权所有:Copyright by 火星科技 http://mars3d.cn
|
|||
|
|
* 使用单位:山东慧创信息科技有限公司 ,2025-08-04
|
|||
|
|
*/
|
|||
|
|
(function (global, factory) {
|
|||
|
|
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, (window.mars3d || require('mars3d')), (window.mapv || require('mapv'))) :
|
|||
|
|
typeof define === 'function' && define.amd ? define(['exports', 'mars3d', 'mapv'], factory) :
|
|||
|
|
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory(global["mars3d-mapv"] = {}, global.mars3d, global.mapv));
|
|||
|
|
})(this, (function (exports, mars3d, mapv) {
|
|||
|
|
'use strict';const _0x11b6f5=_0x1e61;function _0x1e61(_0x4810dc,_0x3a6fb2){const _0x9cfee=_0x9cfe();return _0x1e61=function(_0x1e61d9,_0x5957f9){_0x1e61d9=_0x1e61d9-0x1e8;let _0x4bacbe=_0x9cfee[_0x1e61d9];return _0x4bacbe;},_0x1e61(_0x4810dc,_0x3a6fb2);}(function(_0x5a6bd9,_0xcf354f){const _0x5866f9={_0x473705:0x202,_0x3476b5:0x1e9,_0x1293eb:0x251,_0x160361:0x21c,_0x142e36:0x24e},_0x2f396b=_0x1e61,_0x245274=_0x5a6bd9();while(!![]){try{const _0x2d1439=parseInt(_0x2f396b(_0x5866f9._0x473705))/0x1*(-parseInt(_0x2f396b(_0x5866f9._0x3476b5))/0x2)+-parseInt(_0x2f396b(0x240))/0x3*(parseInt(_0x2f396b(_0x5866f9._0x1293eb))/0x4)+parseInt(_0x2f396b(0x1f8))/0x5*(-parseInt(_0x2f396b(0x230))/0x6)+parseInt(_0x2f396b(_0x5866f9._0x160361))/0x7+parseInt(_0x2f396b(0x234))/0x8*(-parseInt(_0x2f396b(0x25b))/0x9)+-parseInt(_0x2f396b(0x213))/0xa*(-parseInt(_0x2f396b(0x235))/0xb)+parseInt(_0x2f396b(_0x5866f9._0x142e36))/0xc;if(_0x2d1439===_0xcf354f)break;else _0x245274['push'](_0x245274['shift']());}catch(_0x4b5fea){_0x245274['push'](_0x245274['shift']());}}}(_0x9cfe,0x8ec96));function _interopNamespace(_0x15ec4d){const _0x19942a={_0x361ea3:0x1ee},_0x54be0a={_0x204148:0x23b,_0x425b2d:0x22c},_0x3f1272=_0x1e61;if(_0x15ec4d&&_0x15ec4d[_0x3f1272(0x211)])return _0x15ec4d;var _0x3f6f66=Object[_0x3f1272(_0x19942a._0x361ea3)](null);return _0x15ec4d&&Object['keys'](_0x15ec4d)['forEach'](function(_0x1b6173){const _0x59600a=_0x3f1272;if(_0x1b6173!==_0x59600a(_0x54be0a._0x204148)){var _0x1d9d9a=Object[_0x59600a(_0x54be0a._0x425b2d)](_0x15ec4d,_0x1b6173);Object[_0x59600a(0x24d)](_0x3f6f66,_0x1b6173,_0x1d9d9a['get']?_0x1d9d9a:{'enumerable':!![],'get':function(){return _0x15ec4d[_0x1b6173];}});}}),_0x3f6f66['default']=_0x15ec4d,_0x3f6f66;}var mars3d__namespace=_interopNamespace(mars3d),mapv__namespace=_interopNamespace(mapv);const Cesium$1=mars3d__namespace['Cesium'],baiduMapLayer=mapv__namespace?mapv__namespace['baiduMapLayer']:null,BaseLayer$1=baiduMapLayer?baiduMapLayer['__proto__']:Function;class MapVRenderer extends BaseLayer$1{constructor(_0x2a5ad9,_0x498529,_0x461063,_0x27fc69){const _0x87a97c={_0x4f4316:0x25a,_0x1f36cf:0x24f,_0x1623da:0x256,_0x12ccb5:0x231},_0x4877c9=_0x1e61;super(_0x2a5ad9,_0x498529,_0x461063);if(!BaseLayer$1)return;this[_0x4877c9(_0x87a97c._0x4f4316)]=_0x2a5ad9,this['scene']=_0x2a5ad9['scene'],this[_0x4877c9(_0x87a97c._0x1f36cf)]=_0x498529,_0x461063=_0x461063||{},this[_0x4877c9(0x1ea)](_0x461063),this[_0x4877c9(0x1ef)](_0x461063),this['initDevicePixelRatio'](),this[_0x4877c9(_0x87a97c._0x1623da)]=_0x27fc69,this['stopAniamation']=!0x1,this[_0x4877c9(_0x87a97c._0x12ccb5)]=_0x461063['animation'];}['initDevicePixelRatio'](){this['devicePixelRatio']=window['devicePixelRatio']||0x1;}['addAnimatorEvent'](){}[_0x11b6f5(0x260)](){const _0x2979bd=_0x11b6f5,_0xb07488=this[_0x2979bd(0x241)]['animation'];this['isEnabledTime']()&&this[_0x2979bd(0x237)]&&(this['steps']['step']=_0xb07488['stepsRange']['start']);}['animatorMoveendEvent'](){this['isEnabledTime']()&&this['animator'];}['getContext'](){const _0x1a37bc={_0x486eb9:0x256},_0x489d28=_0x11b6f5;return this[_0x489d28(_0x1a37bc._0x486eb9)][_0x489d28(0x206)]['getContext'](this['context']);}[_0x11b6f5(0x1ea)](_0x3b30e0){const _0x4005c4={_0x5386bf:0x212,_0x2270bd:0x241,_0x32e44f:0x1e8},_0x2559f0=_0x11b6f5;this['options']=_0x3b30e0,this[_0x2559f0(_0x4005c4._0x5386bf)](_0x3b30e0),this['context']=this['options']['context']||'2d',Cesium$1[_0x2559f0(0x236)](this[_0x2559f0(_0x4005c4._0x2270bd)]['zIndex'])&&this['canvasLayer']&&this['canvasLayer']['setZIndex']&&this['canvasLayer'][_0x2559f0(0x25d)](this['options']['zIndex']),this[_0x2559f0(_0x4005c4._0x32e44f)]();}['_canvasUpdate'](_0x4c358a){const _0x4d41a9={_0x31c801:0x256,_0x1fad6c:0x231,_0x57d86a:0x233,_0x2ec9bd:0x22a,_0x4385fa:0x24c,_0x4313f6:0x208,_0x1c91de:0x252,_0x34594d:0x242,_0x5b15c4:0x204,_0x4f4322:0x22b,_0x272d0a:0x204,_0x3f532b:0x1f3,_0x5f06bc:0x224,_0x4b999e:0x246,_0x38cc13:0x24b,_0x3e1fdc:0x226,_0x5cba82:0x229,_0x5da99e:0x1eb,_0xf885dc:0x241},_0x229fc5={_0x2f74c1:0x23d},_0x483d6c={_0x127b49:0x203,_0x53aabe:0x21e},_0x747b89=_0x11b6f5;if(!t
|
|||
|
|
}));
|