mars3d-echarts 3.10.5 → 3.10.7
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.
- package/mars3d-echarts.js +3 -3
- package/package.json +2 -2
package/mars3d-echarts.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Mars3D平台插件,结合echarts可视化功能插件 mars3d-echarts
|
|
3
3
|
*
|
|
4
|
-
* 版本信息:v3.10.
|
|
5
|
-
* 编译日期:2025-
|
|
4
|
+
* 版本信息:v3.10.7
|
|
5
|
+
* 编译日期:2025-10-24 21:05
|
|
6
6
|
* 版权所有:Copyright by 火星科技 http://mars3d.cn
|
|
7
7
|
* 使用单位:火星科技免费公开版 ,2025-07-01
|
|
8
8
|
*/
|
|
@@ -11,5 +11,5 @@
|
|
|
11
11
|
typeof define === 'function' && define.amd ? define(['exports', 'mars3d', 'echarts'], factory) :
|
|
12
12
|
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory(global["mars3d-echarts"] = {}, global.mars3d, global.echarts));
|
|
13
13
|
})(this, (function (exports, mars3d, echarts) {
|
|
14
|
-
'use strict';(function(_0x5a597c,_0x38192c){const _0x9dcc59={_0x53c8df:0x4c4,_0x363380:0x24e,_0x4b8a18:0x23f,_0x3306e5:0x232,_0x1fca6c:0x22f,_0x33d66c:0x24b,_0x91214a:0x4e6,_0x1c8da8:0x4ce,_0xc7468f:0x4f5,_0x58149b:0x4a6,_0x54f1cf:0x4cc,_0x4004a1:0x263,_0x5b4475:0x4e5,_0x3b14fc:0x510},_0x2d6d05={_0x2102c1:0xff},_0x51df32=_0x5a597c();function _0xeadf28(_0x3fc3ad,_0x4ce6f0){return _0x1ac7(_0x4ce6f0-_0x2d6d05._0x2102c1,_0x3fc3ad);}function _0x39f271(_0x493d90,_0x38227c){return _0x1ac7(_0x493d90-0x394,_0x38227c);}while(!![]){try{const _0x1ef147=parseInt(_0x39f271(_0x9dcc59._0x53c8df,0x4bf))/0x1+-parseInt(_0xeadf28(0x229,_0x9dcc59._0x363380))/0x2+parseInt(_0xeadf28(_0x9dcc59._0x4b8a18,_0x9dcc59._0x3306e5))/0x3*(-parseInt(_0xeadf28(_0x9dcc59._0x1fca6c,0x233))/0x4)+-parseInt(_0xeadf28(0x233,_0x9dcc59._0x33d66c))/0x5*(parseInt(_0x39f271(_0x9dcc59._0x91214a,0x4ff))/0x6)+parseInt(_0x39f271(_0x9dcc59._0x1c8da8,_0x9dcc59._0xc7468f))/0x7+-parseInt(_0x39f271(_0x9dcc59._0x58149b,0x4b2))/0x8*(-parseInt(_0x39f271(_0x9dcc59._0x54f1cf,0x4b3))/0x9)+parseInt(_0xeadf28(_0x9dcc59._0x4004a1,0x244))/0xa*(-parseInt(_0x39f271(_0x9dcc59._0x5b4475,_0x9dcc59._0x3b14fc))/0xb);if(_0x1ef147===_0x38192c)break;else _0x51df32['push'](_0x51df32['shift']());}catch(_0x3d8724){_0x51df32['push'](_0x51df32['shift']());}}}(_0x482d,0x2fad7));function _0x1a0f74(_0x1b54c3,_0x28b1ee){return _0x1ac7(_0x1b54c3- -0x126,_0x28b1ee);}function _interopNamespace(_0x5eb4cb){const _0x3935eb={_0x3448a9:0x50c},_0x317715={_0x5a375a:0xc3,_0x5085e6:0xc4,_0x5966e0:0x2af},_0x34ef12={_0xeb8c7f:0x55e},_0x31c071={_0x33a127:0x17b};if(_0x5eb4cb&&_0x5eb4cb['__esModule'])return _0x5eb4cb;function _0xe9ac1c(_0x24ccc7,_0x1b965b){return _0x1ac7(_0x24ccc7-0x3d9,_0x1b965b);}function _0x16b350(_0x4aa30a,_0x13d6be){return _0x1ac7(_0x4aa30a-_0x31c071._0x33a127,_0x13d6be);}var _0x19b9be=Object['create'](null);return _0x5eb4cb&&Object[_0x16b350(0x2ac,0x288)](_0x5eb4cb)['forEach'](function(_0x395c50){function _0x62325d(_0x4adaa1,_0x7b08b1){return _0x16b350(_0x4adaa1- -0x1db,_0x7b08b1);}function _0x51df67(_0x1b902d,_0x186ff0){return _0x16b350(_0x186ff0- -_0x34ef12._0xeb8c7f,_0x1b902d);}if(_0x395c50!==_0x62325d(_0x317715._0x5a375a,_0x317715._0x5085e6)){var _0x321da6=Object[_0x51df67(-_0x317715._0x5966e0,-0x29c)](_0x5eb4cb,_0x395c50);Object['defineProperty'](_0x19b9be,_0x395c50,_0x321da6['get']?_0x321da6:{'enumerable':!![],'get':function(){return _0x5eb4cb[_0x395c50];}});}}),_0x19b9be[_0xe9ac1c(0x4fc,_0x3935eb._0x3448a9)]=_0x5eb4cb,_0x19b9be;}var mars3d__namespace=_interopNamespace(mars3d),echarts__namespace=_interopNamespace(echarts);const Cesium$1=mars3d__namespace['Cesium'];class CompositeCoordinateSystem{constructor(_0x3f2060,_0x5bf2f9){const _0x2ed400={_0x3aa267:0x37d,_0x315197:0x9b};this['_mars3d_scene']=_0x3f2060;function _0x55abf8(_0x3b91cc,_0xc64c66){return _0x1ac7(_0xc64c66- -0xa0,_0x3b91cc);}this[_0x27bc7d(_0x2ed400._0x3aa267,0x36c)]=['lng',_0x55abf8(0xa6,0x81)];function _0x27bc7d(_0x51acbb,_0x22949a){return _0x1ac7(_0x22949a-0x24f,_0x51acbb);}this['_mapOffset']=[0x0,0x0],this[_0x55abf8(_0x2ed400._0x315197,0x97)]=_0x5bf2f9;}[_0x1a0f74(-0x8,-0x33)](_0x43c68f){function _0x4de5c7(_0x581a2c,_0x276175){return _0x1a0f74(_0x276175-0x333,_0x581a2c);}this[_0x4de5c7(0x352,0x326)]=_0x43c68f;}['getBMap'](){return this['_mars3d_scene'];}['dataToPoint'](_0x2af6e7){const _0xe029c2={_0x69a866:0x1c0,_0x23a702:0x1c9,_0x1c4520:0x32c,_0x3bac89:0x314,_0x968258:0x1ea,_0x523af1:0x302,_0x145446:0x1e3,_0x183942:0x1bd,_0x1fcc26:0x1b4},_0x5420b3={_0x46180:0x2e0},_0x23e7fd={_0x2613f5:0x1f3},_0x579e74=this['_mars3d_scene'];function _0x4b8fa7(_0x3a17ed,_0x1419d3){return _0x1a0f74(_0x3a17ed- -_0x23e7fd._0x2613f5,_0x1419d3);}const _0x43c4fa=[NaN,NaN];let _0x30dd2=_0x579e74[_0x4b8fa7(-_0xe029c2._0x69a866,-0x1cb)];_0x579e74['echartsAutoHeight']&&(_0x30dd2=_0x579e74['getHeight'](Cesium$1[_0x4b8fa7(-_0xe029c2._0x23a702,-0x1f6)][_0x4a0b1c(_0xe029c2._0x1c4520,_0xe029c2._0x3bac89)](_0x2af6e7[0x0],_0x2af6e7[0x1])));const _0x7d4bbc=Cesium$1[_0x4b8fa7(-_0xe029c2._0x968258,-0x1be)]['fromDegrees'](_0x2af6e7[0x0],_0x2af6e7[0x1],_0x30dd2);if(!_0x7d4bbc)return _0x43c4fa;const _0x39c495=mars3d__namespace['PointTrans'][_0x4a0b1c(_0xe029c2._0x523af1,0x31d)](_0x579e74,_0x7d4bbc);if(!_0x39c495)return _0x43c4fa;if(_0x579e74['echartsDepthTest']&&_0x579e74['mode']===Cesium$1['SceneMode'][_0x4b8fa7(-0x1e3,-_0xe029c2._0x145446)]){const _0x36f63d=new Cesium$1['EllipsoidalOccluder'](_0x579e74['globe']['ellipsoid'],_0x579e74[_0x4b8fa7(-_0xe029c2._0x183942,-_0xe029c2._0x1fcc26)][_0x4b8fa7(-0x1bc,-0x1d4)]),_0x2c19e0=_0x36f63d['isPointVisible'](_0x7d4bbc);if(!_0x2c19e0)return _0x43c4fa;}function _0x4a0b1c(_0x3ab790,_0x4e28af){return _0x1a0f74(_0x4e28af-_0x5420b3._0x46180,_0x3ab790);}return[_0x39c495['x']-this['_mapOffset'][0x0],_0x39c495['y']-this['_mapOffset'][0x1]];}[_0x1a0f74(0xc,0x6)](){const _0x2b1e2c={_0x4bbfb7:0x4fb,_0x564437:0x53d};function _0xed4700(_0x50575a,_0xa777aa){return _0x18fff4(_0x50575a,_0xa777aa- -0x2ca);}const _0x4a4cc9=this[_0x204d2e(_0x2b1e2c._0x4bbfb7,0x51d)];function _0x204d2e(_0x28d9c8,_0x5b9757){return _0x1a0f74(_0x5b9757-0x50c,_0x28d9c8);}return new echarts__namespace['graphic']['BoundingRect'](0x0,0x0,_0x4a4cc9['getWidth'](),_0x4a4cc9[_0x204d2e(_0x2b1e2c._0x564437,0x533)]());}['getRoamTransform'](){const _0x2d6e0b={_0x4a0098:0x336};function _0x5b2186(_0x29d575,_0x41626d){return _0x1a0f74(_0x41626d-_0x2d6e0b._0x4a0098,_0x29d575);}return echarts__namespace[_0x5b2186(0x33b,0x34e)]['create']();}}CompositeCoordinateSystem['dimensions']=['lng','lat'],CompositeCoordinateSystem[_0x18fff4(0x390,0x394)]=function(_0x4668dd,_0x3e0a95){const _0x5edbbc={_0x191ed5:0x13,_0x467333:0x3},_0x3a4e44={_0x359783:0x336},_0x7a8219={_0x1bb341:0x353},_0x5ab227={_0xfefa91:0xdf,_0x1d2732:0x344,_0x3503d7:0x85};let _0x3a85c8;const _0x590e28=_0x4668dd['scheduler']['ecInstance']['_mars3d_scene'];_0x4668dd[_0x5333bb(0x353,0x359)]('mars3dMap',function(_0x36427e){const _0x14b9cd={_0x545b1c:0x17};function _0x267112(_0xc3441a,_0x3d520a){return _0x5333bb(_0xc3441a- -0x3f4,_0x3d520a);}const _0x2b5ecc=_0x3e0a95[_0xa7eaad(0x340,0x32c)]()[_0x267112(-0xb7,-_0x5ab227._0xfefa91)];function _0xa7eaad(_0xadeb71,_0x14cfe6){return _0x5333bb(_0x14cfe6- -_0x14b9cd._0x545b1c,_0xadeb71);}if(!_0x2b5ecc)return;!_0x3a85c8&&(_0x3a85c8=new CompositeCoordinateSystem(_0x590e28,_0x3e0a95)),_0x36427e['coordinateSystem']=_0x3a85c8,_0x3a85c8[_0xa7eaad(_0x5ab227._0x1d2732,0x334)](_0x36427e[_0x267112(-_0x5ab227._0x3503d7,-0xa1)]||[0x0,0x0]);});function _0x5333bb(_0x5bf1f5,_0x44cc11){return _0x1a0f74(_0x5bf1f5-_0x7a8219._0x1bb341,_0x44cc11);}_0x4668dd['eachSeries'](function(_0x487a20){function _0xfed723(_0x3b4744,_0x4266ee){return _0x5333bb(_0x3b4744- -_0x3a4e44._0x359783,_0x4266ee);}function _0x1b9091(_0xf3e025,_0x509580){return _0x5333bb(_0xf3e025- -0x535,_0x509580);}_0x487a20['get'](_0xfed723(0x13,0x24))==='mars3dMap'&&(!_0x3a85c8&&(_0x3a85c8=new CompositeCoordinateSystem(_0x590e28,_0x3e0a95)),_0x487a20[_0xfed723(_0x5edbbc._0x191ed5,-_0x5edbbc._0x467333)]=_0x3a85c8);});};if(echarts__namespace!==null&&echarts__namespace!==void 0x0&&echarts__namespace['init']){echarts__namespace['registerCoordinateSystem']('mars3dMap',CompositeCoordinateSystem);const _0x36b4ae={};_0x36b4ae['type']=_0x18fff4(0x3d6,0x3c4),_0x36b4ae['event']=_0x18fff4(0x3db,0x3c4),_0x36b4ae[_0x18fff4(0x3af,0x3a4)]=_0x18fff4(0x3d9,0x3cf),echarts__namespace['registerAction'](_0x36b4ae,function(_0x2aee50,_0xbba673){});const _0x38272a={};_0x38272a[_0x18fff4(0x397,0x3a1)]=![];const _0x522e77={};_0x522e77['type']='mars3dMap',_0x522e77[_0x1a0f74(0x31,0x41)]=function(){return this['_mars3d_scene'];},_0x522e77['defaultOption']=_0x38272a,echarts__namespace['extendComponentModel'](_0x522e77),echarts__namespace['extendComponentView']({'type':'mars3dMap','init':function(_0x46440d,_0x349306){const _0x299c28={_0x9a3c3c:0x23e,_0x237bcb:0x337,_0x48bb54:0x224,_0x4ecb88:0x20a};this['api']=_0x349306;function _0x4db91a(_0x4cd8f2,_0x52267a){return _0x1a0f74(_0x4cd8f2-0x345,_0x52267a);}this[_0x36f618(-0x24e,-0x25a)]=_0x46440d['scheduler']['ecInstance'][_0x36f618(-_0x299c28._0x9a3c3c,-0x217)];function _0x36f618(_0xa93a2b,_0xf058c){return _0x18fff4(_0xa93a2b,_0xf058c- -0x5eb);}this[_0x4db91a(_0x299c28._0x237bcb,0x31a)][_0x36f618(-_0x299c28._0x48bb54,-_0x299c28._0x4ecb88)][_0x36f618(-_0x299c28._0x4ecb88,-0x211)](this['moveHandler'],this);},'moveHandler':function(_0xcd8df6,_0x4f5137){const _0x12785e={};function _0x208607(_0x124692,_0x45d8a4){return _0x1a0f74(_0x124692-0xfe,_0x45d8a4);}_0x12785e['type']='mars3dMapRoam',this[_0x208607(0x115,0xea)]['dispatchAction'](_0x12785e);},'render':function(_0x39f609,_0x1cea65,_0x165c9c){},'dispose':function(_0x55e3da){const _0x1c875a={_0x598019:0x334};function _0x79881e(_0x1f8df5,_0x54934d){return _0x18fff4(_0x54934d,_0x1f8df5- -0x81);}this['scene'][_0x79881e(0x360,_0x1c875a._0x598019)]['removeEventListener'](this['moveHandler'],this);}});}else throw new Error('请引入\x20echarts\x20库\x20');const Cesium=mars3d__namespace[_0x1a0f74(0x41,0x52)],BaseLayer=mars3d__namespace['layer']['BaseLayer'];class EchartsLayer extends BaseLayer{constructor(_0x1038f4={}){const _0x134670={_0x59f589:0xa2},_0x93a0f2={_0x448ae1:0x48d};super(_0x1038f4);function _0x194d99(_0x1a661b,_0x20d454){return _0x18fff4(_0x1a661b,_0x20d454- -_0x93a0f2._0x448ae1);}this['_pointerEvents']=this[_0x194d99(-_0x134670._0x59f589,-0xcc)]['pointerEvents'];}get[_0x18fff4(0x39f,0x3ae)](){return this['_echartsInstance'];}get['pointerEvents'](){const _0x56cc0c={_0x4fde82:0x9d},_0x102008={_0x3bc568:0x452};function _0x1e22e5(_0x24d2e2,_0x331902){return _0x18fff4(_0x24d2e2,_0x331902- -_0x102008._0x3bc568);}return this[_0x1e22e5(-0x73,-_0x56cc0c._0x4fde82)];}set[_0x18fff4(0x395,0x39b)](_0x1087e6){const _0x480124={_0x533edd:0x211,_0x3ae7e3:0x207,_0x5b2c1e:0x21e,_0x51378c:0x1de,_0x4a031a:0x3e5};function _0x5359c3(_0x8826be,_0x34db5f){return _0x18fff4(_0x34db5f,_0x8826be-0x50);}function _0x36661e(_0x75a8b,_0x1944b9){return _0x18fff4(_0x1944b9,_0x75a8b- -0x59a);}this[_0x36661e(-0x1e5,-_0x480124._0x533edd)]=_0x1087e6,this[_0x36661e(-_0x480124._0x3ae7e3,-_0x480124._0x5b2c1e)]&&(_0x1087e6?this['_echartsContainer'][_0x36661e(-_0x480124._0x51378c,-0x1f7)]['pointerEvents']='all':this['_echartsContainer']['style'][_0x5359c3(0x3eb,_0x480124._0x4a031a)]='none');}['_setOptionsHook'](_0x3487a5,_0x1de231){const _0x5a743c={_0x8a07cd:0xe6},_0xb37bf={_0x53ec14:0xe7};function _0x6ceca1(_0x58775e,_0x4cbd29){return _0x1a0f74(_0x4cbd29-_0xb37bf._0x53ec14,_0x58775e);}this[_0x6ceca1(_0x5a743c._0x8a07cd,0xea)](_0x3487a5);}['_showHook'](_0xca9b5b){const _0x2370c4={_0x20fc57:0x66,_0x5a12af:0x26b,_0x4d06cd:0x29b},_0x5a4c3a={_0x47fc23:0x352};function _0x585a93(_0x3483cb,_0x161047){return _0x18fff4(_0x3483cb,_0x161047- -0x128);}function _0x426aa9(_0x3857ba,_0x25706c){return _0x18fff4(_0x3857ba,_0x25706c- -_0x5a4c3a._0x47fc23);}_0xca9b5b?this['_echartsContainer']['style'][_0x426aa9(0x6b,_0x2370c4._0x20fc57)]='visible':this[_0x585a93(0x25f,_0x2370c4._0x5a12af)]['style']['visibility']=_0x585a93(0x28b,_0x2370c4._0x4d06cd);}['_mountedHook'](){const _0x22c5a1={_0x530692:0xa6,_0x1e807b:0xd0,_0x27c0a1:0xe9,_0x5a7eef:0x10b};this['_map']['scene']['echartsDepthTest']=this[_0x1ec2e9(-0xce,-_0x22c5a1._0x530692)][_0x2539a0(-0x115,-0xf7)]??!![],this[_0x1ec2e9(-_0x22c5a1._0x1e807b,-0xd6)][_0x2539a0(-_0x22c5a1._0x27c0a1,-_0x22c5a1._0x5a7eef)][_0x1ec2e9(-0x102,-0xe4)]=this['options']['clampToGround']??![];function _0x2539a0(_0x5c2b86,_0xe6da24){return _0x18fff4(_0x5c2b86,_0xe6da24- -0x49c);}function _0x1ec2e9(_0x36e047,_0x41161f){return _0x1a0f74(_0x36e047- -0xf0,_0x41161f);}this['_map']['scene']['echartsFixedHeight']=this[_0x1ec2e9(-0xce,-0xf8)]['fixedHeight']??0x0;}[_0x18fff4(0x3dd,0x3ba)](){const _0x4c6160={_0x90b154:0x8e};function _0x429a8c(_0x3ad91f,_0x445cb5){return _0x18fff4(_0x3ad91f,_0x445cb5- -0x95);}this['_echartsContainer']=this['_createChartOverlay']();function _0x9e834d(_0x38861e,_0x5a4fc3){return _0x1a0f74(_0x5a4fc3- -0x6b,_0x38861e);}this[_0x9e834d(-_0x4c6160._0x90b154,-0x6c)]=echarts__namespace['init'](this[_0x9e834d(-0x74,-0x77)]),this[_0x9e834d(-0x88,-0x6c)]['_mars3d_scene']=this['_map']['scene'],this['setEchartsOption'](this['options']);}['_removedHook'](){const _0x251f8f={_0xb3186a:0x275,_0x95292f:0x251,_0x155763:0x3e6,_0x5f3767:0x410,_0x1d0662:0x287,_0x52d1f3:0x275,_0x1ad757:0x3db},_0x4e3ddf={_0x4a8185:0x3e7};function _0x103a51(_0x53ecb3,_0x4bca5f){return _0x1a0f74(_0x53ecb3-_0x4e3ddf._0x4a8185,_0x4bca5f);}this[_0x50520d(-_0x251f8f._0xb3186a,-_0x251f8f._0x95292f)]&&(this['_echartsInstance']['clear'](),this[_0x103a51(0x3e6,0x3cd)]['dispose'](),delete this[_0x103a51(_0x251f8f._0x155763,_0x251f8f._0x5f3767)]);function _0x50520d(_0x3a5403,_0x107399){return _0x1a0f74(_0x107399- -0x250,_0x3a5403);}this[_0x50520d(-_0x251f8f._0x1d0662,-0x25c)]&&(this['_map']['container'][_0x50520d(-_0x251f8f._0x52d1f3,-0x249)](this['_echartsContainer']),delete this[_0x103a51(_0x251f8f._0x1ad757,0x3da)]);}[_0x1a0f74(-0x7,-0x1c)](){const _0x5541eb={_0x30e940:0x1bd,_0xc460a6:0x1de,_0x4efc42:0x27,_0x26a6af:0x2a,_0x479cf4:0x45,_0x5a39c2:0x43,_0x44bd27:0x2d,_0x1e417d:0x1ea,_0x310d1f:0x1ec,_0xb0f012:0xb,_0x274599:0xa,_0x34199c:0x3f,_0x219907:0x59},_0xde9c52={_0x443c6d:0x20c},_0x4fe43e={_0x50285:0x47},_0x488685=mars3d__namespace[_0x556c90(-_0x5541eb._0x30e940,-_0x5541eb._0xc460a6)]['create'](_0x556c90(-0x1d1,-0x1d3),'mars3d-echarts',this[_0x4fdc07(-_0x5541eb._0x4efc42,-0x2d)][_0x556c90(-0x235,-0x21f)]);_0x488685['id']=this['id'],_0x488685[_0x4fdc07(-_0x5541eb._0x26a6af,-0x2f)]['position']=_0x4fdc07(-0x58,-_0x5541eb._0x479cf4),_0x488685['style'][_0x556c90(-0x1e7,-0x20b)]='0px',_0x488685['style'][_0x4fdc07(-_0x5541eb._0x5a39c2,-0x69)]='0px';function _0x4fdc07(_0x1794f8,_0x3602b2){return _0x1a0f74(_0x1794f8- -_0x4fe43e._0x50285,_0x3602b2);}_0x488685['style']['width']=this['_map']['scene']['canvas']['clientWidth']+'px',_0x488685[_0x556c90(-0x214,-0x1ef)][_0x4fdc07(-_0x5541eb._0x44bd27,-0x50)]=this[_0x556c90(-_0x5541eb._0x1e417d,-_0x5541eb._0x310d1f)]['scene'][_0x4fdc07(-_0x5541eb._0xb0f012,-_0x5541eb._0x274599)]['clientHeight']+'px',_0x488685['style']['pointerEvents']=this[_0x4fdc07(-0x31,-0x4c)]?'all':'none';function _0x556c90(_0xa233c3,_0x1914db){return _0x1a0f74(_0x1914db- -_0xde9c52._0x443c6d,_0xa233c3);}return _0x488685['style']['zIndex']=this[_0x556c90(-0x208,-0x1ea)][_0x4fdc07(-_0x5541eb._0x34199c,-_0x5541eb._0x219907)]??0x9,_0x488685;}['resize'](){const _0x32b6a2={_0x55bb65:0x339,_0x65c928:0x358,_0x562b44:0x377},_0x33e21c={_0x349572:0x205};function _0xdad0b(_0x39b490,_0x2305b2){return _0x18fff4(_0x2305b2,_0x39b490- -0x5a);}if(!this['_echartsInstance'])return;this[_0xdad0b(_0x32b6a2._0x55bb65,0x352)][_0x2980ce(0x207,0x222)][_0xdad0b(_0x32b6a2._0x65c928,0x366)]=this[_0xdad0b(0x365,_0x32b6a2._0x562b44)]['scene']['canvas']['clientWidth']+'px';function _0x2980ce(_0x15fc2c,_0x437adf){return _0x1a0f74(_0x437adf-_0x33e21c._0x349572,_0x15fc2c);}this[_0xdad0b(0x339,0x318)]['style']['height']=this['_map']['scene'][_0x2980ce(0x243,0x241)]['clientHeight']+'px',this[_0xdad0b(0x344,0x337)]['resize']();}['setEchartsOption'](_0x6eafe4,_0xdd429e,_0x17cf0b){const _0x5c7609={_0x50049b:0x193,_0x3286f3:0x190,_0x3c42eb:0x19e,_0x32818f:0x1ac},_0x46c6b8={_0x29c8f1:0x1b3};function _0x2eb7e7(_0x1f01a9,_0x1b9753){return _0x1a0f74(_0x1f01a9- -_0x46c6b8._0x29c8f1,_0x1b9753);}function _0x2911c3(_0x58c428,_0x491c43){return _0x18fff4(_0x58c428,_0x491c43- -0x258);}if(this[_0x2eb7e7(-0x1b4,-_0x5c7609._0x50049b)]){const _0x15492f={};_0x15492f[_0x2eb7e7(-_0x5c7609._0x3286f3,-0x1a7)]=!![],_0x6eafe4={'mars3dMap':{},...mars3d__namespace['Util']['getAttrVal'](_0x6eafe4,_0x15492f)},delete _0x6eafe4['eventParent'],this[_0x2911c3(0x129,0x146)][_0x2eb7e7(-_0x5c7609._0x3c42eb,-_0x5c7609._0x32818f)](_0x6eafe4,_0xdd429e,_0x17cf0b);}}['getRectangle'](_0x142cf6){const _0x261f03={_0x57e58f:0xc0},_0x283327={_0x3d5743:0x1d8};let _0xfbeed8,_0x359c32,_0x18c795,_0x325f87;function _0x59b258(_0x54d2e7,_0x5da1bc){return _0x18fff4(_0x54d2e7,_0x5da1bc- -0x2b0);}function _0x54e3a6(_0x2067a0){if(!Array['isArray'](_0x2067a0))return;function _0xf3cdc0(_0x1bacc1,_0x16dbd6){return _0x1ac7(_0x16dbd6-0x3b1,_0x1bacc1);}const _0x4be900=_0x2067a0[0x0]||0x0;function _0x1ae67b(_0x390448,_0x43bf77){return _0x1ac7(_0x43bf77- -0x2d1,_0x390448);}const _0x1b73cf=_0x2067a0[0x1]||0x0;_0x4be900!==0x0&&_0x1b73cf!==0x0&&(_0xfbeed8===undefined?(_0xfbeed8=_0x4be900,_0x359c32=_0x4be900,_0x18c795=_0x1b73cf,_0x325f87=_0x1b73cf):(_0xfbeed8=Math[_0x1ae67b(-0x1c2,-0x1ad)](_0xfbeed8,_0x4be900),_0x359c32=Math['max'](_0x359c32,_0x4be900),_0x18c795=Math['min'](_0x18c795,_0x1b73cf),_0x325f87=Math[_0x1ae67b(-0x14c,-0x16d)](_0x325f87,_0x1b73cf)));}function _0x16851d(_0x176f38,_0x3d1515){return _0x1a0f74(_0x3d1515-0x1c0,_0x176f38);}const _0x252a14=this['options'][_0x59b258(_0x261f03._0x57e58f,0xda)];_0x252a14&&_0x252a14['forEach'](_0x48ea0d=>{function _0xa30a81(_0xf08117,_0x33740d){return _0x59b258(_0xf08117,_0x33740d-0xef);}_0x48ea0d[_0xa30a81(0x1ea,_0x283327._0x3d5743)]&&_0x48ea0d['data']['forEach'](_0x2b21fe=>{function _0x403a10(_0x2f4286,_0x17a232){return _0xa30a81(_0x2f4286,_0x17a232-0x318);}function _0x1999f8(_0x4d68e2,_0x549eb9){return _0xa30a81(_0x549eb9,_0x4d68e2- -0x33d);}if(_0x2b21fe[_0x403a10(0x514,0x535)])_0x54e3a6(_0x2b21fe['value']);else _0x2b21fe[_0x1999f8(-0x127,-0x14c)]&&_0x2b21fe['coords']['forEach'](_0x1dc02c=>{_0x54e3a6(_0x1dc02c);});});});if(_0xfbeed8===0x0&&_0x18c795===0x0&&_0x359c32===0x0&&_0x325f87===0x0)return null;if(_0x142cf6!==null&&_0x142cf6!==void 0x0&&_0x142cf6['isFormat']){const _0x36ec34={};return _0x36ec34['xmin']=_0xfbeed8,_0x36ec34['xmax']=_0x359c32,_0x36ec34[_0x16851d(0x1fb,0x1ed)]=_0x18c795,_0x36ec34['ymax']=_0x325f87,_0x36ec34;}else return Cesium['Rectangle']['fromDegrees'](_0xfbeed8,_0x18c795,_0x359c32,_0x325f87);}['on'](_0x15ae34,_0x112982,_0x4655eb){const _0x476368={_0x478b76:0x4bd,_0xf09857:0x4bd};this[_0x1da5df(_0x476368._0x478b76,_0x476368._0xf09857)]['on'](_0x15ae34,_0x112982,_0x4655eb||this);function _0x1da5df(_0x736a1e,_0x2c2ebf){return _0x18fff4(_0x2c2ebf,_0x736a1e-0x11f);}return this;}[_0x1a0f74(0x40,0x66)](_0x431073,_0x3800a9,_0x4eaa9c,_0x38ca5c){return this['_echartsInstance']['on'](_0x431073,_0x3800a9,_0x4eaa9c,_0x38ca5c||this),this;}['off'](_0x1a7f75,_0x1903cc,_0x1b8b69){const _0x2d6a00={_0xd28b46:0xa5,_0x3c6696:0x81},_0x373a49={_0x2cb65c:0x473};function _0x3b544d(_0x539141,_0x58921a){return _0x18fff4(_0x58921a,_0x539141- -_0x373a49._0x2cb65c);}return this['_echartsInstance'][_0x3b544d(-_0x2d6a00._0xd28b46,-_0x2d6a00._0x3c6696)](_0x1a7f75,_0x1903cc,_0x1b8b69||this),this;}}mars3d__namespace['LayerUtil'][_0x18fff4(0x3ea,0x3bd)]('echarts',EchartsLayer),mars3d__namespace['layer'][_0x18fff4(0x3dc,0x3d9)]=EchartsLayer,mars3d__namespace[_0x18fff4(0x3b6,0x390)]=echarts__namespace,mars3d__namespace['Log'][_0x18fff4(0x3c1,0x3d1)]('mars3d-echarts插件\x20注册成功');function _0x18fff4(_0x386d63,_0x40def0){return _0x1ac7(_0x40def0-0x279,_0x386d63);}exports[_0x1a0f74(0x3a,0xe)]=EchartsLayer,Object['keys'](echarts)[_0x18fff4(0x3a7,0x388)](function(_0x553b35){const _0x2fdd4f={_0x25e2da:0x17a},_0x5b440={_0x5908c4:0x51b},_0x40619a={_0x27e7fa:0xf};function _0x1ad343(_0x5da2dc,_0x520aab){return _0x1a0f74(_0x520aab- -_0x40619a._0x27e7fa,_0x5da2dc);}function _0x5b1322(_0x389f9e,_0x11d92a){return _0x18fff4(_0x11d92a,_0x389f9e- -_0x5b440._0x5908c4);}if(_0x553b35!==_0x5b1322(-0x17f,-_0x2fdd4f._0x25e2da)&&!exports[_0x1ad343(0x2c,0x19)](_0x553b35))Object['defineProperty'](exports,_0x553b35,{'enumerable':!![],'get':function(){return echarts[_0x553b35];}});});function _0x1ac7(_0x599b0d,_0x114478){const _0x482da1=_0x482d();return _0x1ac7=function(_0x1ac7b1,_0x3ba552){_0x1ac7b1=_0x1ac7b1-0x10f;let _0x2be37e=_0x482da1[_0x1ac7b1];if(_0x1ac7['DTxAsW']===undefined){var _0x3a0228=function(_0x36b4ae){const _0x38272a='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x522e77='',_0x57ade6='';for(let _0x1056b1=0x0,_0x3e0e86,_0x1ec1ee,_0x5eb4cb=0x0;_0x1ec1ee=_0x36b4ae['charAt'](_0x5eb4cb++);~_0x1ec1ee&&(_0x3e0e86=_0x1056b1%0x4?_0x3e0e86*0x40+_0x1ec1ee:_0x1ec1ee,_0x1056b1++%0x4)?_0x522e77+=String['fromCharCode'](0xff&_0x3e0e86>>(-0x2*_0x1056b1&0x6)):0x0){_0x1ec1ee=_0x38272a['indexOf'](_0x1ec1ee);}for(let _0x19b9be=0x0,_0x395c50=_0x522e77['length'];_0x19b9be<_0x395c50;_0x19b9be++){_0x57ade6+='%'+('00'+_0x522e77['charCodeAt'](_0x19b9be)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x57ade6);};_0x1ac7['ktQSGR']=_0x3a0228,_0x599b0d=arguments,_0x1ac7['DTxAsW']=!![];}const _0x29bcf3=_0x482da1[0x0],_0x143c7d=_0x1ac7b1+_0x29bcf3,_0x2dec41=_0x599b0d[_0x143c7d];return!_0x2dec41?(_0x2be37e=_0x1ac7['ktQSGR'](_0x2be37e),_0x599b0d[_0x143c7d]=_0x2be37e):_0x2be37e=_0x2dec41,_0x2be37e;},_0x1ac7(_0x599b0d,_0x114478);}const _0x1ec1ee={};function _0x482d(){const _0x2410e3=['x19TyxbpzMzZzxq','C3r5Bgu','CMvNAxn0zxi','mZKWnZyWCKjUrfLg','x21HCa','z2v0t3DUuhjVCgvYDhLezxnJCMLWDg9Y','B3b0Aw9UCW','B25SEvnPBxbSzvr5Cgu','AgLKzgvU','BwfYCZnKtwfWuM9HBq','nxfVEu1jzW','z2v0sgvPz2H0','AgfZt3DUuhjVCgvYDhK','nJuWmtrwrKvOsMK','q2fYDg9NCMfWAgLJ','ndrhsNv0rKO','mJe4mdi5oe5xAwz0AW','Ew1PBG','rg9TvxrPBa','B2zM','DxbKyxrLtgf5B3v0','z2v0qK1HCa','Bg9Nsw5MBW','zwnOyxj0C0zPEgvKsgvPz2H0','zNjVBurLz3jLzxm','x21HCNmZzf9Zy2vUzq','y2fTzxjH','Cg9ZAxrPB25xqW','y29VCMrZ','zgL2','rwnOyxj0C0XHEwvY','ywrKrxzLBNrmAxn0zw5LCG','y2fUDMfZ','Dg9xAw5KB3DdB29YzgLUyxrLCW','Bwf4','DMfSDwu','B25cEvf1zxj5','q2vZAxvT','Cg9ZDfjLBMrLCG','zM9YrwfJAa','CgfPBNrLCG','C2vYAwvZ','otC5odK2sgjUBuPk','y29UDgfPBMvY','zwnOyxj0C0f1Dg9izwLNAhq','ywjZB2X1Dgu','z2v0wNi','zwnOyxj0CW','C2nLBMu','x21HCe9MzNnLDa','x2vJAgfYDhndB250ywLUzxi','y3jLyxrL','y29VCMrPBMf0zvn5C3rLBq','zgLTzw5ZAw9UCW','C2v0twfWt2zMC2v0','x2nYzwf0zunOyxj0t3zLCMXHEq','zgf0yq','Bgf0','Cg9PBNrLCKv2zw50CW','zgvMyxvSDa','BwLU','x2vJAgfYDhnjBNn0yw5Jzq','zwfJAenVBxbVBMvUDa','Dg9W','CM9HBq','C2v0rwnOyxj0C09WDgLVBG','BgvMDa','DxbKyxrL','zgvWDgHuzxn0','CMvTB3zLq2HPBgq','EKLUzgv4','q2fYDgvZAwfUmW','mZC1odq4teLqCLnu','A2v5CW','z2v0vMLLD1jLy3q','ovj0EKXpqG','mZq0ogzHr3Hysa','Bgf5zxi','u0nftKuZra','x2fWAq','mJDjr09pvMO','D2LKDgG','ndCZmdz4u1HzvNG','C2v0t3b0Aw9U','x3bVAw50zxjfDMvUDhm','yxbP','Bwf0CML4','DMLZAwjPBgL0Eq','AgvPz2H0','x2fKzgvKsg9VAW'];_0x482d=function(){return _0x2410e3;};return _0x482d();}_0x1ec1ee[_0x18fff4(0x3d4,0x3de)]=!![],Object['defineProperty'](exports,'__esModule',_0x1ec1ee);
|
|
14
|
+
'use strict';(function(_0x16cfa1,_0x4feabd){const _0x176dd1={_0x4f31fa:0x1e3,_0x27ab06:0x230,_0x440f3b:0x1bc,_0xfb388a:0x99,_0x3cbfdd:0xcc},_0x25fe02={_0x6cc0b2:0x297},_0x37dff6={_0x8aa311:0x44};function _0x35338e(_0x24c41a,_0x531c76){return _0x5d47(_0x531c76-_0x37dff6._0x8aa311,_0x24c41a);}const _0x5af93a=_0x16cfa1();function _0x6f5924(_0x4e7d2b,_0x420452){return _0x5d47(_0x4e7d2b- -_0x25fe02._0x6cc0b2,_0x420452);}while(!![]){try{const _0x4da75c=parseInt(_0x35338e(0x1cb,_0x176dd1._0x4f31fa))/0x1+-parseInt(_0x35338e(0x20e,_0x176dd1._0x27ab06))/0x2+-parseInt(_0x35338e(0x234,0x22d))/0x3+-parseInt(_0x35338e(0x24d,0x229))/0x4*(-parseInt(_0x35338e(_0x176dd1._0x440f3b,0x1e0))/0x5)+parseInt(_0x6f5924(-0xbc,-_0x176dd1._0xfb388a))/0x6+parseInt(_0x6f5924(-0xbb,-_0x176dd1._0x3cbfdd))/0x7+-parseInt(_0x35338e(0x217,0x210))/0x8;if(_0x4da75c===_0x4feabd)break;else _0x5af93a['push'](_0x5af93a['shift']());}catch(_0x22a2dc){_0x5af93a['push'](_0x5af93a['shift']());}}}(_0x489e,0xb3d7b));function _interopNamespace(_0x540a72){const _0x22b7fe={_0x236af6:0x1dc,_0x4c0147:0x1ff},_0x1c2383={_0x367de3:0x3a5};if(_0x540a72&&_0x540a72['__esModule'])return _0x540a72;var _0x305053=Object['create'](null);function _0x2f2f66(_0x4b9424,_0x5df3f8){return _0x5d47(_0x4b9424-0x22,_0x5df3f8);}return _0x540a72&&Object['keys'](_0x540a72)['forEach'](function(_0x128826){function _0x4adb2c(_0x223287,_0x125240){return _0x5d47(_0x223287-0x3c5,_0x125240);}function _0x27ce9e(_0x452d59,_0x5bdea3){return _0x5d47(_0x5bdea3- -_0x1c2383._0x367de3,_0x452d59);}if(_0x128826!=='default'){var _0x3b26f6=Object[_0x4adb2c(0x58e,0x568)](_0x540a72,_0x128826);Object['defineProperty'](_0x305053,_0x128826,_0x3b26f6[_0x4adb2c(0x56b,0x55e)]?_0x3b26f6:{'enumerable':!![],'get':function(){return _0x540a72[_0x128826];}});}}),_0x305053[_0x2f2f66(_0x22b7fe._0x236af6,_0x22b7fe._0x4c0147)]=_0x540a72,_0x305053;}var mars3d__namespace=_interopNamespace(mars3d),echarts__namespace=_interopNamespace(echarts);function _0x489e(){const _0x4c3017=['nZKXndqZmLPUtKfcAq','mti2nJm4nhfzyvzOza','Cg9ZAxrPB24','q2vZAxvT','z2v0qK1HCa','zgf0yvrVug9PBNq','C2nLBMu','B25cEvf1zxj5','y2XPzw50sgvPz2H0','Eg1HEa','mZeYngriAuHkyG','D2LKDgG','y29UDgfPBMvY','CMvZAxPL','mJiZodC4mhDqBKfMBW','zML4zwrizwLNAhq','C2vYAwvZ','mta5mty2zKvmAMf5','y2XLyxi','Eg1PBG','DMfSDwu','zwnOyxj0C0zPEgvKsgvPz2H0','C2v0twfWt2zMC2v0','x2nYzwf0zunOyxj0t3zLCMXHEq','zgLTzw5ZAw9UCW','y2fUDMfZ','CM9HBq','nJCWBLLqrKPt','C3r5Bgu','zwnOyxj0C0f1Dg9izwLNAhq','ody1nJq2tLfVyKXo','DhLWzq','B3b0Aw9UCW','DxbKyxrL','mhb4','x2vJAgfYDhnjBNn0yw5Jzq','BwfYCZnKtwfW','z2v0','BwfYCZnKlwvJAgfYDhm','B25SEvnPBxbSzvr5Cgu','rwXSAxbZB2LKywXpy2nSDwrLCG','Bg5N','x3nOB3DiB29R','qMfZzuXHEwvY','Bwf0CML4','y3jLyxrL','ywrKrxzLBNrmAxn0zw5LCG','zxzLBNrqyxjLBNq','Aw5PDa','x21HCNmZzf9Zy2vUzq','rwnOyxj0C0XHEwvY','zwnOyxj0CW','y29VCMrZ','tg9N','DMLZAwjSzq','zM9YrwfJAa','x2vJAgfYDhndB250ywLUzxi','zgvMyxvSDa','zwnOyxj0C0rLChrOvgvZDa','y29VCMrPBMf0zvn5C3rLBq','z2v0sgvPz2H0','x2fWAq','ywXS','q2fYDg9NCMfWAgLJ','Bg9Nsw5MBW','z2v0qxr0CLzHBa','Bgf0','x21HCe9MzNnLDa','qM91BMrPBMDszwn0','CgfPBNrLCG','C2nOzwr1BgvY','Bw9Kzq','z2v0t3DUuhjVCgvYDhLezxnJCMLWDg9Y','Bgf5zxi','Cg9PBNrLCKv2zw50CW','nZq2mJq0ohHRCfPZrG','x21HCa','zgf0yq','x3jLBw92zwriB29R','AgfZt3DUuhjVCgvYDhK','EKLUzgv4','z2v0vMLLD1jLy3q','Cg9ZAxrPB25xqW','rg9TvxrPBa','z3jHCgHPyW','Cg9ZDfjLBMrLCG','C2v0t3b0Aw9U','AgvPz2H0','u2nLBMvnB2rL','y2fTzxjH'];_0x489e=function(){return _0x4c3017;};return _0x489e();}const Cesium$1=mars3d__namespace[_0x344b0e(0x27a,0x25b)];function _0x5d47(_0x1f6216,_0x4b2cbc){const _0x489efa=_0x489e();return _0x5d47=function(_0x5d47b8,_0x3fc587){_0x5d47b8=_0x5d47b8-0x198;let _0x33aedf=_0x489efa[_0x5d47b8];if(_0x5d47['CKGTzL']===undefined){var _0xca4c97=function(_0x499d67){const _0x3e9ae3='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x4a2d2f='',_0x171f20='';for(let _0x28af5c=0x0,_0x2913f5,_0x284fc5,_0x540a72=0x0;_0x284fc5=_0x499d67['charAt'](_0x540a72++);~_0x284fc5&&(_0x2913f5=_0x28af5c%0x4?_0x2913f5*0x40+_0x284fc5:_0x284fc5,_0x28af5c++%0x4)?_0x4a2d2f+=String['fromCharCode'](0xff&_0x2913f5>>(-0x2*_0x28af5c&0x6)):0x0){_0x284fc5=_0x3e9ae3['indexOf'](_0x284fc5);}for(let _0x305053=0x0,_0x128826=_0x4a2d2f['length'];_0x305053<_0x128826;_0x305053++){_0x171f20+='%'+('00'+_0x4a2d2f['charCodeAt'](_0x305053)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x171f20);};_0x5d47['nRbdIh']=_0xca4c97,_0x1f6216=arguments,_0x5d47['CKGTzL']=!![];}const _0x3b9763=_0x489efa[0x0],_0x3c047e=_0x5d47b8+_0x3b9763,_0x367a0b=_0x1f6216[_0x3c047e];return!_0x367a0b?(_0x33aedf=_0x5d47['nRbdIh'](_0x33aedf),_0x1f6216[_0x3c047e]=_0x33aedf):_0x33aedf=_0x367a0b,_0x33aedf;},_0x5d47(_0x1f6216,_0x4b2cbc);}class CompositeCoordinateSystem{constructor(_0x4c1653,_0x34946e){const _0x15e745={_0x3fd001:0x567,_0x48e1c2:0x182,_0x5751b5:0x169,_0x469cdd:0x1a7,_0x18a3a8:0x56e},_0x11e33a={_0x9b7e4c:0x338};function _0x37e9fe(_0x27aa8e,_0x9a0712){return _0x344b0e(_0x9a0712,_0x27aa8e- -0x94);}this[_0x5a8bdb(_0x15e745._0x3fd001,0x587)]=_0x4c1653,this[_0x37e9fe(_0x15e745._0x48e1c2,_0x15e745._0x5751b5)]=[_0x37e9fe(0x193,_0x15e745._0x469cdd),_0x37e9fe(0x1ac,0x19f)];function _0x5a8bdb(_0x5672b3,_0xbbb50){return _0x344b0e(_0xbbb50,_0x5672b3-_0x11e33a._0x9b7e4c);}this[_0x5a8bdb(0x579,_0x15e745._0x18a3a8)]=[0x0,0x0],this['_api']=_0x34946e;}[_0x412056(0x395,0x37e)](_0x4fd9cc){this['_mapOffset']=_0x4fd9cc;}['getBMap'](){return this['_mars3d_scene'];}[_0x412056(0x378,0x36d)](_0x41582b){const _0x49d66a={_0x5480de:0x55f,_0x3e0a29:0x4e7,_0x4d79b3:0x52f,_0x591141:0x537,_0xdc2bdc:0x5b3,_0x1f33fd:0x586,_0x298a3d:0x562,_0x2273c5:0x533};function _0x8b8321(_0x2b5ca9,_0x36ae9b){return _0x412056(_0x2b5ca9,_0x36ae9b-0x220);}const _0x1ffc10=this['_mars3d_scene'],_0xe24604=[NaN,NaN];let _0x129c0a=_0x1ffc10[_0x4c4a88(_0x49d66a._0x5480de,0x55b)];_0x1ffc10[_0x4c4a88(0x50d,_0x49d66a._0x3e0a29)]&&(_0x129c0a=_0x1ffc10[_0x4c4a88(0x52c,0x54e)](Cesium$1[_0x4c4a88(_0x49d66a._0x4d79b3,0x53e)]['fromDegrees'](_0x41582b[0x0],_0x41582b[0x1])));function _0x4c4a88(_0x262942,_0x339012){return _0x412056(_0x339012,_0x262942-0x1e2);}const _0x15ed70=Cesium$1['Cartesian3']['fromDegrees'](_0x41582b[0x0],_0x41582b[0x1],_0x129c0a);if(!_0x15ed70)return _0xe24604;const _0x2c17d5=mars3d__namespace['PointTrans']['toWindowCoordinates'](_0x1ffc10,_0x15ed70);if(!_0x2c17d5)return _0xe24604;if(_0x1ffc10[_0x8b8321(0x567,0x568)]&&_0x1ffc10[_0x4c4a88(_0x49d66a._0x591141,0x564)]===Cesium$1[_0x8b8321(_0x49d66a._0xdc2bdc,_0x49d66a._0x1f33fd)]['SCENE3D']){const _0x489a42=new Cesium$1[(_0x4c4a88(0x518,0x521))](_0x1ffc10['globe']['ellipsoid'],_0x1ffc10[_0x4c4a88(0x549,_0x49d66a._0x298a3d)][_0x8b8321(0x5a8,0x580)]),_0x103359=_0x489a42['isPointVisible'](_0x15ed70);if(!_0x103359)return _0xe24604;}return[_0x2c17d5['x']-this[_0x4c4a88(_0x49d66a._0x2273c5,0x51e)][0x0],_0x2c17d5['y']-this['_mapOffset'][0x1]];}[_0x412056(0x348,0x35f)](){const _0x6b1b99={_0x4c90f2:0x19f,_0x497c48:0x288,_0x5780fe:0x27d},_0x293e9b=this[_0x2c2b4a(-0x1c9,-_0x6b1b99._0x4c90f2)];function _0x4561cd(_0x1bb5dc,_0xa37e90){return _0x344b0e(_0x1bb5dc,_0xa37e90-0x2b);}function _0x2c2b4a(_0x2f2afc,_0xcbc5e7){return _0x344b0e(_0x2f2afc,_0xcbc5e7- -0x3da);}return new echarts__namespace[(_0x4561cd(_0x6b1b99._0x497c48,_0x6b1b99._0x5780fe))][(_0x4561cd(0x251,0x26d))](0x0,0x0,_0x293e9b['getWidth'](),_0x293e9b[_0x4561cd(0x277,0x265)]());}['getRoamTransform'](){const _0x2c1db0={_0x381d18:0x41b},_0x16a407={_0x257a53:0x102};function _0x5a310b(_0x5d0571,_0x50d8d6){return _0x344b0e(_0x5d0571,_0x50d8d6- -0x176);}function _0x3e06a1(_0x434835,_0x1b453f){return _0x412056(_0x1b453f,_0x434835-_0x16a407._0x257a53);}return echarts__namespace[_0x3e06a1(0x43c,0x41b)][_0x3e06a1(0x43d,_0x2c1db0._0x381d18)]();}}CompositeCoordinateSystem['dimensions']=['lng',_0x344b0e(0x223,0x240)],CompositeCoordinateSystem[_0x412056(0x34d,0x33b)]=function(_0x384022,_0x14e569){const _0x1a7f0f={_0x5d38bb:0x86,_0x4331e5:0x8c,_0x3d5587:0x2f6},_0x59748a={_0x552ddf:0xc0,_0x42fa4b:0x9c},_0x124c69={_0x396e33:0xb6};let _0x4fb682;const _0x338ffb=_0x384022[_0x2320a0(_0x1a7f0f._0x5d38bb,_0x1a7f0f._0x4331e5)]['ecInstance']['_mars3d_scene'];_0x384022['eachComponent'](_0x2b6f5a(0x2d6,_0x1a7f0f._0x3d5587),function(_0xb7058f){const _0x1f6613={_0x208f5a:0x25b};function _0x219c94(_0x46323c,_0x573fdc){return _0x2320a0(_0x573fdc,_0x46323c- -0x141);}const _0x2724c2=_0x14e569['getZr']()[_0x219c94(-_0x124c69._0x396e33,-0xd8)];if(!_0x2724c2)return;!_0x4fb682&&(_0x4fb682=new CompositeCoordinateSystem(_0x338ffb,_0x14e569));function _0x2d125d(_0x585786,_0x1c1449){return _0x2b6f5a(_0x1c1449- -_0x1f6613._0x208f5a,_0x585786);}_0xb7058f[_0x219c94(-0xc0,-0xd0)]=_0x4fb682,_0x4fb682[_0x2d125d(0xba,0xc7)](_0xb7058f['__mapOffset']||[0x0,0x0]);});function _0x2b6f5a(_0xa671d1,_0x2d039e){return _0x344b0e(_0x2d039e,_0xa671d1-0xb4);}function _0x2320a0(_0x30dd87,_0xf34aa3){return _0x344b0e(_0x30dd87,_0xf34aa3- -0x1b8);}_0x384022['eachSeries'](function(_0x4e8ab5){function _0x21a3c9(_0x47ad8b,_0x3a3494){return _0x2320a0(_0x3a3494,_0x47ad8b-0x56);}_0x4e8ab5['get']('coordinateSystem')===_0x21a3c9(_0x59748a._0x552ddf,_0x59748a._0x42fa4b)&&(!_0x4fb682&&(_0x4fb682=new CompositeCoordinateSystem(_0x338ffb,_0x14e569)),_0x4e8ab5['coordinateSystem']=_0x4fb682);});};function _0x344b0e(_0x12e1ff,_0x22f8f5){return _0x5d47(_0x22f8f5-0x7d,_0x12e1ff);}if(echarts__namespace!==null&&echarts__namespace!==void 0x0&&echarts__namespace[_0x344b0e(0x23e,0x22e)]){echarts__namespace['registerCoordinateSystem']('mars3dMap',CompositeCoordinateSystem);const _0x499d67={};_0x499d67[_0x412056(0x327,0x32d)]='mars3dMapRoam',_0x499d67['event']='mars3dMapRoam',_0x499d67[_0x412056(0x30e,0x32f)]='updateLayout',echarts__namespace['registerAction'](_0x499d67,function(_0xb7e90b,_0x4dd664){});const _0x3e9ae3={};_0x3e9ae3[_0x344b0e(0x1f1,0x218)]=![];const _0x4a2d2f={};_0x4a2d2f['type']='mars3dMap',_0x4a2d2f[_0x344b0e(0x255,0x25c)]=function(){return this['_mars3d_scene'];},_0x4a2d2f['defaultOption']=_0x3e9ae3,echarts__namespace['extendComponentModel'](_0x4a2d2f),echarts__namespace['extendComponentView']({'type':'mars3dMap','init':function(_0x47633b,_0x3a1edd){const _0x3c2ae4={_0x4484e7:0x154,_0x3466f2:0x132,_0x10d078:0x12f},_0x2f0514={_0x32a02d:0x3ca};this['api']=_0x3a1edd,this['scene']=_0x47633b['scheduler']['ecInstance'][_0x3d4b07(_0x3c2ae4._0x4484e7,_0x3c2ae4._0x3466f2)];function _0x140e01(_0x19afdb,_0x1b2d74){return _0x412056(_0x1b2d74,_0x19afdb- -_0x2f0514._0x32a02d);}function _0x3d4b07(_0x55d688,_0x5f4c32){return _0x344b0e(_0x55d688,_0x5f4c32- -0xfd);}this[_0x140e01(-0x5c,-0x57)]['postRender'][_0x3d4b07(0x140,_0x3c2ae4._0x10d078)](this['moveHandler'],this);},'moveHandler':function(_0x2a4f6f,_0x1e467c){const _0x5f33ca={_0x1a5d1f:0x41},_0x3a156f={_0xec343b:0x247};function _0x2ed6cc(_0x15ca70,_0x596c75){return _0x344b0e(_0x15ca70,_0x596c75- -_0x3a156f._0xec343b);}const _0x2afbf0={};_0x2afbf0[_0x2ed6cc(-_0x5f33ca._0x1a5d1f,-0x2a)]='mars3dMapRoam',this['api']['dispatchAction'](_0x2afbf0);},'render':function(_0x38f438,_0x23b4ca,_0x18b500){},'dispose':function(_0x2db071){const _0x1fa0c5={_0x165dde:0x67,_0x570af5:0x91},_0x46d6b5={_0x4718ae:0x2d2};function _0x19909c(_0x2ede87,_0x311252){return _0x412056(_0x2ede87,_0x311252- -_0x46d6b5._0x4718ae);}this['scene'][_0x19909c(_0x1fa0c5._0x165dde,_0x1fa0c5._0x570af5)]['removeEventListener'](this['moveHandler'],this);}});}else throw new Error('请引入\x20echarts\x20库\x20');const Cesium=mars3d__namespace['Cesium'],BaseLayer=mars3d__namespace[_0x412056(0x384,0x357)][_0x412056(0x337,0x339)];class EchartsLayer extends BaseLayer{constructor(_0x480393={}){super(_0x480393),this['_pointerEvents']=this['options']['pointerEvents'];}get[_0x344b0e(0x22e,0x247)](){const _0x135832={_0x3c4204:0x178};function _0x37f8e9(_0x26a769,_0x4a96ee){return _0x412056(_0x26a769,_0x4a96ee-_0x135832._0x3c4204);}return this[_0x37f8e9(0x4aa,0x4a9)];}get['pointerEvents'](){return this['_pointerEvents'];}set['pointerEvents'](_0x386799){const _0x227416={_0x28f529:0xf4,_0x407422:0xef},_0x4f81cd={_0x2b7848:0x32b},_0x3931e0={_0x11e285:0x196};function _0xf2408(_0x3f84e5,_0x263f11){return _0x412056(_0x3f84e5,_0x263f11- -_0x3931e0._0x11e285);}this['_pointerEvents']=_0x386799;function _0x44f6cb(_0x593ebd,_0x25433c){return _0x344b0e(_0x593ebd,_0x25433c- -_0x4f81cd._0x2b7848);}this['_echartsContainer']&&(_0x386799?this['_echartsContainer']['style'][_0xf2408(0x1ac,0x1c2)]=_0x44f6cb(-_0x227416._0x28f529,-_0x227416._0x407422):this['_echartsContainer']['style']['pointerEvents']='none');}['_setOptionsHook'](_0x16afec,_0x5ca524){this['setEchartsOption'](_0x16afec);}[_0x412056(0x331,0x338)](_0xec28eb){const _0x41e7f1={_0x550cbe:0x376,_0x4013ed:0x369,_0xedbca0:0x34a,_0x27164b:0x52a};function _0x4985a4(_0xeb29a6,_0x3f430f){return _0x412056(_0x3f430f,_0xeb29a6-0x30);}function _0x4000f3(_0x39c799,_0x1b90f2){return _0x344b0e(_0x1b90f2,_0x39c799-0x2f7);}_0xec28eb?this[_0x4985a4(_0x41e7f1._0x550cbe,_0x41e7f1._0x4013ed)][_0x4985a4(0x35a,_0x41e7f1._0xedbca0)]['visibility']=_0x4000f3(0x52b,_0x41e7f1._0x27164b):this['_echartsContainer'][_0x4000f3(0x511,0x51b)]['visibility']='hidden';}['_mountedHook'](){const _0xeb9189={_0x22097f:0x1e,_0x1ed613:0x3f5,_0x17bc74:0x415,_0x319504:0x2f,_0xd457e7:0x52,_0x5f4e5d:0x23,_0x246ecf:0x1e},_0x10dbec={_0x20f8eb:0x1cb};this[_0x21fd19(0x1b,0x22)][_0x21fd19(0x2f,_0xeb9189._0x22097f)]['echartsDepthTest']=this['options']['depthTest']??!![];function _0x210995(_0x564418,_0x36fd44){return _0x344b0e(_0x564418,_0x36fd44-_0x10dbec._0x20f8eb);}function _0x21fd19(_0x1bf2b1,_0x1686c1){return _0x344b0e(_0x1686c1,_0x1bf2b1- -0x22f);}this[_0x210995(_0xeb9189._0x1ed613,_0xeb9189._0x17bc74)]['scene'][_0x21fd19(-0x14,-0x3b)]=this['options']['clampToGround']??![],this[_0x210995(0x3f9,0x415)][_0x21fd19(_0xeb9189._0x319504,0x15)][_0x21fd19(0x3e,_0xeb9189._0xd457e7)]=this[_0x21fd19(-0x11,-_0xeb9189._0x5f4e5d)][_0x21fd19(0x38,_0xeb9189._0x246ecf)]??0x0;}['_addedHook'](){const _0x29c29e={_0x3b0f62:0x444,_0x19187e:0x458,_0x4a04da:0x387};function _0x3b9fcd(_0x199879,_0x4e1621){return _0x412056(_0x4e1621,_0x199879-0x11f);}this['_echartsContainer']=this[_0x3b9fcd(_0x29c29e._0x3b0f62,_0x29c29e._0x19187e)]();function _0x5c8744(_0x4e3df8,_0x28d75a){return _0x344b0e(_0x4e3df8,_0x28d75a-0x102);}this['_echartsInstance']=echarts__namespace['init'](this[_0x5c8744(0x310,0x338)]),this['_echartsInstance']['_mars3d_scene']=this['_map'][_0x5c8744(_0x29c29e._0x4a04da,0x360)],this['setEchartsOption'](this['options']);}[_0x412056(0x33b,0x35c)](){const _0x514a56={_0x4a84d5:0x7d,_0x452bbe:0xab};function _0x45b967(_0x29092a,_0x51c1ad){return _0x344b0e(_0x51c1ad,_0x29092a- -0x2e1);}this['_echartsInstance']&&(this['_echartsInstance'][_0x3e6a47(0x85,0xa9)](),this[_0x45b967(-0xc0,-0xec)]['dispose'](),delete this[_0x3e6a47(0x36,0x60)]);function _0x3e6a47(_0x24c0b7,_0x1beb92){return _0x412056(_0x24c0b7,_0x1beb92- -0x2d1);}this[_0x45b967(-0xab,-0xb8)]&&(this['_map'][_0x45b967(-_0x514a56._0x4a84d5,-0x72)]['removeChild'](this[_0x3e6a47(0x5f,0x75)]),delete this[_0x45b967(-_0x514a56._0x452bbe,-0xc5)]);}['_createChartOverlay'](){const _0x5debe6={_0x2c8031:0x1c6,_0x25fb3f:0x1de,_0x25f2c9:0x43,_0xe8c8e2:0x58,_0x42c5b1:0x4e,_0x36d3d:0x1bc,_0x214e00:0x1c9,_0x3b0f5a:0x219,_0x528069:0x47,_0xbc26fd:0x1b9},_0x4813c7={_0x367eb8:0x2a7},_0x1eb494=mars3d__namespace[_0x3fd08a(-0x56,-0x58)]['create']('div',_0x533637(_0x5debe6._0x2c8031,_0x5debe6._0x25fb3f),this['_map'][_0x3fd08a(-_0x5debe6._0x25f2c9,-_0x5debe6._0xe8c8e2)]);_0x1eb494['id']=this['id'],_0x1eb494['style'][_0x3fd08a(-0x4d,-_0x5debe6._0x42c5b1)]='absolute',_0x1eb494['style']['top']=_0x3fd08a(-0x87,-0x6e);function _0x533637(_0x2aa3b9,_0x15f77a){return _0x344b0e(_0x15f77a,_0x2aa3b9- -0x5e);}_0x1eb494['style']['left']='0px';function _0x3fd08a(_0x3498ea,_0x4ea713){return _0x344b0e(_0x4ea713,_0x3498ea- -_0x4813c7._0x367eb8);}return _0x1eb494[_0x533637(_0x5debe6._0x36d3d,_0x5debe6._0x214e00)]['width']=this['_map']['scene']['canvas']['clientWidth']+'px',_0x1eb494['style']['height']=this[_0x533637(0x1ec,_0x5debe6._0x3b0f5a)]['scene'][_0x3fd08a(-0x90,-0x91)][_0x3fd08a(-_0x5debe6._0x528069,-0x57)]+'px',_0x1eb494['style']['pointerEvents']=this['_pointerEvents']?_0x533637(_0x5debe6._0x25fb3f,_0x5debe6._0xbc26fd):'none',_0x1eb494['style'][_0x3fd08a(-0x59,-0x7c)]=this['options']['zIndex']??0x9,_0x1eb494;}['resize'](){const _0xbb241c={_0x229c35:0x3c,_0x50097b:0x23c,_0x3c40de:0x25,_0x2d7144:0x284};if(!this[_0x57091c(0x224,0x20f)])return;this['_echartsContainer']['style'][_0x2719a8(0x2a,_0xbb241c._0x229c35)]=this[_0x57091c(0x24d,_0xbb241c._0x50097b)][_0x2719a8(_0xbb241c._0x3c40de,0x19)]['canvas']['clientWidth']+'px';function _0x57091c(_0x3d1b04,_0x3d0723){return _0x344b0e(_0x3d0723,_0x3d1b04-0x3);}this['_echartsContainer'][_0x57091c(0x21d,0x22d)][_0x57091c(0x258,_0xbb241c._0x2d7144)]=this['_map']['scene']['canvas']['clientHeight']+'px';function _0x2719a8(_0x733e31,_0x378a1d){return _0x412056(_0x378a1d,_0x733e31- -0x349);}this['_echartsInstance'][_0x2719a8(0x2c,0x35)]();}['setEchartsOption'](_0x317a17,_0x3f07fc,_0x3e559c){const _0x4cc40b={_0x29ae5a:0x2d8,_0x599f36:0x2f2,_0x185ce2:0x3c2},_0xbbbe17={_0x1d4d10:0x85};function _0x119d8b(_0x222f6a,_0x542f82){return _0x412056(_0x222f6a,_0x542f82-_0xbbbe17._0x1d4d10);}function _0x472cde(_0x6626bf,_0x437374){return _0x412056(_0x6626bf,_0x437374- -0x5c);}if(this['_echartsInstance']){const _0x94ceec={};_0x94ceec[_0x472cde(_0x4cc40b._0x29ae5a,0x2d9)]=!![],_0x317a17={'mars3dMap':{},...mars3d__namespace['Util'][_0x472cde(_0x4cc40b._0x599f36,0x2f3)](_0x317a17,_0x94ceec)},delete _0x317a17[_0x119d8b(0x3de,_0x4cc40b._0x185ce2)],this['_echartsInstance'][_0x119d8b(0x3f8,0x3e9)](_0x317a17,_0x3f07fc,_0x3e559c);}}['getRectangle'](_0xab86a7){const _0x5d5287={_0x2165f5:0xb1,_0xad6437:0xae,_0x397cb0:0x85,_0x3b2b49:0x592},_0x5ef09c={_0x1a0808:0x219,_0x5d0a50:0x112,_0x307e0b:0xed},_0x433ae8={_0x47a8e2:0x16,_0x401227:0x3,_0x2a18b2:0x13c};let _0x582f16,_0xdc5413,_0x11bfc0,_0x37cd53;function _0x2a82a2(_0x4dd97c,_0x373f88){return _0x412056(_0x4dd97c,_0x373f88-0x221);}function _0x5df8aa(_0x4cecce){if(!Array['isArray'](_0x4cecce))return;const _0x1cead0=_0x4cecce[0x0]||0x0,_0xa14a70=_0x4cecce[0x1]||0x0;_0x1cead0!==0x0&&_0xa14a70!==0x0&&(_0x582f16===undefined?(_0x582f16=_0x1cead0,_0xdc5413=_0x1cead0,_0x11bfc0=_0xa14a70,_0x37cd53=_0xa14a70):(_0x582f16=Math['min'](_0x582f16,_0x1cead0),_0xdc5413=Math['max'](_0xdc5413,_0x1cead0),_0x11bfc0=Math['min'](_0x11bfc0,_0xa14a70),_0x37cd53=Math['max'](_0x37cd53,_0xa14a70)));}const _0x5af0af=this['options'][_0x1599db(-_0x5d5287._0x2165f5,-0xc5)];function _0x1599db(_0x4e6682,_0x42d6dd){return _0x344b0e(_0x42d6dd,_0x4e6682- -0x319);}_0x5af0af&&_0x5af0af[_0x1599db(-0xe4,-0x101)](_0x18d1f2=>{const _0x157bff={_0x377456:0x2d},_0x68ff64={_0x7ef57:0x146};function _0x500774(_0x28e578,_0x5e8a03){return _0x2a82a2(_0x28e578,_0x5e8a03- -0x796);}function _0x2579e2(_0x55ccfb,_0x55954c){return _0x1599db(_0x55ccfb-0x1f6,_0x55954c);}_0x18d1f2[_0x500774(-_0x5ef09c._0x1a0808,-0x21a)]&&_0x18d1f2['data'][_0x2579e2(_0x5ef09c._0x5d0a50,_0x5ef09c._0x307e0b)](_0x41bfd2=>{function _0x12d1a2(_0xee8654,_0x1c6ff7){return _0x2579e2(_0x1c6ff7- -_0x68ff64._0x7ef57,_0xee8654);}function _0x40d7a9(_0x1400e8,_0xc4eb41){return _0x2579e2(_0xc4eb41-_0x157bff._0x377456,_0x1400e8);}if(_0x41bfd2[_0x12d1a2(_0x433ae8._0x47a8e2,_0x433ae8._0x401227)])_0x5df8aa(_0x41bfd2['value']);else _0x41bfd2[_0x40d7a9(0x169,_0x433ae8._0x2a18b2)]&&_0x41bfd2[_0x40d7a9(0x158,0x13c)]['forEach'](_0x3f9339=>{_0x5df8aa(_0x3f9339);});});});if(_0x582f16===0x0&&_0x11bfc0===0x0&&_0xdc5413===0x0&&_0x37cd53===0x0)return null;if(_0xab86a7!==null&&_0xab86a7!==void 0x0&&_0xab86a7['isFormat']){const _0xeea9c8={};return _0xeea9c8[_0x1599db(-_0x5d5287._0xad6437,-_0x5d5287._0x397cb0)]=_0x582f16,_0xeea9c8[_0x2a82a2(0x5bc,_0x5d5287._0x3b2b49)]=_0xdc5413,_0xeea9c8['ymin']=_0x11bfc0,_0xeea9c8['ymax']=_0x37cd53,_0xeea9c8;}else return Cesium['Rectangle']['fromDegrees'](_0x582f16,_0x11bfc0,_0xdc5413,_0x37cd53);}['on'](_0x1b3cea,_0xf0bc7f,_0x431eca){return this['_echartsInstance']['on'](_0x1b3cea,_0xf0bc7f,_0x431eca||this),this;}[_0x344b0e(0x238,0x25f)](_0x433b61,_0x4effe7,_0x241544,_0x1121ed){return this['_echartsInstance']['on'](_0x433b61,_0x4effe7,_0x241544,_0x1121ed||this),this;}['off'](_0x410df2,_0xff6b0b,_0x2d88d7){return this['_echartsInstance']['off'](_0x410df2,_0xff6b0b,_0x2d88d7||this),this;}}function _0x412056(_0x2e980a,_0x52c630){return _0x5d47(_0x52c630-0x18d,_0x2e980a);}mars3d__namespace['LayerUtil']['register'](_0x344b0e(0x207,0x231),EchartsLayer),mars3d__namespace['layer'][_0x412056(0x321,0x340)]=EchartsLayer,mars3d__namespace[_0x412056(0x321,0x341)]=echarts__namespace,mars3d__namespace[_0x344b0e(0x207,0x233)][_0x344b0e(0x238,0x23e)]('mars3d-echarts插件\x20注册成功'),exports['EchartsLayer']=EchartsLayer,Object['keys'](echarts)['forEach'](function(_0x5b6b66){const _0x4352a9={_0xc0fcd2:0x1e5};function _0x29763e(_0x410182,_0x23eae4){return _0x412056(_0x23eae4,_0x410182- -_0x4352a9._0xc0fcd2);}if(_0x5b6b66!=='default'&&!exports[_0x29763e(0x178,0x199)](_0x5b6b66))Object['defineProperty'](exports,_0x5b6b66,{'enumerable':!![],'get':function(){return echarts[_0x5b6b66];}});});const _0x284fc5={};_0x284fc5['value']=!![],Object['defineProperty'](exports,'__esModule',_0x284fc5);
|
|
15
15
|
}));
|
package/package.json
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "mars3d-echarts",
|
|
3
|
-
"version": "3.10.
|
|
3
|
+
"version": "3.10.7",
|
|
4
4
|
"description": "Mars3D平台插件,结合echarts可视化功能插件",
|
|
5
5
|
"main": "./mars3d-echarts.js",
|
|
6
6
|
"peerDependencies": {
|
|
7
7
|
"echarts": "^5.6.0"
|
|
8
8
|
},
|
|
9
9
|
"devDependencies": {
|
|
10
|
-
"mars3d": "~3.10.
|
|
10
|
+
"mars3d": "~3.10.7"
|
|
11
11
|
},
|
|
12
12
|
"scripts": {
|
|
13
13
|
"lint": "eslint ./src/**/*.{js,ts} --fix"
|