mars3d-echarts 3.7.20 → 3.7.21

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,15 @@
1
+ /**
2
+ * Mars3D平台插件,结合echarts可视化功能插件 mars3d-echarts
3
+ *
4
+ * 版本信息:v3.7.21
5
+ * 编译日期:2024-07-05 15:24:56
6
+ * 版权所有:Copyright by 火星科技 http://mars3d.cn
7
+ * 使用单位:免费公开版 ,2024-01-15
8
+ */
9
+ (function (global, factory) {
10
+ typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, (window.echarts || require('echarts')), (window.mars3d || require('mars3d'))) :
11
+ typeof define === 'function' && define.amd ? define(['exports', 'echarts', 'mars3d'], factory) :
12
+ (global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory(global["mars3d-echarts"] = {}, global.echarts, global.mars3d));
13
+ })(this, (function (exports, echarts, mars3d) {
14
+ 'use strict';(function(_0x3bd541,_0x19b097){const _0x18c4a1={_0x1654ff:0x1e3,_0x39e9db:0x203,_0x1ecef5:0x2c5,_0x3ffb04:0x276,_0x520e4d:0x1e8,_0x53099b:0x274,_0x114cc7:0x205},_0x5b3afe={_0xa7d60b:0x299};function _0x489025(_0x4e26e3,_0x2d5ae2){return _0x53f0(_0x2d5ae2- -_0x5b3afe._0xa7d60b,_0x4e26e3);}function _0xd423c7(_0x312324,_0x310e9e){return _0x53f0(_0x310e9e- -0x336,_0x312324);}const _0x58cc9c=_0x3bd541();while(!![]){try{const _0x55284d=-parseInt(_0x489025(-0x1d7,-_0x18c4a1._0x1654ff))/0x1+-parseInt(_0x489025(-0x1df,-0x1f2))/0x2*(-parseInt(_0x489025(-0x1f2,-_0x18c4a1._0x39e9db))/0x3)+parseInt(_0xd423c7(-0x2c6,-_0x18c4a1._0x1ecef5))/0x4+-parseInt(_0xd423c7(-0x2d7,-0x2b7))/0x5*(parseInt(_0xd423c7(-0x287,-_0x18c4a1._0x3ffb04))/0x6)+parseInt(_0xd423c7(-0x28f,-0x296))/0x7*(parseInt(_0x489025(-0x1b5,-0x1dd))/0x8)+parseInt(_0x489025(-0x1f6,-_0x18c4a1._0x520e4d))/0x9*(parseInt(_0xd423c7(-0x295,-_0x18c4a1._0x53099b))/0xa)+-parseInt(_0x489025(-_0x18c4a1._0x114cc7,-0x21b))/0xb;if(_0x55284d===_0x19b097)break;else _0x58cc9c['push'](_0x58cc9c['shift']());}catch(_0x3fe7d6){_0x58cc9c['push'](_0x58cc9c['shift']());}}}(_0x3a09,0xad941));function _interopNamespace(_0xa990c6){const _0x4511b2={_0x3fdb0b:0x15},_0x565523={_0x173f49:0x362,_0x495117:0x36a},_0x173437={_0x5b4c79:0xd3};if(_0xa990c6&&_0xa990c6['__esModule'])return _0xa990c6;var _0x2b4586=Object['create'](null);function _0x53fbd7(_0x581bd6,_0x422e08){return _0x53f0(_0x422e08- -_0x173437._0x5b4c79,_0x581bd6);}return _0xa990c6&&Object['keys'](_0xa990c6)[_0x53fbd7(-_0x4511b2._0x3fdb0b,-0x16)](function(_0x2030d7){const _0x1e67b8={_0x3b2ef6:0x3b2};function _0x3c8282(_0x4a351d,_0x57f16a){return _0x53fbd7(_0x4a351d,_0x57f16a-0x300);}function _0x36693e(_0x36f3c9,_0x4571c0){return _0x53fbd7(_0x36f3c9,_0x4571c0-_0x1e67b8._0x3b2ef6);}if(_0x2030d7!==_0x36693e(_0x565523._0x173f49,0x380)){var _0x32f0f0=Object['getOwnPropertyDescriptor'](_0xa990c6,_0x2030d7);Object['defineProperty'](_0x2b4586,_0x2030d7,_0x32f0f0[_0x36693e(0x370,_0x565523._0x495117)]?_0x32f0f0:{'enumerable':!![],'get':function(){return _0xa990c6[_0x2030d7];}});}}),_0x2b4586['default']=_0xa990c6,_0x2b4586;}function _0x53f0(_0xfff285,_0x5288a6){const _0x3a0929=_0x3a09();return _0x53f0=function(_0x53f0b5,_0x434e39){_0x53f0b5=_0x53f0b5-0x71;let _0x2efe44=_0x3a0929[_0x53f0b5];if(_0x53f0['bMiyOO']===undefined){var _0xeaac9e=function(_0x4ae317){const _0x3df1fd='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0xc2a229='',_0x3ef7ac='';for(let _0x5e8db8=0x0,_0x5ee71c,_0x208f2a,_0xa990c6=0x0;_0x208f2a=_0x4ae317['charAt'](_0xa990c6++);~_0x208f2a&&(_0x5ee71c=_0x5e8db8%0x4?_0x5ee71c*0x40+_0x208f2a:_0x208f2a,_0x5e8db8++%0x4)?_0xc2a229+=String['fromCharCode'](0xff&_0x5ee71c>>(-0x2*_0x5e8db8&0x6)):0x0){_0x208f2a=_0x3df1fd['indexOf'](_0x208f2a);}for(let _0x2b4586=0x0,_0x2030d7=_0xc2a229['length'];_0x2b4586<_0x2030d7;_0x2b4586++){_0x3ef7ac+='%'+('00'+_0xc2a229['charCodeAt'](_0x2b4586)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x3ef7ac);};_0x53f0['MhgQYz']=_0xeaac9e,_0xfff285=arguments,_0x53f0['bMiyOO']=!![];}const _0x21bf88=_0x3a0929[0x0],_0x51a991=_0x53f0b5+_0x21bf88,_0x27f9a1=_0xfff285[_0x51a991];return!_0x27f9a1?(_0x2efe44=_0x53f0['MhgQYz'](_0x2efe44),_0xfff285[_0x51a991]=_0x2efe44):_0x2efe44=_0x27f9a1,_0x2efe44;},_0x53f0(_0xfff285,_0x5288a6);}var echarts__namespace=_interopNamespace(echarts),mars3d__namespace=_interopNamespace(mars3d);function _0x96d745(_0x88583c,_0x153983){const _0x6b8807={_0x59d192:0x216};return _0x53f0(_0x88583c-_0x6b8807._0x59d192,_0x153983);}const Cesium$1=mars3d__namespace['Cesium'];class CompositeCoordinateSystem{constructor(_0x3c563a,_0x68d6b){const _0x19a758={_0x19080f:0x1dc,_0x412e3b:0x1e9,_0x39c6e0:0x11a},_0x2e53cb={_0x2d29b3:0x18d};this['_mars3d_scene']=_0x3c563a;function _0x1b1aff(_0x3022ea,_0x3ea08d){return _0x53f0(_0x3ea08d-0x14d,_0x3022ea);}function _0x431e4c(_0x55ba44,_0x413a89){return _0x53f0(_0x55ba44- -_0x2e53cb._0x2d29b3,_0x413a89);}this[_0x1b1aff(_0x19a758._0x19080f,_0x19a758._0x412e3b)]=[_0x431e4c(-_0x19a758._0x39c6e0,-0x116),'lat'],this[_0x431e4c(-0xdb,-0xc5)]=[0x0,0x0],this[_0x1b1aff(0x216,0x201)]=_0x68d6b;}['setMapOffset'](_0x1a80ba){const _0x11aab5={_0x4e7813:0x238,_0x478f62:0x227};function _0x3c26e6(_0x1600d5,_0x3fc18d){return _0x53f0(_0x1600d5- -0x2ea,_0x3fc18d);}this[_0x3c26e6(-_0x11aab5._0x4e7813,-_0x11aab5._0x478f62)]=_0x1a80ba;}[_0x1136e9(0x492,0x470)](){const _0x430900={_0x15f4ad:0x28c},_0x3e5669={_0x242c69:0x71b};function _0x3dffc4(_0x5f0c67,_0x52b2e9){return _0x1136e9(_0x5f0c67,_0x52b2e9- -_0x3e5669._0x242c69);}return this[_0x3dffc4(-0x2a9,-_0x430900._0x15f4ad)];}['dataToPoint'](_0x1166e1){const _0x47c7ec={_0xe28825:0x182,_0xb822a7:0x24d,_0x4ce1df:0x2b9,_0x25199c:0x298},_0x5d7b27={_0x3b809c:0x608},_0x1e6a04=this[_0x45cc40(0x291,0x295)],_0x440882=[NaN,NaN];let _0x233b94=_0x1e6a04['echartsFixedHeight'];_0x1e6a04[_0x112be6(-_0x47c7ec._0xe28825,-0x169)]&&(_0x233b94=_0x1e6a04['getHeight'](Cesium$1['Cartographic'][_0x112be6(-0x1b0,-0x19d)](_0x1166e1[0x0],_0x1166e1[0x1])));const _0x159d5a=Cesium$1['Cartesian3'][_0x45cc40(0x23c,0x25e)](_0x1166e1[0x0],_0x1166e1[0x1],_0x233b94);if(!_0x159d5a)return _0x440882;const _0x9b82d0=Cesium$1[_0x45cc40(0x28d,0x29d)]['worldToWindowCoordinates'](_0x1e6a04,_0x159d5a);function _0x45cc40(_0xc8630d,_0x25e157){return _0x1136e9(_0xc8630d,_0x25e157- -0x1fa);}if(!_0x9b82d0)return _0x440882;if(_0x1e6a04[_0x45cc40(_0x47c7ec._0xb822a7,0x266)]&&_0x1e6a04['mode']===Cesium$1['SceneMode'][_0x112be6(-0x1ab,-0x1b4)]){const _0x436b5c=new Cesium$1['EllipsoidalOccluder'](_0x1e6a04['globe'][_0x112be6(-0x16f,-0x176)],_0x1e6a04['camera']['positionWC']),_0xced5a4=_0x436b5c['isPointVisible'](_0x159d5a);if(!_0xced5a4)return _0x440882;}function _0x112be6(_0x1d1549,_0x38642a){return _0x1136e9(_0x38642a,_0x1d1549- -_0x5d7b27._0x3b809c);}return[_0x9b82d0['x']-this['_mapOffset'][0x0],_0x9b82d0['y']-this[_0x45cc40(_0x47c7ec._0x4ce1df,_0x47c7ec._0x25199c)][0x1]];}['getViewRect'](){function _0x368c14(_0x2dad70,_0x2686e5){return _0x1136e9(_0x2dad70,_0x2686e5- -0x505);}const _0x4144e0=this[_0x368c14(-0x61,-0x71)];return new echarts__namespace['graphic']['BoundingRect'](0x0,0x0,_0x4144e0['getWidth'](),_0x4144e0['getHeight']());}['getRoamTransform'](){const _0x415035={_0x3477a4:0x799};function _0x40720e(_0x30609f,_0x5902bf){return _0x1136e9(_0x30609f,_0x5902bf- -_0x415035._0x3477a4);}return echarts__namespace['matrix'][_0x40720e(-0x322,-0x335)]();}}CompositeCoordinateSystem['dimensions']=['lng','lat'],CompositeCoordinateSystem[_0x1136e9(0x47c,0x464)]=function(_0x5a30b9,_0x4e2301){const _0x3a4ed4={_0x4ab94e:0x45d,_0x5e3f80:0x484,_0xb93d70:0x1ed},_0x2772ec={_0x4056c5:0x1e0,_0x42e609:0x207};function _0x1c1d67(_0x19509a,_0x5767c5){return _0x96d745(_0x5767c5- -0x9e,_0x19509a);}let _0x23c175;function _0xd64d13(_0x186326,_0x175fe4){return _0x1136e9(_0x175fe4,_0x186326- -0xf);}const _0xcc19a0=_0x5a30b9['scheduler']['ecInstance']['_mars3d_scene'];_0x5a30b9[_0xd64d13(_0x3a4ed4._0x4ab94e,_0x3a4ed4._0x5e3f80)]('mars3dMap',function(_0x873f22){const _0x957720=_0x4e2301['getZr']()['painter'];if(!_0x957720)return;function _0x888811(_0x245169,_0x19e85b){return _0xd64d13(_0x19e85b- -0x67b,_0x245169);}!_0x23c175&&(_0x23c175=new CompositeCoordinateSystem(_0xcc19a0,_0x4e2301)),_0x873f22['coordinateSystem']=_0x23c175,_0x23c175['setMapOffset'](_0x873f22[_0x888811(-_0x2772ec._0x4056c5,-_0x2772ec._0x42e609)]||[0x0,0x0]);}),_0x5a30b9[_0x1c1d67(_0x3a4ed4._0xb93d70,0x20a)](function(_0x5c91d9){_0x5c91d9['get']('coordinateSystem')==='mars3dMap'&&(!_0x23c175&&(_0x23c175=new CompositeCoordinateSystem(_0xcc19a0,_0x4e2301)),_0x5c91d9['coordinateSystem']=_0x23c175);});};if(echarts__namespace!==null&&echarts__namespace!==void 0x0&&echarts__namespace['init']){echarts__namespace[_0x1136e9(0x437,0x459)](_0x1136e9(0x443,0x456),CompositeCoordinateSystem);const _0x4ae317={};_0x4ae317[_0x96d745(0x2d0,0x2cd)]='mars3dMapRoam',_0x4ae317[_0x96d745(0x2ab,0x284)]='mars3dMapRoam',_0x4ae317['update']=_0x96d745(0x291,0x2a7),echarts__namespace[_0x96d745(0x29c,0x2ba)](_0x4ae317,function(_0x49ca30,_0x14d558){});const _0x3df1fd={};_0x3df1fd['roam']=![];const _0xc2a229={};_0xc2a229['type']='mars3dMap',_0xc2a229['getBMap']=function(){const _0x3d2962={_0x3e3109:0x484};function _0x7634fa(_0x4d50de,_0x5bb166){return _0x1136e9(_0x5bb166,_0x4d50de- -0x23);}return this[_0x7634fa(0x46c,_0x3d2962._0x3e3109)];},_0xc2a229[_0x1136e9(0x475,0x46d)]=_0x3df1fd,echarts__namespace['extendComponentModel'](_0xc2a229),echarts__namespace['extendComponentView']({'type':'mars3dMap','init':function(_0xb70832,_0x5dd1b4){const _0x152323={_0x39bf08:0x1ee,_0xa31fb4:0x21a,_0x548a42:0x215},_0x5ea795={_0x292f4c:0x4b3};function _0x312fad(_0xa9019b,_0x2f15be){return _0x96d745(_0xa9019b-0x131,_0x2f15be);}function _0x1320d2(_0x53596a,_0x337992){return _0x96d745(_0x337992- -_0x5ea795._0x292f4c,_0x53596a);}this['api']=_0x5dd1b4,this['scene']=_0xb70832['scheduler']['ecInstance'][_0x1320d2(-0x214,-_0x152323._0x39bf08)],this['scene']['postRender'][_0x1320d2(-_0x152323._0xa31fb4,-_0x152323._0x548a42)](this['moveHandler'],this);},'moveHandler':function(_0x5f1cad,_0x5c35da){const _0x4b6dc9={};_0x4b6dc9['type']='mars3dMapRoam',this['api']['dispatchAction'](_0x4b6dc9);},'render':function(_0x42d796,_0x426a69,_0x3c57d6){},'dispose':function(_0xfbf89a){const _0x23d812={_0x1a9d40:0x29,_0x28cddc:0xa,_0x29eaf1:0x1};function _0x2d9c8d(_0x532a99,_0x4ddf9f){return _0x96d745(_0x4ddf9f- -0xbc,_0x532a99);}function _0x57ea4c(_0x413c25,_0x3ad276){return _0x96d745(_0x3ad276- -0x2d6,_0x413c25);}this[_0x57ea4c(-_0x23d812._0x1a9d40,-0x3f)][_0x2d9c8d(0x20d,0x205)][_0x57ea4c(_0x23d812._0x28cddc,_0x23d812._0x29eaf1)](this['moveHandler'],this);}});}else throw new Error('请引入\x20echarts\x20库\x20');const Cesium=mars3d__namespace['Cesium'],BaseLayer=mars3d__namespace['layer']['BaseLayer'];class EchartsLayer extends BaseLayer{constructor(_0x4cf4c8={}){const _0x1b19c8={_0xd1d5e:0x1c0},_0x28e610={_0xd0c6d2:0xce};function _0x59eb74(_0x868cb7,_0x656b7f){return _0x96d745(_0x656b7f- -_0x28e610._0xd0c6d2,_0x868cb7);}super(_0x4cf4c8),this['_pointerEvents']=this[_0x59eb74(_0x1b19c8._0xd1d5e,0x1dc)]['pointerEvents'];}get['layer'](){return this['_echartsInstance'];}get[_0x96d745(0x2c0,0x2a4)](){return this['_pointerEvents'];}set['pointerEvents'](_0x8b7796){const _0x34e475={_0x343cf2:0x38a,_0x5cf86f:0x298,_0x93b095:0x37b},_0x34b459={_0x3514d2:0x71f};this[_0x499714(-0x2b7,-0x2ca)]=_0x8b7796;function _0x499714(_0x434d6f,_0x4111a8){return _0x1136e9(_0x434d6f,_0x4111a8- -_0x34b459._0x3514d2);}function _0xd810e7(_0x19a2c9,_0x5d9b27){return _0x1136e9(_0x5d9b27,_0x19a2c9- -0xf4);}this['_echartsContainer']&&(_0x8b7796?this['_echartsContainer'][_0xd810e7(_0x34e475._0x343cf2,0x36d)]['pointerEvents']=_0x499714(-_0x34e475._0x5cf86f,-0x2ae):this['_echartsContainer']['style']['pointerEvents']=_0xd810e7(_0x34e475._0x93b095,0x392));}['_setOptionsHook'](_0x29b36d,_0x34c097){this['setEchartsOption'](_0x29b36d);}[_0x96d745(0x2a4,0x2b1)](_0xe85c95){const _0x12c7a0={_0x1c53c3:0x26d,_0x481ea6:0x24d,_0x5f5dac:0x269,_0x17abca:0x268},_0x412b79={_0x26a3c2:0x501},_0xda78e6={_0xaf1e2d:0x52d};function _0x48e555(_0x311a25,_0x466440){return _0x1136e9(_0x311a25,_0x466440- -_0xda78e6._0xaf1e2d);}function _0x4011a8(_0xbecf5f,_0x8854ac){return _0x96d745(_0xbecf5f- -_0x412b79._0x26a3c2,_0x8854ac);}_0xe85c95?this['_echartsContainer']['style'][_0x4011a8(-0x269,-_0x12c7a0._0x1c53c3)]='visible':this['_echartsContainer'][_0x4011a8(-_0x12c7a0._0x481ea6,-0x25f)][_0x4011a8(-_0x12c7a0._0x5f5dac,-_0x12c7a0._0x17abca)]='hidden';}[_0x1136e9(0x4a9,0x498)](){const _0x33fed0={_0x1c1b2a:0x344,_0x38fc4b:0x17a};function _0x490c5d(_0x511ce4,_0x2a43a5){return _0x1136e9(_0x511ce4,_0x2a43a5- -0x7bc);}function _0xdb0d53(_0x29cf0f,_0x3a0200){return _0x96d745(_0x3a0200- -0x11d,_0x29cf0f);}this['_map'][_0x490c5d(-0x368,-0x35b)][_0x490c5d(-_0x33fed0._0x1c1b2a,-0x35c)]=this['options']['depthTest']??!![],this['_map'][_0xdb0d53(0x191,0x17a)]['echartsAutoHeight']=this['options'][_0xdb0d53(0x14d,0x175)]??![],this['_map'][_0xdb0d53(0x19c,_0x33fed0._0x38fc4b)]['echartsFixedHeight']=this['options'][_0xdb0d53(0x197,0x1a5)]??0x0;}['_addedHook'](){const _0x1e8756={_0x2a0054:0x158,_0x59417d:0x1c3,_0x35d11f:0x1cd};function _0x129811(_0x20aba1,_0x273143){return _0x1136e9(_0x273143,_0x20aba1- -0x357);}this['_echartsContainer']=this['_createChartOverlay']();function _0x531512(_0x964faa,_0xf5f05a){return _0x96d745(_0xf5f05a- -0xdd,_0x964faa);}this[_0x129811(0x139,_0x1e8756._0x2a0054)]=echarts__namespace[_0x531512(0x19d,_0x1e8756._0x59417d)](this['_echartsContainer']),this['_echartsInstance']['_mars3d_scene']=this['_map']['scene'],this['setEchartsOption'](this[_0x531512(0x1f0,_0x1e8756._0x35d11f)]);}['_removedHook'](){const _0x50e578={_0x247e6d:0x19a,_0x166843:0x244,_0x2db47d:0x1a0},_0x178964={_0x45407e:0x449};this['_echartsInstance']&&(this[_0x41e6e9(-_0x50e578._0x247e6d,-0x183)]['clear'](),this['_echartsInstance']['dispose'](),delete this[_0x21a88f(-0x250,-_0x50e578._0x166843)]);function _0x21a88f(_0x3ed0ea,_0x287bce){return _0x96d745(_0x287bce- -0x50a,_0x3ed0ea);}function _0x41e6e9(_0x56a1b5,_0x1d439e){return _0x96d745(_0x1d439e- -_0x178964._0x45407e,_0x56a1b5);}this[_0x21a88f(-0x297,-0x26f)]&&(this[_0x41e6e9(-0x1c4,-_0x50e578._0x2db47d)][_0x21a88f(-0x22f,-0x246)]['removeChild'](this['_echartsContainer']),delete this[_0x21a88f(-0x248,-0x26f)]);}['_createChartOverlay'](){const _0x366416={_0x3af3fc:0x183,_0x4f9e4b:0x469,_0xef6788:0x41c,_0x5d9f52:0x45f,_0x54771e:0x195,_0x5da02d:0x444,_0xf2a1ce:0x192,_0x805b55:0x45f,_0x3b6edb:0x1a0},_0x8a565=mars3d__namespace[_0x1904d(0x193,0x174)]['create']('div','mars3d-echarts',this['_map']['container']);_0x8a565['id']=this['id'],_0x8a565[_0x1904d(0x194,_0x366416._0x3af3fc)][_0x4c687f(0x462,_0x366416._0x4f9e4b)]=_0x4c687f(0x49b,0x476);function _0x4c687f(_0x116005,_0xe315fa){return _0x96d745(_0xe315fa-0x1ab,_0x116005);}_0x8a565['style']['top']='0px',_0x8a565[_0x4c687f(0x44d,0x45f)]['left']=_0x4c687f(_0x366416._0xef6788,0x438);function _0x1904d(_0x4334ee,_0x15d0ca){return _0x96d745(_0x4334ee- -0x120,_0x15d0ca);}return _0x8a565[_0x4c687f(0x464,_0x366416._0x5d9f52)]['width']=this['_map']['scene'][_0x1904d(_0x366416._0x54771e,0x18c)][_0x4c687f(0x451,_0x366416._0x5da02d)]+'px',_0x8a565[_0x1904d(0x194,_0x366416._0xf2a1ce)]['height']=this['_map']['scene']['canvas']['clientHeight']+'px',_0x8a565[_0x4c687f(0x43b,_0x366416._0x805b55)][_0x1904d(_0x366416._0x3b6edb,0x19a)]=this['_pointerEvents']?'all':_0x4c687f(0x42b,0x450),_0x8a565['style'][_0x1904d(0x190,0x1b0)]=this['options']['zIndex']??0x9,_0x8a565;}['resize'](){const _0x4b5805={_0x4144f6:0x409,_0x5cd12c:0x26f,_0x40d971:0x402,_0x522481:0x3d3,_0x2190cf:0x252,_0x3eed30:0x261,_0x1df9a2:0x3fb,_0x49bb76:0x406};if(!this[_0x19c22b(_0x4b5805._0x4144f6,0x40a)])return;function _0x19c22b(_0x17a0ac,_0x2d9f9f){return _0x96d745(_0x17a0ac-0x143,_0x2d9f9f);}this[_0x23b62b(0x26c,0x265)][_0x23b62b(_0x4b5805._0x5cd12c,0x27e)][_0x23b62b(0x27b,0x29e)]=this['_map'][_0x19c22b(0x3da,_0x4b5805._0x40d971)]['canvas']['clientWidth']+'px';function _0x23b62b(_0x26c83e,_0x5ea085){return _0x96d745(_0x5ea085- -0x36,_0x26c83e);}this[_0x23b62b(0x26f,0x265)]['style'][_0x19c22b(0x3f4,_0x4b5805._0x522481)]=this['_map'][_0x23b62b(_0x4b5805._0x2190cf,_0x4b5805._0x3eed30)]['canvas'][_0x19c22b(_0x4b5805._0x1df9a2,0x403)]+'px',this[_0x19c22b(_0x4b5805._0x4144f6,_0x4b5805._0x49bb76)]['resize']();}['setEchartsOption'](_0x2f3835,_0x2918ea,_0x23f8b6){const _0x4da431={_0x5f2940:0x19d,_0x442dc6:0x179},_0x208ce2={_0x3bb0a4:0x308};function _0x2d70bf(_0x32fcd1,_0x8e18dc){return _0x1136e9(_0x8e18dc,_0x32fcd1- -_0x208ce2._0x3bb0a4);}function _0x31f395(_0x33d3a1,_0x4941e8){return _0x1136e9(_0x4941e8,_0x33d3a1- -0x2f3);}if(this['_echartsInstance']){const _0x27cca3={};_0x27cca3['onlySimpleType']=!![],_0x2f3835={'mars3dMap':{},...mars3d__namespace['Util'][_0x2d70bf(0x152,0x177)](_0x2f3835,_0x27cca3)},delete _0x2f3835['eventParent'],this[_0x31f395(_0x4da431._0x5f2940,_0x4da431._0x442dc6)]['setOption'](_0x2f3835,_0x2918ea,_0x23f8b6);}}['getRectangle'](_0x36012d){const _0x763555={_0x26e977:0xe5,_0x42791f:0x104,_0x5e6738:0xf9,_0x327828:0xea},_0x160edd={_0x5375ff:0x15e},_0x16029e={_0x1420d8:0x39f},_0x2c1dbd={_0x2c47a2:0x3b8},_0x10c9b2={_0x1bf453:0x3a2,_0x3a9557:0x1b8};let _0xd506cd,_0x410af4,_0x30a619,_0xe204f0;function _0x5b71ef(_0x1c8f58){function _0x1fab69(_0x24d93e,_0xade9f){return _0x53f0(_0xade9f-0x14d,_0x24d93e);}if(!Array['isArray'](_0x1c8f58))return;function _0x257879(_0xff245e,_0x444d89){return _0x53f0(_0x444d89-0x2e7,_0xff245e);}const _0x489b4b=_0x1c8f58[0x0]||0x0,_0x33b11b=_0x1c8f58[0x1]||0x0;_0x489b4b!==0x0&&_0x33b11b!==0x0&&(_0xd506cd===undefined?(_0xd506cd=_0x489b4b,_0x410af4=_0x489b4b,_0x30a619=_0x33b11b,_0xe204f0=_0x33b11b):(_0xd506cd=Math[_0x257879(0x39a,_0x10c9b2._0x1bf453)](_0xd506cd,_0x489b4b),_0x410af4=Math[_0x1fab69(_0x10c9b2._0x3a9557,0x1d4)](_0x410af4,_0x489b4b),_0x30a619=Math['min'](_0x30a619,_0x33b11b),_0xe204f0=Math['max'](_0xe204f0,_0x33b11b)));}function _0x593ffe(_0x23e39c,_0x17c7fa){return _0x96d745(_0x17c7fa- -_0x2c1dbd._0x2c47a2,_0x23e39c);}function _0x1c3b68(_0x50a88e,_0x2f397b){return _0x96d745(_0x50a88e- -_0x16029e._0x1420d8,_0x2f397b);}const _0x16b89d=this['options'][_0x1c3b68(-0xf1,-_0x763555._0x26e977)];_0x16b89d&&_0x16b89d['forEach'](_0x300f1b=>{const _0x2df243={_0x5d772c:0x8f};function _0xf896ae(_0x1d1b2c,_0x1495cc){return _0x1c3b68(_0x1495cc- -0x109,_0x1d1b2c);}function _0x43e5be(_0x1c1725,_0x2faf5c){return _0x1c3b68(_0x2faf5c- -_0x2df243._0x5d772c,_0x1c1725);}_0x300f1b[_0x43e5be(-_0x160edd._0x5375ff,-0x159)]&&_0x300f1b[_0x43e5be(-0x134,-0x159)]['forEach'](_0x58f998=>{function _0x2935f3(_0x3f20a8,_0x48010f){return _0xf896ae(_0x3f20a8,_0x48010f-0x392);}function _0x37c53d(_0x27a7b9,_0x54dcc8){return _0x43e5be(_0x54dcc8,_0x27a7b9-0x2f1);}if(_0x58f998[_0x2935f3(0x1b0,0x1b3)])_0x5b71ef(_0x58f998[_0x37c53d(0x18c,0x18d)]);else _0x58f998['coords']&&_0x58f998['coords']['forEach'](_0x2769a2=>{_0x5b71ef(_0x2769a2);});});});if(_0xd506cd===0x0&&_0x30a619===0x0&&_0x410af4===0x0&&_0xe204f0===0x0)return null;if(_0x36012d!==null&&_0x36012d!==void 0x0&&_0x36012d[_0x593ffe(-_0x763555._0x42791f,-_0x763555._0x5e6738)]){const _0x2915d6={};return _0x2915d6['xmin']=_0xd506cd,_0x2915d6['xmax']=_0x410af4,_0x2915d6['ymin']=_0x30a619,_0x2915d6['ymax']=_0xe204f0,_0x2915d6;}else return Cesium[_0x593ffe(-0xf6,-0xfd)][_0x1c3b68(-0x111,-_0x763555._0x327828)](_0xd506cd,_0x30a619,_0x410af4,_0xe204f0);}['on'](_0x38c715,_0x3a19c4,_0x597cb3){return this['_echartsInstance']['on'](_0x38c715,_0x3a19c4,_0x597cb3||this),this;}[_0x96d745(0x2af,0x292)](_0x405755,_0x57bcd1,_0x10814b,_0x389f40){return this['_echartsInstance']['on'](_0x405755,_0x57bcd1,_0x10814b,_0x389f40||this),this;}[_0x96d745(0x28a,0x27b)](_0x47da6f,_0x2d8368,_0xa5bf66){const _0x4cd4de={_0x58b483:0x14f,_0x44091c:0x131},_0x21d342={_0x1e125e:0x13b};this['_echartsInstance'][_0x15ba6d(_0x4cd4de._0x58b483,_0x4cd4de._0x44091c)](_0x47da6f,_0x2d8368,_0xa5bf66||this);function _0x15ba6d(_0xac4854,_0x22ca00){return _0x96d745(_0xac4854- -_0x21d342._0x1e125e,_0x22ca00);}return this;}}mars3d__namespace[_0x96d745(0x2ad,0x2b2)]['register'](_0x96d745(0x2c3,0x2d1),EchartsLayer),mars3d__namespace['layer']['EchartsLayer']=EchartsLayer,mars3d__namespace[_0x96d745(0x2c3,0x2c0)]=echarts__namespace,exports[_0x1136e9(0x442,0x469)]=EchartsLayer,Object[_0x1136e9(0x47b,0x452)](echarts)[_0x1136e9(0x474,0x49d)](function(_0x1ee382){if(_0x1ee382!=='default'&&!exports['hasOwnProperty'](_0x1ee382))Object['defineProperty'](exports,_0x1ee382,{'enumerable':!![],'get':function(){return echarts[_0x1ee382];}});});function _0x1136e9(_0x26076b,_0x373499){return _0x53f0(_0x373499-0x3e0,_0x26076b);}const _0x208f2a={};function _0x3a09(){const _0x14893f=['ywjZB2X1Dgu','otqXody0CNbcuvHc','u2nLBMvuCMfUC2zVCM1Z','x21VDw50zwriB29R','zwXSAxbZB2LK','DhLWzq','BwLU','mJrtCwTKsvG','zM9YrwfJAa','D2LKDgG','zgf0yq','nde4odbJBhLKt2G','CMvTB3zLrxzLBNrmAxn0zw5LCG','ndmXnJu0mffUD3juBq','ndK1ntq0nez3rxjsBq','A2v5CW','Bg5N','B2zM','x3bVAw50zxjfDMvUDhm','BwfYCZnKtwfW','mhb4','zNjVBurLz3jLzxm','CMvNAxn0zxjdB29YzgLUyxrLu3LZDgvT','z2v0qxr0CLzHBa','DxbKyxrLtgf5B3v0','y2XHBxbuB0DYB3vUza','u0nftKuZra','odK1mdy3oefNrvPMBa','nZC1ENPqugTV','zwnOyxj0C0rLChrOvgvZDa','C2nLBMu','DMLZAwjPBgL0Eq','y2XPzw50v2LKDgG','y3jLyxrL','x2vJAgfYDhndB250ywLUzxi','CMvNAxn0zxjby3rPB24','Bwf4','ywrKrxzLBNrmAxn0zw5LCG','rwnOyxj0C0XHEwvY','Aw5PDa','z2v0','zwfJAenVBxbVBMvUDa','zgvMyxvSDe9WDgLVBG','x3nOB3DiB29R','BM9Uzq','z2v0qK1HCa','ywXS','zwfJAfnLCMLLCW','x21HCa','B3b0Aw9UCW','zxzLBNq','mtqYmZGZB29WzxfV','tgf5zxjvDgLS','C2vYAwvZ','B25cEvf1zxj5','EKLUzgv4','AgvPz2H0','zgLTzw5ZAw9UCW','rg9TvxrPBa','C3r5Bgu','y2fUDMfZ','mJyZmZmZCMfcEhjK','zgvMyxvSDa','y2XPzw50sgvPz2H0','x19TyxbpzMzZzxq','x19LC01VzhvSzq','uMvJDgfUz2XL','zwnOyxj0C0f1Dg9izwLNAhq','mZHZvMHNu1e','Cg9ZAxrPB24','AxngB3jTyxq','Cg9PBNrLCKv2zw50CW','Cg9ZDfjLBMrLCG','zML4zwrizwLNAhq','zwnOyxj0CW','y29UDgfPBMvY','x21HCNmZzf9Zy2vUzq','x2vJAgfYDhnjBNn0yw5Jzq','mJDwEvbKwxO','x21HCe9MzNnLDa','DMfSDwu','x2fWAq'];_0x3a09=function(){return _0x14893f;};return _0x3a09();}_0x208f2a[_0x96d745(0x2c9,0x2b9)]=!![],Object['defineProperty'](exports,_0x96d745(0x2ba,0x2e3),_0x208f2a);
15
+ }));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mars3d-echarts",
3
- "version": "3.7.20",
3
+ "version": "3.7.21",
4
4
  "description": "Mars3D平台插件,结合echarts可视化功能插件",
5
5
  "main": "dist/mars3d-echarts.js",
6
6
  "files": [
@@ -10,7 +10,7 @@
10
10
  "echarts": "^5.4.3"
11
11
  },
12
12
  "devDependencies": {
13
- "mars3d": "~3.7.20"
13
+ "mars3d": "~3.7.21"
14
14
  },
15
15
  "scripts": {
16
16
  "lint": "eslint ./src/**/*.{js,ts} --fix"