mars3d-echarts 3.9.12 → 3.10.1
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 +4 -4
- package/package.json +2 -2
package/mars3d-echarts.js
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Mars3D平台插件,结合echarts可视化功能插件 mars3d-echarts
|
|
3
3
|
*
|
|
4
|
-
* 版本信息:v3.
|
|
5
|
-
* 编译日期:2025-
|
|
4
|
+
* 版本信息:v3.10.1
|
|
5
|
+
* 编译日期:2025-08-03 17:26
|
|
6
6
|
* 版权所有:Copyright by 火星科技 http://mars3d.cn
|
|
7
|
-
* 使用单位:火星科技免费公开版 ,2025-
|
|
7
|
+
* 使用单位:火星科技免费公开版 ,2025-07-01
|
|
8
8
|
*/
|
|
9
9
|
(function (global, factory) {
|
|
10
10
|
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, (window.mars3d || require('mars3d')), (window.echarts || require('echarts'))) :
|
|
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(_0x451d05,_0xf0ee25){const _0x5484bc={_0x37e263:0x52e,_0x169fca:0x14c,_0xd5fb53:0x120,_0x2446b1:0x50f,_0x2c978e:0x585},_0x3a8d4a={_0x4c34a5:0x373};function _0x5c18df(_0x388ef0,_0x140ab6){return _0x2788(_0x140ab6- -0x9c,_0x388ef0);}function _0x4f9eeb(_0x449821,_0x1099d0){return _0x2788(_0x449821-_0x3a8d4a._0x4c34a5,_0x1099d0);}const _0x35df92=_0x451d05();while(!![]){try{const _0x573348=-parseInt(_0x4f9eeb(0x516,_0x5484bc._0x37e263))/0x1*(-parseInt(_0x5c18df(_0x5484bc._0x169fca,_0x5484bc._0xd5fb53))/0x2)+-parseInt(_0x5c18df(0x154,0x13d))/0x3+parseInt(_0x5c18df(0x13f,0x123))/0x4+parseInt(_0x4f9eeb(_0x5484bc._0x2446b1,0x515))/0x5+parseInt(_0x5c18df(0xd9,0xee))/0x6*(-parseInt(_0x5c18df(0x10c,0x113))/0x7)+-parseInt(_0x4f9eeb(0x555,_0x5484bc._0x2c978e))/0x8+parseInt(_0x5c18df(0x10b,0xf1))/0x9*(parseInt(_0x4f9eeb(0x533,0x54f))/0xa);if(_0x573348===_0xf0ee25)break;else _0x35df92['push'](_0x35df92['shift']());}catch(_0x3d5b5f){_0x35df92['push'](_0x35df92['shift']());}}}(_0x385e,0xc82cb));function _interopNamespace(_0x173d60){if(_0x173d60&&_0x173d60['__esModule'])return _0x173d60;var _0x101d30=Object['create'](null);return _0x173d60&&Object['keys'](_0x173d60)['forEach'](function(_0x51b650){const _0x3bd930={_0x218613:0x109};function _0x7205dd(_0x386066,_0x4cb6c7){return _0x2788(_0x386066-_0x3bd930._0x218613,_0x4cb6c7);}if(_0x51b650!=='default'){var _0x5154ce=Object[_0x7205dd(0x2d5,0x2d3)](_0x173d60,_0x51b650);Object['defineProperty'](_0x101d30,_0x51b650,_0x5154ce['get']?_0x5154ce:{'enumerable':!![],'get':function(){return _0x173d60[_0x51b650];}});}}),_0x101d30['default']=_0x173d60,_0x101d30;}var mars3d__namespace=_interopNamespace(mars3d),echarts__namespace=_interopNamespace(echarts);const Cesium$1=mars3d__namespace['Cesium'];class CompositeCoordinateSystem{constructor(_0x532fd5,_0xacefe9){const _0x1c5384={_0x8e56e:0x27c,_0x438366:0x28c};function _0x422a9c(_0x435ade,_0x3998c4){return _0x2788(_0x435ade-0xd8,_0x3998c4);}this['_mars3d_scene']=_0x532fd5,this[_0x422a9c(_0x1c5384._0x8e56e,_0x1c5384._0x438366)]=[_0xd3658a(-0x1d9,-0x209),'lat'],this['_mapOffset']=[0x0,0x0];function _0xd3658a(_0x4d4457,_0x6d85b7){return _0x2788(_0x6d85b7- -0x3d2,_0x4d4457);}this['_api']=_0xacefe9;}['setMapOffset'](_0xf56fbe){function _0x51538f(_0x39ccdf,_0x4e15af){return _0x2788(_0x39ccdf- -0x4,_0x4e15af);}this[_0x51538f(0x1ca,0x1f9)]=_0xf56fbe;}['getBMap'](){return this['_mars3d_scene'];}['dataToPoint'](_0x4b1cd5){const _0x1866f9={_0x96005:0x92,_0x346531:0xd4,_0x256eaf:0xfe,_0x38d0eb:0xbf,_0x3dd934:0x318,_0x47d50b:0x305,_0x6a1efe:0xb8},_0x45c886=this['_mars3d_scene'];function _0xd828f2(_0x77eb96,_0x13b3e3){return _0x2788(_0x13b3e3-0x150,_0x77eb96);}function _0x4c3623(_0x5eca6e,_0x57852a){return _0x2788(_0x5eca6e- -0x109,_0x57852a);}const _0x44f92c=[NaN,NaN];let _0x1fcfb6=_0x45c886[_0x4c3623(_0x1866f9._0x96005,0x98)];_0x45c886[_0xd828f2(0x325,0x2f7)]&&(_0x1fcfb6=_0x45c886[_0x4c3623(_0x1866f9._0x346531,_0x1866f9._0x256eaf)](Cesium$1['Cartographic'][_0x4c3623(_0x1866f9._0x38d0eb,0xc9)](_0x4b1cd5[0x0],_0x4b1cd5[0x1])));const _0x3c5ebc=Cesium$1['Cartesian3'][_0xd828f2(0x30b,_0x1866f9._0x3dd934)](_0x4b1cd5[0x0],_0x4b1cd5[0x1],_0x1fcfb6);if(!_0x3c5ebc)return _0x44f92c;const _0x1b597b=mars3d__namespace[_0xd828f2(0x31c,0x324)][_0x4c3623(0xc2,0xec)](_0x45c886,_0x3c5ebc);if(!_0x1b597b)return _0x44f92c;if(_0x45c886['echartsDepthTest']&&_0x45c886['mode']===Cesium$1[_0xd828f2(0x2d6,_0x1866f9._0x47d50b)]['SCENE3D']){const _0x169623=new Cesium$1['EllipsoidalOccluder'](_0x45c886[_0x4c3623(0xd5,0xce)]['ellipsoid'],_0x45c886['camera'][_0x4c3623(0x95,_0x1866f9._0x6a1efe)]),_0x103343=_0x169623['isPointVisible'](_0x3c5ebc);if(!_0x103343)return _0x44f92c;}return[_0x1b597b['x']-this[_0xd828f2(0x314,0x31e)][0x0],_0x1b597b['y']-this['_mapOffset'][0x1]];}['getViewRect'](){const _0x5d79af={_0x48ab75:0x2fe,_0x2e6a50:0x4e7},_0x44a864={_0x43ba30:0x301},_0x899f92=this['_api'];function _0x3e2bd0(_0x8dd007,_0x11cec6){return _0x2788(_0x11cec6-_0x44a864._0x43ba30,_0x8dd007);}function _0x593304(_0x3a3482,_0x10c5a0){return _0x2788(_0x3a3482-0x16e,_0x10c5a0);}return new echarts__namespace[(_0x3e2bd0(0x4a7,0x490))][(_0x593304(_0x5d79af._0x48ab75,0x2fc))](0x0,0x0,_0x899f92[_0x3e2bd0(0x507,_0x5d79af._0x2e6a50)](),_0x899f92['getHeight']());}[_0x493abb(0x532,0x54a)](){const _0x250846={_0x187eee:0x6b,_0x4338ca:0x50};function _0x327e6b(_0x2fa484,_0x256dd8){return _0x493abb(_0x2fa484- -0x4b1,_0x256dd8);}return echarts__namespace['matrix'][_0x327e6b(_0x250846._0x187eee,_0x250846._0x4338ca)]();}}function _0x2788(_0x1451a7,_0x35935d){const _0x385eb5=_0x385e();return _0x2788=function(_0x2788bc,_0x37d060){_0x2788bc=_0x2788bc-0x189;let _0xf97ed=_0x385eb5[_0x2788bc];if(_0x2788['CdZxya']===undefined){var _0x1ca3c7=function(_0x2734cc){const _0x420818='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x111e28='',_0x51355f='';for(let _0x1a0ec9=0x0,_0x564ace,_0x5a1a84,_0x173d60=0x0;_0x5a1a84=_0x2734cc['charAt'](_0x173d60++);~_0x5a1a84&&(_0x564ace=_0x1a0ec9%0x4?_0x564ace*0x40+_0x5a1a84:_0x5a1a84,_0x1a0ec9++%0x4)?_0x111e28+=String['fromCharCode'](0xff&_0x564ace>>(-0x2*_0x1a0ec9&0x6)):0x0){_0x5a1a84=_0x420818['indexOf'](_0x5a1a84);}for(let _0x101d30=0x0,_0x51b650=_0x111e28['length'];_0x101d30<_0x51b650;_0x101d30++){_0x51355f+='%'+('00'+_0x111e28['charCodeAt'](_0x101d30)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x51355f);};_0x2788['hAoZTK']=_0x1ca3c7,_0x1451a7=arguments,_0x2788['CdZxya']=!![];}const _0x5f3324=_0x385eb5[0x0],_0x13e6d5=_0x2788bc+_0x5f3324,_0xc6427e=_0x1451a7[_0x13e6d5];return!_0xc6427e?(_0xf97ed=_0x2788['hAoZTK'](_0xf97ed),_0x1451a7[_0x13e6d5]=_0xf97ed):_0xf97ed=_0xc6427e,_0xf97ed;},_0x2788(_0x1451a7,_0x35935d);}function _0x271f06(_0x5502a7,_0x3a5f87){return _0x2788(_0x5502a7-0x24e,_0x3a5f87);}CompositeCoordinateSystem[_0x493abb(0x515,0x512)]=['lng',_0x271f06(0x3fa,0x3d4)],CompositeCoordinateSystem['create']=function(_0xca590e,_0x3be0cf){const _0x18d3e7={_0x2226ae:0x13e,_0x254ef0:0x185},_0x1fde07={_0x56d468:0x84},_0x225815={_0x210589:0x79},_0x534b0a={_0x11ff6f:0x1f2},_0x4df6d6={_0x52653b:0x29a};function _0x3c91b1(_0x198c48,_0x2f562a){return _0x271f06(_0x2f562a- -_0x4df6d6._0x52653b,_0x198c48);}function _0x4cf6a7(_0x3d3077,_0x5b31d8){return _0x271f06(_0x5b31d8- -0x1ab,_0x3d3077);}let _0x28a61e;const _0xa146e1=_0xca590e[_0x3c91b1(0x186,0x16e)]['ecInstance']['_mars3d_scene'];_0xca590e['eachComponent'](_0x3c91b1(_0x18d3e7._0x2226ae,0x146),function(_0x195f82){const _0x5dce79={_0xa2ae31:0x27e},_0x3085b9=_0x3be0cf[_0x5590d0(-0xa4,-_0x225815._0x210589)]()['painter'];if(!_0x3085b9)return;!_0x28a61e&&(_0x28a61e=new CompositeCoordinateSystem(_0xa146e1,_0x3be0cf));function _0x5590d0(_0x5b6c55,_0x47647b){return _0x3c91b1(_0x5b6c55,_0x47647b- -_0x534b0a._0x11ff6f);}function _0x112e1c(_0x5c4cbd,_0x48c182){return _0x4cf6a7(_0x5c4cbd,_0x48c182-_0x5dce79._0xa2ae31);}_0x195f82['coordinateSystem']=_0x28a61e,_0x28a61e['setMapOffset'](_0x195f82[_0x5590d0(-0x89,-0x86)]||[0x0,0x0]);}),_0xca590e[_0x3c91b1(0x1b4,_0x18d3e7._0x254ef0)](function(_0x4fe5cd){const _0x4de990={_0xb96c4a:0x1b8};function _0x2afb12(_0xa412,_0x5804d2){return _0x4cf6a7(_0x5804d2,_0xa412- -_0x4de990._0xb96c4a);}_0x4fe5cd['get']('coordinateSystem')==='mars3dMap'&&(!_0x28a61e&&(_0x28a61e=new CompositeCoordinateSystem(_0xa146e1,_0x3be0cf)),_0x4fe5cd[_0x2afb12(_0x1fde07._0x56d468,0x87)]=_0x28a61e);});};if(echarts__namespace!==null&&echarts__namespace!==void 0x0&&echarts__namespace['init']){echarts__namespace[_0x271f06(0x3fb,0x401)](_0x493abb(0x503,0x4d7),CompositeCoordinateSystem);const _0x2734cc={};_0x2734cc['type']='mars3dMapRoam',_0x2734cc[_0x493abb(0x52a,0x51c)]='mars3dMapRoam',_0x2734cc['update']=_0x271f06(0x431,0x426),echarts__namespace['registerAction'](_0x2734cc,function(_0x4103d6,_0x36d162){});const _0x420818={};_0x420818[_0x493abb(0x511,0x53a)]=![];const _0x111e28={};_0x111e28['type']='mars3dMap',_0x111e28[_0x493abb(0x53b,0x549)]=function(){const _0x57ef4d={_0x51a273:0x405};function _0x4b6d1e(_0x5c220c,_0x1aae86){return _0x493abb(_0x1aae86- -0x143,_0x5c220c);}return this[_0x4b6d1e(0x425,_0x57ef4d._0x51a273)];},_0x111e28[_0x493abb(0x525,0x528)]=_0x420818,echarts__namespace[_0x271f06(0x420,0x43e)](_0x111e28),echarts__namespace[_0x493abb(0x4fd,0x4ea)]({'type':'mars3dMap','init':function(_0x390fb4,_0x1f803c){const _0x20b72b={_0x2cb988:0x90,_0x12f84b:0x2ba},_0x263c37={_0x47fd52:0x269};function _0x23aa70(_0x12d060,_0x485974){return _0x493abb(_0x12d060- -_0x263c37._0x47fd52,_0x485974);}function _0x5ef844(_0x3f2db9,_0x3bb220){return _0x493abb(_0x3f2db9- -0x5cb,_0x3bb220);}this[_0x23aa70(0x2aa,0x27e)]=_0x1f803c,this[_0x23aa70(0x2ba,0x2b8)]=_0x390fb4['scheduler'][_0x5ef844(-0x93,-0xb8)][_0x5ef844(-0x83,-_0x20b72b._0x2cb988)],this[_0x23aa70(_0x20b72b._0x12f84b,0x2c6)]['postRender'][_0x23aa70(0x2dd,0x2f6)](this[_0x23aa70(0x2a0,0x2ac)],this);},'moveHandler':function(_0xf61179,_0x322171){const _0x931eec={};_0x931eec['type']='mars3dMapRoam',this['api']['dispatchAction'](_0x931eec);},'render':function(_0x280452,_0x2177da,_0x2b8b47){},'dispose':function(_0x4cf4ba){const _0x4b8b5d={_0x4c0f16:0x1c1},_0x51287d={_0x2ab7d4:0x722};function _0x1a8214(_0x5a4c1f,_0x422eea){return _0x493abb(_0x5a4c1f-0x51,_0x422eea);}function _0x2335ae(_0x225da9,_0xac15eb){return _0x493abb(_0x225da9- -_0x51287d._0x2ab7d4,_0xac15eb);}this['scene']['postRender'][_0x2335ae(-0x1eb,-_0x4b8b5d._0x4c0f16)](this[_0x1a8214(0x55a,0x567)],this);}});}else throw new Error(_0x493abb(0x51b,0x4ee));const Cesium=mars3d__namespace['Cesium'],BaseLayer=mars3d__namespace[_0x493abb(0x502,0x524)][_0x271f06(0x42e,0x43e)];function _0x385e(){const _0x169f38=['ywrKrxzLBNrmAxn0zw5LCG','x2vJAgfYDhnjBNn0yw5Jzq','x21HCNmZzf9Zy2vUzq','zM9YrwfJAa','ndiWnJK5nLvHEhvyyW','x21VDw50zwriB29R','B3b0Aw9UCW','zwnOyxj0CW','z2v0sgvPz2H0','z2XVyMu','x3nOB3DiB29R','qMfZzuXHEwvY','ywjZB2X1Dgu','nZGZota5nK9jzNnuCG','DxbKyxrLtgf5B3v0','D2LKDgG','DMLZAwjPBgL0Eq','z2v0v2LKDgG','y2XPzw50v2LKDgG','BwfYCZnKlwvJAgfYDhm','y2fUDMfZ','BM9Uzq','otyWrxbhCMfL','C3r5Bgu','zxH0zw5Kq29TCg9Uzw50vMLLDW','owPKvvflva','mhb4','z3jHCgHPyW','qM91BMrPBMDszwn0','Bgf5zxi','BwfYCZnKtwfW','y2XLyxi','C2v0t3b0Aw9U','x2fKzgvKsg9VAW','B25SEvnPBxbSzvr5Cgu','rg9TvxrPBa','Bw92zuHHBMrSzxi','y29VCMrPBMf0zvn5C3rLBq','tgf5zxjvDgLS','zwnOyxj0C0zPEgvKsgvPz2H0','nZG2mdi5nvjsCMXuzq','y29UDgfPBMvY','Cg9ZAxrPB25xqW','zgvWDgHuzxn0','CM9HBq','x21HCa','yxbP','mJnSwgTWv0S','zgLTzw5ZAw9UCW','C2vYAwvZ','EKLUzgv4','zwnOyxj0C0f1Dg9izwLNAhq','zgf0yq','x2vJAgfYDhndB250ywLUzxi','6k+35BYv5ywLigvJAgfYDhmG5BQtia','y3jLyxrL','Bgf0','CMvNAxn0zxjdB29YzgLUyxrLu3LZDgvT','AxnbCNjHEq','mZqWmtnOt3f3BgC','DMfSDwu','x3nLDe9WDgLVBNniB29R','C2nLBMu','uMvJDgfUz2XL','zgvMyxvSDe9WDgLVBG','u2nLBMvnB2rL','AgvPz2H0','B25cEvf1zxj5','x19TyxbpzMzZzxq','zxzLBNq','C2nOzwr1BgvY','CMvNAxn0zxi','ody0ndjRtxrYrNG','AgLKzgvU','B2zM','mteZmdK5nNP5zhPuqq','mteZmdy4mZbXrNvlwLG','z2v0uM9HBvrYyw5ZzM9YBq','x3bVAw50zxjfDMvUDhm','zgvMAw5LuhjVCgvYDhK','Cg9PBNrLCKv2zw50CW','z2v0wNi','CMvTB3zLrxzLBNrmAxn0zw5LCG','zwnjBNn0yw5Jzq','zNjVBurLz3jLzxm','Bg5N','z2v0qK1HCa','Dg9xAw5KB3DdB29YzgLUyxrLCW','z2v0t3DUuhjVCgvYDhLezxnJCMLWDg9Y','CMvTB3zLq2HPBgq','x21HCe9MzNnLDa','x19LC01VzhvSzq','C2v0rwnOyxj0C09WDgLVBG','zwfJAfnLCMLLCW','zxH0zw5Kq29TCg9Uzw50tw9KzwW','A2v5CW','ug9PBNruCMfUCW'];_0x385e=function(){return _0x169f38;};return _0x385e();}class EchartsLayer extends BaseLayer{constructor(_0x58f6e3={}){const _0x2562c1={_0x47242a:0x1b5,_0x568353:0x540};function _0x4baae9(_0x369290,_0x2fcaa5){return _0x271f06(_0x2fcaa5-0x12e,_0x369290);}function _0xa02078(_0x2f4299,_0x24ac54){return _0x493abb(_0x24ac54- -0x38a,_0x2f4299);}super(_0x58f6e3),this['_pointerEvents']=this[_0xa02078(_0x2562c1._0x47242a,0x1c2)][_0x4baae9(0x54d,_0x2562c1._0x568353)];}get['layer'](){return this['_echartsInstance'];}get[_0x271f06(0x412,0x40d)](){return this['_pointerEvents'];}set['pointerEvents'](_0x463cfc){const _0x2cf534={_0x1a4a09:0x522,_0x576e70:0x1ac},_0x3c4278={_0x42996c:0x6a8};function _0x31d5fc(_0x448296,_0x2320a7){return _0x493abb(_0x448296-0x17,_0x2320a7);}function _0x4f62d8(_0xbc5631,_0x125067){return _0x493abb(_0xbc5631- -_0x3c4278._0x42996c,_0x125067);}this['_pointerEvents']=_0x463cfc,this[_0x31d5fc(0x531,_0x2cf534._0x1a4a09)]&&(_0x463cfc?this['_echartsContainer'][_0x4f62d8(-_0x2cf534._0x576e70,-0x1b6)]['pointerEvents']='all':this[_0x31d5fc(0x531,0x502)]['style']['pointerEvents']='none');}[_0x271f06(0x3ff,0x3dc)](_0xe552fd,_0x3f58bb){const _0x5365d5={_0x550bd2:0x113};function _0x17114d(_0xcdd7e,_0x5e3a9a){return _0x493abb(_0x5e3a9a- -0x42e,_0xcdd7e);}this[_0x17114d(0x13b,_0x5365d5._0x550bd2)](_0xe552fd);}[_0x271f06(0x42d,0x40a)](_0x307e1e){const _0x454190={_0x3a3579:0x56b,_0x280e4f:0x57f};function _0x1e6670(_0x5cb865,_0x385b0e){return _0x271f06(_0x385b0e- -0xa,_0x5cb865);}function _0x2242bf(_0x53536e,_0x4426cd){return _0x271f06(_0x53536e-0x174,_0x4426cd);}_0x307e1e?this[_0x2242bf(_0x454190._0x3a3579,0x59c)]['style'][_0x2242bf(0x5a7,0x5a3)]='visible':this['_echartsContainer'][_0x1e6670(0x3ba,0x3cf)]['visibility']=_0x2242bf(_0x454190._0x280e4f,0x57c);}[_0x271f06(0x428,0x448)](){const _0x2d05d8={_0x962cd2:0x271,_0x24e966:0x295,_0x4f5a0d:0x272,_0x4ff829:0x26f,_0x222852:0x8};this[_0x274c1a(0x259,_0x2d05d8._0x962cd2)][_0x274c1a(_0x2d05d8._0x24e966,0x282)]['echartsDepthTest']=this['options'][_0x274c1a(_0x2d05d8._0x4f5a0d,_0x2d05d8._0x4ff829)]??!![];function _0xb548d3(_0x4ef83e,_0xfc0f40){return _0x493abb(_0x4ef83e- -0x564,_0xfc0f40);}this['_map']['scene'][_0x274c1a(0x286,0x277)]=this['options']['clampToGround']??![];function _0x274c1a(_0x264dab,_0x558e37){return _0x271f06(_0x558e37- -0x17e,_0x264dab);}this['_map']['scene']['echartsFixedHeight']=this[_0xb548d3(-0x18,-_0x2d05d8._0x222852)]['fixedHeight']??0x0;}[_0x493abb(0x506,0x4f3)](){const _0x4c7e01={_0x4e38e6:0x108},_0x42c468={_0x3d0696:0x316};this[_0x2a2f0d(_0x4c7e01._0x4e38e6,0xe1)]=this['_createChartOverlay']();function _0x3892c0(_0x22e956,_0x194003){return _0x271f06(_0x22e956- -0x456,_0x194003);}function _0x2a2f0d(_0x5b4de2,_0x5466b7){return _0x271f06(_0x5466b7- -_0x42c468._0x3d0696,_0x5b4de2);}this['_echartsInstance']=echarts__namespace['init'](this['_echartsContainer']),this['_echartsInstance']['_mars3d_scene']=this[_0x3892c0(-0x67,-0x36)]['scene'],this['setEchartsOption'](this['options']);}['_removedHook'](){const _0x374e9c={_0x1b2077:0x71,_0x3ef5d8:0x24c,_0x488575:0xce,_0x29d448:0x80},_0x252813={_0x4cf7fa:0x2fb},_0x213a3d={_0x514c94:0x377};function _0x115580(_0x1fbb7c,_0x36cbc9){return _0x271f06(_0x36cbc9- -_0x213a3d._0x514c94,_0x1fbb7c);}function _0x166d35(_0x191dde,_0x464fb8){return _0x493abb(_0x464fb8- -_0x252813._0x4cf7fa,_0x191dde);}this['_echartsInstance']&&(this['_echartsInstance'][_0x115580(_0x374e9c._0x1b2077,0x6a)](),this[_0x115580(0xd9,0xad)]['dispose'](),delete this[_0x166d35(0x247,_0x374e9c._0x3ef5d8)]),this[_0x166d35(0x20f,0x21f)]&&(this['_map'][_0x166d35(0x1eb,0x213)][_0x115580(_0x374e9c._0x488575,0xa4)](this['_echartsContainer']),delete this[_0x115580(0xa1,_0x374e9c._0x29d448)]);}['_createChartOverlay'](){const _0x15fc86={_0x21cfcf:0x141,_0x1d0f0f:0x61,_0xacaecd:0x13a,_0x1d6652:0x3d,_0x348214:0x5a,_0x52e724:0x127,_0x1f9b82:0x124,_0x4b74f5:0x73,_0x4003ab:0x14f,_0x531856:0x4b,_0x36d918:0x36,_0x5a88f8:0x1c,_0x55a08a:0x2,_0x51b7f2:0x13f};function _0x12ccf9(_0x38d2d9,_0x2f836e){return _0x271f06(_0x38d2d9- -0x2b5,_0x2f836e);}const _0x1a900e=mars3d__namespace[_0x12ccf9(0x130,0x160)][_0x12ccf9(0x144,_0x15fc86._0x21cfcf)]('div',_0x30b99c(0x48,_0x15fc86._0x1d0f0f),this[_0x12ccf9(_0x15fc86._0xacaecd,0x11c)]['container']);_0x1a900e['id']=this['id'],_0x1a900e['style']['position']=_0x30b99c(_0x15fc86._0x1d6652,_0x15fc86._0x348214);function _0x30b99c(_0x25d8dd,_0x49f12e){return _0x493abb(_0x49f12e- -0x4f8,_0x25d8dd);}return _0x1a900e['style']['top']=_0x12ccf9(_0x15fc86._0x52e724,0x112),_0x1a900e['style']['left']=_0x30b99c(0x19,0x7),_0x1a900e[_0x12ccf9(_0x15fc86._0x1f9b82,0x134)][_0x30b99c(_0x15fc86._0x4b74f5,0x5d)]=this['_map']['scene']['canvas']['clientWidth']+'px',_0x1a900e['style'][_0x12ccf9(_0x15fc86._0x4003ab,0x151)]=this[_0x12ccf9(0x13a,0x116)]['scene']['canvas']['clientHeight']+'px',_0x1a900e['style'][_0x30b99c(_0x15fc86._0x531856,_0x15fc86._0x1d6652)]=this[_0x30b99c(_0x15fc86._0x36d918,0x3b)]?'all':_0x30b99c(_0x15fc86._0x5a88f8,_0x15fc86._0x55a08a),_0x1a900e[_0x30b99c(0x0,0x4)]['zIndex']=this['options'][_0x12ccf9(_0x15fc86._0x51b7f2,0x159)]??0x9,_0x1a900e;}['resize'](){const _0x42338={_0x25ab57:0xcd,_0x3bba51:0xee,_0x3c3df3:0x104,_0x3f4b03:0xb7,_0x29ea84:0xb9,_0x3549f3:0xb6,_0x19faab:0xea,_0x1300d5:0xd9},_0x3fa54b={_0x1b04f6:0x26e};if(!this['_echartsInstance'])return;function _0x181547(_0x4bc360,_0x8d4985){return _0x271f06(_0x4bc360- -0x4ee,_0x8d4985);}function _0x607904(_0x285a58,_0x4eb368){return _0x271f06(_0x4eb368- -_0x3fa54b._0x1b04f6,_0x285a58);}this['_echartsContainer']['style'][_0x181547(-0xbc,-_0x42338._0x25ab57)]=this['_map'][_0x181547(-_0x42338._0x3bba51,-_0x42338._0x3c3df3)][_0x181547(-_0x42338._0x3f4b03,-0xc7)][_0x181547(-_0x42338._0x29ea84,-_0x42338._0x3549f3)]+'px',this[_0x607904(0x192,0x189)][_0x607904(0x17e,0x16b)][_0x181547(-_0x42338._0x19faab,-_0x42338._0x1300d5)]=this['_map']['scene']['canvas']['clientHeight']+'px',this[_0x607904(0x187,0x1b6)]['resize']();}['setEchartsOption'](_0x2b4894,_0x4d964f,_0x5d129b){const _0x12b054={_0xfdc2db:0x146,_0x25bb97:0x125,_0x4bebd6:0x165,_0x18e356:0x5},_0x1419ce={_0x5556b3:0x500};function _0x14cf39(_0x297e0a,_0x2f954e){return _0x493abb(_0x2f954e- -0x3e2,_0x297e0a);}function _0x192bec(_0x20307b,_0x20e77b){return _0x493abb(_0x20e77b- -_0x1419ce._0x5556b3,_0x20307b);}if(this['_echartsInstance']){const _0x5df1b1={};_0x5df1b1[_0x14cf39(_0x12b054._0xfdc2db,_0x12b054._0x25bb97)]=!![],_0x2b4894={'mars3dMap':{},...mars3d__namespace['Util']['getAttrVal'](_0x2b4894,_0x5df1b1)},delete _0x2b4894['eventParent'],this[_0x14cf39(0x142,_0x12b054._0x4bebd6)][_0x192bec(-0x1f,_0x12b054._0x18e356)](_0x2b4894,_0x4d964f,_0x5d129b);}}['getRectangle'](_0x14a4df){const _0x2957e0={_0x52b5a7:0x4e6,_0x3dbf9f:0x47e,_0x1202b9:0x487},_0x4d82fb={_0x45b68c:0x89},_0x143a2b={_0x1882a0:0x13d},_0x53126d={_0x3ea96d:0x1d6},_0x1c853a={_0x4b9c6c:0x33f},_0x5249d1={_0x4a43f6:0x9d};function _0x53b191(_0x1e5e23,_0x2ddd0f){return _0x493abb(_0x1e5e23- -_0x5249d1._0x4a43f6,_0x2ddd0f);}let _0x2370f4,_0x40d716,_0x4d4eeb,_0x1b5896;function _0x315df5(_0xe8caa6){if(!Array[_0x53546e(0x464,0x44a)](_0xe8caa6))return;function _0x53546e(_0x5d58de,_0x2472c9){return _0x2788(_0x2472c9-0x29c,_0x5d58de);}const _0xb7e61a=_0xe8caa6[0x0]||0x0,_0x5840c9=_0xe8caa6[0x1]||0x0;_0xb7e61a!==0x0&&_0x5840c9!==0x0&&(_0x2370f4===undefined?(_0x2370f4=_0xb7e61a,_0x40d716=_0xb7e61a,_0x4d4eeb=_0x5840c9,_0x1b5896=_0x5840c9):(_0x2370f4=Math['min'](_0x2370f4,_0xb7e61a),_0x40d716=Math['max'](_0x40d716,_0xb7e61a),_0x4d4eeb=Math['min'](_0x4d4eeb,_0x5840c9),_0x1b5896=Math['max'](_0x1b5896,_0x5840c9)));}const _0xf86786=this[_0x100753(_0x2957e0._0x52b5a7,0x4c3)][_0x100753(_0x2957e0._0x3dbf9f,0x48d)];_0xf86786&&_0xf86786[_0x53b191(0x4ac,0x4cc)](_0x1dc8a3=>{const _0x30bd2a={_0x3488d9:0x314};function _0xb2aa4f(_0x360a7e,_0x3dec6b){return _0x53b191(_0x360a7e- -_0x1c853a._0x4b9c6c,_0x3dec6b);}_0x1dc8a3['data']&&_0x1dc8a3[_0xb2aa4f(_0x143a2b._0x1882a0,0x12e)]['forEach'](_0x7aeb33=>{function _0x409535(_0x22ea8c,_0x153605){return _0xb2aa4f(_0x22ea8c- -_0x30bd2a._0x3488d9,_0x153605);}if(_0x7aeb33['value'])_0x315df5(_0x7aeb33['value']);else _0x7aeb33['coords']&&_0x7aeb33['coords'][_0x409535(-0x1a7,-_0x53126d._0x3ea96d)](_0x1d762b=>{_0x315df5(_0x1d762b);});});});if(_0x2370f4===0x0&&_0x4d4eeb===0x0&&_0x40d716===0x0&&_0x1b5896===0x0)return null;function _0x100753(_0x34b964,_0x350e7e){return _0x493abb(_0x350e7e- -_0x4d82fb._0x45b68c,_0x34b964);}if(_0x14a4df!==null&&_0x14a4df!==void 0x0&&_0x14a4df['isFormat']){const _0x21d1d6={};return _0x21d1d6['xmin']=_0x2370f4,_0x21d1d6['xmax']=_0x40d716,_0x21d1d6['ymin']=_0x4d4eeb,_0x21d1d6['ymax']=_0x1b5896,_0x21d1d6;}else return Cesium[_0x53b191(_0x2957e0._0x1202b9,0x46d)]['fromDegrees'](_0x2370f4,_0x4d4eeb,_0x40d716,_0x1b5896);}['on'](_0x5a6f80,_0x4247fb,_0x16975d){const _0x56ff32={_0x424185:0x5a5};this[_0x35f92e(0x5a6,_0x56ff32._0x424185)]['on'](_0x5a6f80,_0x4247fb,_0x16975d||this);function _0x35f92e(_0x1964d9,_0x414a0f){return _0x271f06(_0x1964d9-0x182,_0x414a0f);}return this;}[_0x493abb(0x528,0x529)](_0x40fb3a,_0xa13363,_0x5a7e1c,_0x3a6229){return this['_echartsInstance']['on'](_0x40fb3a,_0xa13363,_0x5a7e1c,_0x3a6229||this),this;}[_0x271f06(0x40c,0x3e2)](_0x3d517c,_0x3e6fd1,_0x5c9c30){const _0x3d5161={_0x6eb516:0xf6,_0x5312f7:0xed,_0x5ddf08:0xd2},_0x34b3e9={_0x54dfcf:0x337};this[_0x30fee3(_0x3d5161._0x6eb516,_0x3d5161._0x5312f7)][_0x368ef3(-0xd2,-_0x3d5161._0x5ddf08)](_0x3d517c,_0x3e6fd1,_0x5c9c30||this);function _0x30fee3(_0x2c8962,_0x5f1baa){return _0x271f06(_0x5f1baa- -_0x34b3e9._0x54dfcf,_0x2c8962);}function _0x368ef3(_0x21863f,_0x3cc805){return _0x493abb(_0x3cc805- -0x601,_0x21863f);}return this;}}mars3d__namespace[_0x271f06(0x3e8,0x3ce)][_0x271f06(0x409,0x3d9)]('echarts',EchartsLayer),mars3d__namespace[_0x271f06(0x3df,0x3ff)]['EchartsLayer']=EchartsLayer,mars3d__namespace[_0x271f06(0x42a,0x414)]=echarts__namespace;function _0x493abb(_0x43dafa,_0x37fcf1){const _0x3c0d93={_0x3e752b:0x371};return _0x2788(_0x43dafa-_0x3c0d93._0x3e752b,_0x37fcf1);}mars3d__namespace['Log']['logInfo']('mars3d-echarts插件\x20注册成功'),exports['EchartsLayer']=EchartsLayer,Object[_0x493abb(0x544,0x51d)](echarts)['forEach'](function(_0xc48f5b){const _0x13c61a={_0x3bdc29:0x1c2};function _0x1110fe(_0x10eda5,_0x2a0c28){return _0x271f06(_0x2a0c28- -0x274,_0x10eda5);}if(_0xc48f5b!=='default'&&!exports['hasOwnProperty'](_0xc48f5b))Object[_0x1110fe(_0x13c61a._0x3bdc29,0x19d)](exports,_0xc48f5b,{'enumerable':!![],'get':function(){return echarts[_0xc48f5b];}});});const _0x5a1a84={};_0x5a1a84[_0x493abb(0x521,0x506)]=!![],Object[_0x271f06(0x411,0x407)](exports,_0x493abb(0x540,0x526),_0x5a1a84);
|
|
14
|
+
'use strict';(function(_0x383e8e,_0x282c84){const _0x44a03a={_0x59238a:0x90,_0x57ce6c:0x28f,_0x2632c8:0x2b1,_0x198ded:0x2ae,_0x1c12df:0x5b,_0x23bb49:0x7d,_0x258752:0x2b0,_0x4d2e73:0xb7};function _0x2509e7(_0x375bd9,_0x5e2f1a){return _0x2ff9(_0x5e2f1a- -0x2aa,_0x375bd9);}const _0x55a00a=_0x383e8e();function _0x40b90d(_0x1e5cc4,_0x50076c){return _0x2ff9(_0x1e5cc4-0x86,_0x50076c);}while(!![]){try{const _0x20f8aa=-parseInt(_0x2509e7(-_0x44a03a._0x59238a,-0x9b))/0x1+-parseInt(_0x40b90d(_0x44a03a._0x57ce6c,0x284))/0x2*(-parseInt(_0x40b90d(0x2ad,0x2cc))/0x3)+parseInt(_0x40b90d(_0x44a03a._0x2632c8,0x2b9))/0x4+-parseInt(_0x40b90d(0x2be,_0x44a03a._0x198ded))/0x5+-parseInt(_0x2509e7(-_0x44a03a._0x1c12df,-_0x44a03a._0x23bb49))/0x6+parseInt(_0x40b90d(_0x44a03a._0x258752,0x2d6))/0x7+parseInt(_0x2509e7(-0xbb,-_0x44a03a._0x4d2e73))/0x8;if(_0x20f8aa===_0x282c84)break;else _0x55a00a['push'](_0x55a00a['shift']());}catch(_0x2f42f1){_0x55a00a['push'](_0x55a00a['shift']());}}}(_0x33b6,0xd328a));function _interopNamespace(_0xde4f28){const _0x323bb5={_0x4b575e:0x85};if(_0xde4f28&&_0xde4f28['__esModule'])return _0xde4f28;var _0xfde219=Object['create'](null);return _0xde4f28&&Object['keys'](_0xde4f28)['forEach'](function(_0x3bc483){function _0x41eb49(_0x149ad3,_0x48dc43){return _0x2ff9(_0x48dc43- -0x17f,_0x149ad3);}if(_0x3bc483!==_0x41eb49(0x74,_0x323bb5._0x4b575e)){var _0x793b5a=Object['getOwnPropertyDescriptor'](_0xde4f28,_0x3bc483);Object['defineProperty'](_0xfde219,_0x3bc483,_0x793b5a['get']?_0x793b5a:{'enumerable':!![],'get':function(){return _0xde4f28[_0x3bc483];}});}}),_0xfde219['default']=_0xde4f28,_0xfde219;}var mars3d__namespace=_interopNamespace(mars3d),echarts__namespace=_interopNamespace(echarts);function _0x33b6(){const _0x52c9ca=['C2v0twfWt2zMC2v0','x3bVAw50zxjfDMvUDhm','A2v5CW','x21HCe9MzNnLDa','zgvWDgHuzxn0','EKLUzgv4','mtaYoda5mJHoAgPuu1u','x21VDw50zwriB29R','CMvZAxPL','Aw5PDa','CMvTB3zLq2HPBgq','DMfSDwu','BwfYCZnKtwfWuM9HBq','zgvMAw5LuhjVCgvYDhK','CMvTB3zLrxzLBNrmAxn0zw5LCG','AgfZt3DUuhjVCgvYDhK','zgL2','DMLZAwjPBgL0Eq','Bwf4','Dg9W','q2fYDg9NCMfWAgLJ','zwfJAfnLCMLLCW','D2LKDgG','zgvMyxvSDa','CM9HBq','C3r5Bgu','zML4zwrizwLNAhq','B3b0Aw9UCW','mMPsALHizG','yxbP','AxngB3jTyxq','x2vJAgfYDhnjBNn0yw5Jzq','zgf0yvrVug9PBNq','x21HCNmZzf9Zy2vUzq','mta5odu0m2jpz3resW','y2fTzxjH','z2v0qK1HCa','B25SEvnPBxbSzvr5Cgu','CgfPBNrLCG','C2vYAwvZ','zwnOyxj0CW','x2fWAq','Eg1PBG','x21HCa','y29VCMrZ','zwnOyxj0C0zPEgvKsgvPz2H0','Dg9xAw5KB3DdB29YzgLUyxrLCW','y2XPzw50v2LKDgG','C2nOzwr1BgvY','q2vZAxvT','y2fUDMfZ','zxH0zw5Kq29TCg9Uzw50vMLLDW','y3jLyxrL','rwXSAxbZB2LKywXpy2nSDwrLCG','uMvJDgfUz2XL','BwfYCZnKtwfW','DhLWzq','BwLU','mtCZndmWm2LptNzHuG','Cg9PBNrLCKv2zw50CW','DxbKyxrL','ndG1otK4og51Bw1yBW','ntaWnJiXnNPtwMr1ta','CMvNAxn0zxjdB29YzgLUyxrLu3LZDgvT','nZKYmJmYog5UueXfwG','Bg5N','zwfJAenVBxbVBMvUDa','z2v0uMvJDgfUz2XL','C2nLBMu','rg9TvxrPBa','Bgf5zxi','Bw92zuHHBMrSzxi','zwnOyxj0C0f1Dg9izwLNAhq','x2vJAgfYDhndB250ywLUzxi','y29VCMrPBMf0zvn5C3rLBq','mJyYnJa5mhbvzMDYtW','Eg1HEa','z2v0sgvPz2H0','C2v0rwnOyxj0C09WDgLVBG','zgLTzw5ZAw9UCW','z2v0v2LKDgG','zgLZCg9Zzq','Cg9ZAxrPB24','ywXS'];_0x33b6=function(){return _0x52c9ca;};return _0x33b6();}const Cesium$1=mars3d__namespace['Cesium'];class CompositeCoordinateSystem{constructor(_0x92f38b,_0x41fa2e){this['_mars3d_scene']=_0x92f38b,this[_0x52b8a5(0x5b7,0x5d2)]=['lng','lat'],this['_mapOffset']=[0x0,0x0];function _0x52b8a5(_0x33b52a,_0x59c52d){return _0x2ff9(_0x59c52d-0x396,_0x33b52a);}this['_api']=_0x41fa2e;}[_0x326c5e(0x213,0x22f)](_0x20e5cf){const _0x403a79={_0xfcc1d:0x1bf},_0x29524e={_0x3907cb:0x2e};function _0x17ee2e(_0x33cb80,_0x31e2e7){return _0x326c5e(_0x31e2e7- -_0x29524e._0x3907cb,_0x33cb80);}this[_0x17ee2e(_0x403a79._0xfcc1d,0x1e8)]=_0x20e5cf;}[_0x326c5e(0x237,0x239)](){return this['_mars3d_scene'];}[_0x326c5e(0x233,0x234)](_0x58d905){const _0x353f9e={_0x44782c:0xf1,_0x2dac2f:0x154,_0x3957ab:0xfb},_0x85348f={_0x136790:0x100};function _0x3e3fb1(_0x23a78d,_0x5dfe9a){return _0x58be30(_0x5dfe9a,_0x23a78d-0xa4);}const _0xda1cc=this['_mars3d_scene'],_0x12b9a9=[NaN,NaN];let _0xbe81df=_0xda1cc[_0x26c684(0x122,0x12d)];_0xda1cc['echartsAutoHeight']&&(_0xbe81df=_0xda1cc[_0x3e3fb1(_0x353f9e._0x44782c,0x108)](Cesium$1[_0x26c684(0x115,0x114)]['fromDegrees'](_0x58d905[0x0],_0x58d905[0x1])));const _0x2d9c9d=Cesium$1['Cartesian3']['fromDegrees'](_0x58d905[0x0],_0x58d905[0x1],_0xbe81df);if(!_0x2d9c9d)return _0x12b9a9;const _0x17e4e3=mars3d__namespace['PointTrans'][_0x26c684(_0x353f9e._0x2dac2f,0x12e)](_0xda1cc,_0x2d9c9d);function _0x26c684(_0x10be9c,_0x4ec26c){return _0x58be30(_0x10be9c,_0x4ec26c-_0x85348f._0x136790);}if(!_0x17e4e3)return _0x12b9a9;if(_0xda1cc['echartsDepthTest']&&_0xda1cc['mode']===Cesium$1['SceneMode']['SCENE3D']){const _0x16e431=new Cesium$1[(_0x3e3fb1(0xd9,0xde))](_0xda1cc['globe']['ellipsoid'],_0xda1cc[_0x26c684(0x146,0x123)]['positionWC']),_0x16785=_0x16e431['isPointVisible'](_0x2d9c9d);if(!_0x16785)return _0x12b9a9;}return[_0x17e4e3['x']-this['_mapOffset'][0x0],_0x17e4e3['y']-this[_0x26c684(_0x353f9e._0x3957ab,0x103)][0x1]];}['getViewRect'](){const _0x3bc85a={_0xbabe3e:0x10c},_0x3178db={_0x398647:0x142},_0x3cd5b1=this[_0x2dc872(-_0x3bc85a._0xbabe3e,-0x119)];function _0x2d49c3(_0x2223ce,_0x47b9d9){return _0x326c5e(_0x47b9d9- -0x339,_0x2223ce);}function _0x2dc872(_0x5a8add,_0x43f631){return _0x58be30(_0x5a8add,_0x43f631- -_0x3178db._0x398647);}return new echarts__namespace['graphic']['BoundingRect'](0x0,0x0,_0x3cd5b1[_0x2dc872(-0x103,-0xf2)](),_0x3cd5b1['getHeight']());}['getRoamTransform'](){const _0x5a0719={_0x41103e:0x11a};function _0x51e679(_0xa32191,_0x28f2dc){return _0x326c5e(_0xa32191- -0x12d,_0x28f2dc);}return echarts__namespace['matrix'][_0x51e679(_0x5a0719._0x41103e,0xf9)]();}}CompositeCoordinateSystem['dimensions']=[_0x326c5e(0x254,0x26c),'lat'],CompositeCoordinateSystem[_0x58be30(0x32,0x34)]=function(_0x15ce66,_0xefc63b){const _0x21a0af={_0x2dc0a3:0x4cf,_0x37e86a:0x4db,_0x59216f:0x4b4},_0x552a43={_0x51610c:0x395},_0x1057e7={_0x317d7e:0x154},_0x7e34a5={_0x55b34b:0x42d,_0xda6617:0x1f,_0x50fbf5:0x3},_0x52d4df={_0x5bf926:0x4ec};let _0x4b6f33;function _0xcd3b44(_0x395835,_0x5c31f0){return _0x326c5e(_0x5c31f0-0x28c,_0x395835);}const _0x583deb=_0x15ce66[_0xcd3b44(0x4d5,_0x21a0af._0x2dc0a3)]['ecInstance']['_mars3d_scene'];_0x15ce66[_0x2fc17a(0x126,0x123)]('mars3dMap',function(_0x4eaae6){function _0x3169f2(_0x35a9b0,_0x198a5a){return _0x2fc17a(_0x198a5a,_0x35a9b0-0x326);}const _0x3bd8c7=_0xefc63b['getZr']()[_0x3169f2(_0x7e34a5._0x55b34b,0x423)];function _0x293017(_0x951d57,_0x196cbf){return _0xcd3b44(_0x951d57,_0x196cbf- -_0x52d4df._0x5bf926);}if(!_0x3bd8c7)return;!_0x4b6f33&&(_0x4b6f33=new CompositeCoordinateSystem(_0x583deb,_0xefc63b)),_0x4eaae6[_0x293017(-_0x7e34a5._0xda6617,-_0x7e34a5._0x50fbf5)]=_0x4b6f33,_0x4b6f33['setMapOffset'](_0x4eaae6['__mapOffset']||[0x0,0x0]);});function _0x2fc17a(_0x27e54e,_0x5dc247){return _0x58be30(_0x27e54e,_0x5dc247-0xe1);}_0x15ce66[_0xcd3b44(_0x21a0af._0x37e86a,_0x21a0af._0x59216f)](function(_0x49eb7c){function _0x3ea136(_0x4fe04d,_0x1a69a2){return _0xcd3b44(_0x1a69a2,_0x4fe04d- -0x1d7);}function _0x2f20c9(_0x374b62,_0x1f44af){return _0xcd3b44(_0x1f44af,_0x374b62- -_0x1057e7._0x317d7e);}_0x49eb7c['get']('coordinateSystem')===_0x2f20c9(0x382,0x35c)&&(!_0x4b6f33&&(_0x4b6f33=new CompositeCoordinateSystem(_0x583deb,_0xefc63b)),_0x49eb7c[_0x2f20c9(_0x552a43._0x51610c,0x39b)]=_0x4b6f33);});};function _0x326c5e(_0xb5c94c,_0x924e30){return _0x2ff9(_0xb5c94c-0x26,_0x924e30);}if(echarts__namespace!==null&&echarts__namespace!==void 0x0&&echarts__namespace[_0x58be30(-0x21,0x9)]){echarts__namespace[_0x58be30(0x16,0x3f)](_0x326c5e(0x24a,0x241),CompositeCoordinateSystem);const _0x2a4de0={};_0x2a4de0['type']='mars3dMapRoam',_0x2a4de0['event']=_0x58be30(0x10,0xc),_0x2a4de0[_0x326c5e(0x24f,0x276)]='updateLayout',echarts__namespace['registerAction'](_0x2a4de0,function(_0x499c40,_0x5e0a4b){});const _0x3e2487={};_0x3e2487[_0x326c5e(0x22b,0x252)]=![];const _0x504477={};_0x504477[_0x58be30(0x40,0x38)]='mars3dMap',_0x504477[_0x58be30(0x49,0x24)]=function(){const _0x152a5c={_0x5c99e5:0x71};function _0x568add(_0x466465,_0x3f624c){return _0x58be30(_0x3f624c,_0x466465-0x5a);}return this[_0x568add(0x7b,_0x152a5c._0x5c99e5)];},_0x504477['defaultOption']=_0x3e2487,echarts__namespace['extendComponentModel'](_0x504477),echarts__namespace[_0x58be30(0x4c,0x33)]({'type':_0x58be30(0x53,0x37),'init':function(_0x443ada,_0x51d315){const _0x5020e={_0x113537:0x53e};this['api']=_0x51d315;function _0x1306ca(_0x66e0fd,_0x4e0604){return _0x326c5e(_0x4e0604-0x2d6,_0x66e0fd);}this['scene']=_0x443ada['scheduler']['ecInstance']['_mars3d_scene'],this[_0x1306ca(_0x5020e._0x113537,0x52d)]['postRender']['addEventListener'](this['moveHandler'],this);},'moveHandler':function(_0x40e5a5,_0x58c9df){const _0x2ea132={_0x32dbe4:0x258,_0x4b7490:0x3a4,_0x535731:0x3a9},_0x1939c0={_0x5aec17:0x174},_0x554728={_0x54dc5e:0xd};function _0x88d948(_0x3462b1,_0x4d9031){return _0x326c5e(_0x4d9031-_0x554728._0x54dc5e,_0x3462b1);}const _0x24e530={};_0x24e530[_0x88d948(0x23c,_0x2ea132._0x32dbe4)]='mars3dMapRoam';function _0x21ab1b(_0x17275d,_0x303982){return _0x326c5e(_0x17275d-_0x1939c0._0x5aec17,_0x303982);}this[_0x21ab1b(_0x2ea132._0x4b7490,_0x2ea132._0x535731)]['dispatchAction'](_0x24e530);},'render':function(_0x40f68b,_0x36bcbb,_0x34c608){},'dispose':function(_0x484e17){const _0x3c2470={_0x4c4d4e:0x15a},_0x56b248={_0x109bee:0x311},_0xb8dfd0={_0x4f8f10:0x1b7};function _0x1287bc(_0x4d61f9,_0x32543c){return _0x58be30(_0x4d61f9,_0x32543c- -_0xb8dfd0._0x4f8f10);}function _0x5eb59e(_0x3348ae,_0x12e94f){return _0x326c5e(_0x12e94f- -_0x56b248._0x109bee,_0x3348ae);}this['scene']['postRender'][_0x5eb59e(-0xd3,-0xf0)](this[_0x1287bc(-_0x3c2470._0x4c4d4e,-0x170)],this);}});}else throw new Error('请引入\x20echarts\x20库\x20');const Cesium=mars3d__namespace[_0x326c5e(0x244,0x261)];function _0x58be30(_0x30f57a,_0x10f2e1){return _0x2ff9(_0x10f2e1- -0x1ed,_0x30f57a);}const BaseLayer=mars3d__namespace['layer']['BaseLayer'];function _0x2ff9(_0x1335dc,_0x139db6){const _0x33b6c0=_0x33b6();return _0x2ff9=function(_0x2ff97e,_0x220e46){_0x2ff97e=_0x2ff97e-0x1eb;let _0x264f7e=_0x33b6c0[_0x2ff97e];if(_0x2ff9['FXDUme']===undefined){var _0x643c0a=function(_0x2a4de0){const _0x3e2487='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x504477='',_0x288f56='';for(let _0x30323f=0x0,_0x4f39fc,_0x208dac,_0xde4f28=0x0;_0x208dac=_0x2a4de0['charAt'](_0xde4f28++);~_0x208dac&&(_0x4f39fc=_0x30323f%0x4?_0x4f39fc*0x40+_0x208dac:_0x208dac,_0x30323f++%0x4)?_0x504477+=String['fromCharCode'](0xff&_0x4f39fc>>(-0x2*_0x30323f&0x6)):0x0){_0x208dac=_0x3e2487['indexOf'](_0x208dac);}for(let _0xfde219=0x0,_0x3bc483=_0x504477['length'];_0xfde219<_0x3bc483;_0xfde219++){_0x288f56+='%'+('00'+_0x504477['charCodeAt'](_0xfde219)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x288f56);};_0x2ff9['pSmIrL']=_0x643c0a,_0x1335dc=arguments,_0x2ff9['FXDUme']=!![];}const _0x104d3c=_0x33b6c0[0x0],_0x3d30ee=_0x2ff97e+_0x104d3c,_0x55348b=_0x1335dc[_0x3d30ee];return!_0x55348b?(_0x264f7e=_0x2ff9['pSmIrL'](_0x264f7e),_0x1335dc[_0x3d30ee]=_0x264f7e):_0x264f7e=_0x55348b,_0x264f7e;},_0x2ff9(_0x1335dc,_0x139db6);}class EchartsLayer extends BaseLayer{constructor(_0x482e2f={}){const _0x9c352a={_0x1f1e97:0x15f,_0x4a069e:0x129};super(_0x482e2f);function _0x476cac(_0x5f2ddf,_0x28ebfb){return _0x326c5e(_0x5f2ddf- -0x377,_0x28ebfb);}function _0x6d95dd(_0x4d6cf2,_0x211ee4){return _0x326c5e(_0x211ee4-0x2de,_0x4d6cf2);}this[_0x476cac(-0x163,-_0x9c352a._0x1f1e97)]=this['options'][_0x476cac(-_0x9c352a._0x4a069e,-0x13e)];}get[_0x58be30(0x1c,0x46)](){const _0x2bbfbc={_0x9bdb0e:0x47e};function _0x433f19(_0x264555,_0x2cdb32){return _0x58be30(_0x2cdb32,_0x264555-0x486);}return this[_0x433f19(0x4a5,_0x2bbfbc._0x9bdb0e)];}get[_0x58be30(0x5c,0x3b)](){return this['_pointerEvents'];}set['pointerEvents'](_0x4d7339){const _0x321252={_0x2f2346:0x556},_0x4d0720={_0x1d17ae:0xf5};this['_pointerEvents']=_0x4d7339;function _0x32bcfe(_0x222565,_0x1405d3){return _0x58be30(_0x1405d3,_0x222565-_0x4d0720._0x1d17ae);}function _0xb52b32(_0x59e722,_0x15e855){return _0x58be30(_0x59e722,_0x15e855-_0x321252._0x2f2346);}this[_0xb52b32(0x598,0x59f)]&&(_0x4d7339?this['_echartsContainer']['style']['pointerEvents']=_0x32bcfe(0xf4,0xfa):this['_echartsContainer']['style']['pointerEvents']='none');}['_setOptionsHook'](_0x3c1c19,_0x3e3d42){this['setEchartsOption'](_0x3c1c19);}['_showHook'](_0x30f7ef){const _0x1a9845={_0x458fbb:0x17f,_0x257b3a:0x10a,_0x3339d4:0x169,_0x5b1f10:0x1b7};function _0x50dda1(_0x120f51,_0x101b89){return _0x58be30(_0x120f51,_0x101b89- -0x12e);}function _0x362aea(_0x330683,_0x2f9502){return _0x326c5e(_0x2f9502- -0x3db,_0x330683);}_0x30f7ef?this[_0x362aea(-0x1a6,-_0x1a9845._0x458fbb)][_0x50dda1(-_0x1a9845._0x257b3a,-0x115)][_0x362aea(-0x1ba,-0x1b7)]='visible':this[_0x362aea(-_0x1a9845._0x3339d4,-0x17f)]['style'][_0x362aea(-0x1dd,-_0x1a9845._0x5b1f10)]='hidden';}[_0x58be30(-0xe,0x7)](){const _0x5d5778={_0x571e42:0x50b,_0x185ee5:0x503,_0x2ca549:0xe5,_0x22cd8e:0x551,_0x3a18bb:0xe4},_0x2fa5ac={_0x3f4baa:0xca},_0x568a45={_0x5de2d0:0x507};this[_0x28986a(0xdf,0xf5)]['scene']['echartsDepthTest']=this['options'][_0x1c6424(_0x5d5778._0x571e42,_0x5d5778._0x185ee5)]??!![];function _0x1c6424(_0x275db2,_0x3a7307){return _0x58be30(_0x3a7307,_0x275db2-_0x568a45._0x5de2d0);}this['_map']['scene'][_0x1c6424(0x54f,0x534)]=this[_0x28986a(0xf0,_0x5d5778._0x2ca549)]['clampToGround']??![];function _0x28986a(_0x179c97,_0xeb87e5){return _0x58be30(_0x179c97,_0xeb87e5-_0x2fa5ac._0x3f4baa);}this[_0x1c6424(0x532,_0x5d5778._0x22cd8e)][_0x28986a(0x132,0x10e)]['echartsFixedHeight']=this['options'][_0x28986a(0xe4,_0x5d5778._0x3a18bb)]??0x0;}['_addedHook'](){const _0x42de00={_0x305e09:0x4bd,_0x1de1df:0x4d0,_0x11416e:0x599,_0x5d5290:0x5b4};this['_echartsContainer']=this['_createChartOverlay'](),this['_echartsInstance']=echarts__namespace['init'](this['_echartsContainer']),this['_echartsInstance']['_mars3d_scene']=this[_0x31d667(_0x42de00._0x305e09,_0x42de00._0x1de1df)]['scene'];function _0x3282c6(_0xb81838,_0x4b24b6){return _0x326c5e(_0xb81838-0x338,_0x4b24b6);}function _0x31d667(_0x8ce3de,_0x40723e){return _0x326c5e(_0x40723e-0x292,_0x8ce3de);}this[_0x3282c6(_0x42de00._0x11416e,_0x42de00._0x5d5290)](this[_0x3282c6(0x566,0x546)]);}['_removedHook'](){const _0x9406f8={_0x49d006:0xc6,_0xc6a217:0x119,_0x49e781:0x34,_0x17bc32:0xc0,_0x244c19:0xde};this[_0xea7bbe(-0xfd,-0x108)]&&(this['_echartsInstance']['clear'](),this['_echartsInstance'][_0xea7bbe(-0xd7,-0xd6)](),delete this[_0xea7bbe(-0x130,-0x108)]);function _0xea7bbe(_0xc82177,_0x42bb72){return _0x58be30(_0xc82177,_0x42bb72- -0x127);}function _0x410041(_0x3b4403,_0x8ae2cc){return _0x58be30(_0x8ae2cc,_0x3b4403- -0x9e);}this[_0xea7bbe(-_0x9406f8._0x49d006,-0xde)]&&(this[_0xea7bbe(-_0x9406f8._0xc6a217,-0xfc)]['container'][_0xea7bbe(-0x10e,-0x11d)](this[_0x410041(-0x55,-_0x9406f8._0x49e781)]),delete this[_0xea7bbe(-_0x9406f8._0x17bc32,-_0x9406f8._0x244c19)]);}['_createChartOverlay'](){const _0x166826={_0x1e60ef:0x4dc,_0x5083f1:0x5ae,_0x5f4edf:0x4e4,_0x510ad6:0x4f7,_0x40af93:0x595,_0x5563eb:0x5d9,_0x68e9f0:0x522,_0x289ed7:0x4df,_0x1331d6:0x59a,_0x524b94:0x5b0},_0x13aa26={_0x2871aa:0x382},_0x62ad21=mars3d__namespace[_0x402d56(0x523,0x4ff)]['create'](_0x402d56(0x4ee,0x4ef),'mars3d-echarts',this[_0x402d56(0x509,0x519)]['container']);_0x62ad21['id']=this['id'],_0x62ad21['style'][_0x402d56(_0x166826._0x1e60ef,0x4fc)]='absolute',_0x62ad21[_0x66de33(0x5ab,_0x166826._0x5083f1)][_0x402d56(0x4f1,_0x166826._0x5f4edf)]='0px',_0x62ad21[_0x402d56(_0x166826._0x510ad6,0x4f6)]['left']='0px',_0x62ad21[_0x402d56(_0x166826._0x510ad6,0x4f9)][_0x66de33(_0x166826._0x40af93,0x5ab)]=this['_map'][_0x66de33(0x5ea,_0x166826._0x5563eb)]['canvas']['clientWidth']+'px',_0x62ad21[_0x66de33(0x587,0x5ae)]['height']=this[_0x402d56(0x509,0x519)]['scene'][_0x402d56(0x510,_0x166826._0x68e9f0)]['clientHeight']+'px',_0x62ad21['style']['pointerEvents']=this[_0x402d56(_0x166826._0x289ed7,0x508)]?'all':'none',_0x62ad21['style'][_0x66de33(0x5a5,_0x166826._0x1331d6)]=this[_0x66de33(0x5cb,_0x166826._0x524b94)]['zIndex']??0x9;function _0x402d56(_0x58b8db,_0x576e02){return _0x326c5e(_0x58b8db-0x2cb,_0x576e02);}function _0x66de33(_0x677d7e,_0x1b784d){return _0x326c5e(_0x1b784d-_0x13aa26._0x2871aa,_0x677d7e);}return _0x62ad21;}[_0x58be30(0x0,0x8)](){const _0x42bba1={_0x1649d0:0xe3,_0xf723ff:0x46d,_0x294cd3:0x4ae,_0x3ed202:0x489,_0x5f0bcd:0xc2},_0x3c2ab1={_0x3cec24:0x22d};if(!this['_echartsInstance'])return;this['_echartsContainer']['style']['width']=this[_0x7bf212(0xce,_0x42bba1._0x1649d0)]['scene']['canvas'][_0x12d68b(_0x42bba1._0xf723ff,0x46f)]+'px',this[_0x12d68b(_0x42bba1._0x294cd3,_0x42bba1._0x3ed202)]['style']['height']=this['_map']['scene'][_0x7bf212(0xd5,0xda)]['clientHeight']+'px';function _0x12d68b(_0x31d23f,_0x58182a){return _0x326c5e(_0x58182a-_0x3c2ab1._0x3cec24,_0x31d23f);}function _0x7bf212(_0xb52165,_0x21b4d2){return _0x326c5e(_0xb52165- -0x170,_0x21b4d2);}this[_0x7bf212(_0x42bba1._0x5f0bcd,0xdb)]['resize']();}[_0x58be30(0x38,0x4e)](_0x43d325,_0x271588,_0x315da8){const _0x26b0c7={_0x52cce5:0x41d,_0x50b7f9:0x445},_0x290cea={_0x44368c:0x3a2};function _0x2efe1b(_0x4c21ff,_0x5abe78){return _0x326c5e(_0x4c21ff- -_0x290cea._0x44368c,_0x5abe78);}function _0x280a81(_0x42c44c,_0x16affa){return _0x58be30(_0x42c44c,_0x16affa-0x400);}if(this[_0x280a81(_0x26b0c7._0x52cce5,0x41f)]){const _0x239676={};_0x239676[_0x280a81(_0x26b0c7._0x50b7f9,0x425)]=!![],_0x43d325={'mars3dMap':{},...mars3d__namespace['Util']['getAttrVal'](_0x43d325,_0x239676)},delete _0x43d325['eventParent'],this['_echartsInstance']['setOption'](_0x43d325,_0x271588,_0x315da8);}}[_0x58be30(0x51,0x43)](_0x1763ff){const _0x136ea4={_0x58167f:0xcd,_0xc8975c:0xa3,_0x19ddc7:0x94,_0x5d330b:0x73},_0x598ee4={_0x5cef82:0xca},_0x141122={_0x7a6557:0x106},_0x534a81={_0x2d3a73:0x282},_0x4279b8={_0x2dd6f4:0x1ab,_0x394b35:0x184};let _0x4b5c3d,_0x3aa8c8,_0x33a027,_0xad8c51;function _0x43917e(_0x3ac557){const _0x59f879={_0x289983:0x321};if(!Array['isArray'](_0x3ac557))return;const _0x1da2ab=_0x3ac557[0x0]||0x0;function _0x578ccb(_0x3c28ec,_0x49bf23){return _0x2ff9(_0x3c28ec- -0x7b,_0x49bf23);}const _0x43b271=_0x3ac557[0x1]||0x0;function _0x4b4be9(_0x407fb6,_0x288252){return _0x2ff9(_0x407fb6- -_0x59f879._0x289983,_0x288252);}_0x1da2ab!==0x0&&_0x43b271!==0x0&&(_0x4b5c3d===undefined?(_0x4b5c3d=_0x1da2ab,_0x3aa8c8=_0x1da2ab,_0x33a027=_0x43b271,_0xad8c51=_0x43b271):(_0x4b5c3d=Math[_0x578ccb(_0x4279b8._0x2dd6f4,0x1bd)](_0x4b5c3d,_0x1da2ab),_0x3aa8c8=Math[_0x578ccb(_0x4279b8._0x394b35,0x186)](_0x3aa8c8,_0x1da2ab),_0x33a027=Math['min'](_0x33a027,_0x43b271),_0xad8c51=Math['max'](_0xad8c51,_0x43b271)));}const _0x349a73=this[_0x4f3c7e(-0xaf,-_0x136ea4._0x58167f)][_0x4f3c7e(-_0x136ea4._0xc8975c,-0xcc)];function _0x443722(_0x29fba4,_0x57b8b7){return _0x326c5e(_0x57b8b7- -_0x534a81._0x2d3a73,_0x29fba4);}_0x349a73&&_0x349a73['forEach'](_0x38e560=>{_0x38e560['data']&&_0x38e560['data']['forEach'](_0x2a239f=>{const _0x4fc354={_0x49f37b:0x2fe};function _0x2a93d5(_0x2b7aa4,_0x5bf5af){return _0x2ff9(_0x5bf5af- -0x275,_0x2b7aa4);}function _0x4b291d(_0x27d44d,_0x58b4f7){return _0x2ff9(_0x58b4f7- -_0x4fc354._0x49f37b,_0x27d44d);}if(_0x2a239f['value'])_0x43917e(_0x2a239f[_0x4b291d(-0x126,-_0x141122._0x7a6557)]);else _0x2a239f[_0x4b291d(-0xcf,-0xe5)]&&_0x2a239f[_0x2a93d5(-0x4d,-0x5c)]['forEach'](_0xf28dc9=>{_0x43917e(_0xf28dc9);});});});function _0x4f3c7e(_0xdb471,_0x2c8e7d){return _0x58be30(_0x2c8e7d,_0xdb471- -_0x598ee4._0x5cef82);}if(_0x4b5c3d===0x0&&_0x33a027===0x0&&_0x3aa8c8===0x0&&_0xad8c51===0x0)return null;if(_0x1763ff!==null&&_0x1763ff!==void 0x0&&_0x1763ff[_0x443722(-0x59,-0x51)]){const _0x165e14={};return _0x165e14[_0x443722(-0x2f,-0x45)]=_0x4b5c3d,_0x165e14[_0x443722(0x0,-0x23)]=_0x3aa8c8,_0x165e14['ymin']=_0x33a027,_0x165e14['ymax']=_0xad8c51,_0x165e14;}else return Cesium[_0x4f3c7e(-_0x136ea4._0x19ddc7,-_0x136ea4._0x5d330b)]['fromDegrees'](_0x4b5c3d,_0x33a027,_0x3aa8c8,_0xad8c51);}['on'](_0x521707,_0x52ee2f,_0xd7ba9b){return this['_echartsInstance']['on'](_0x521707,_0x52ee2f,_0xd7ba9b||this),this;}['onByQuery'](_0x24d7e3,_0x457dcc,_0x20c045,_0x196ed3){const _0x3ad0ed={_0x2529be:0x505,_0x52c52d:0x509};function _0x49ff97(_0x2a6275,_0x4cec4a){return _0x58be30(_0x4cec4a,_0x2a6275-0x4e6);}return this[_0x49ff97(_0x3ad0ed._0x2529be,_0x3ad0ed._0x52c52d)]['on'](_0x24d7e3,_0x457dcc,_0x20c045,_0x196ed3||this),this;}['off'](_0x3ae6bb,_0x9fe2e1,_0x24a008){const _0x4e98bb={_0x3cb4ab:0x1bc};this[_0x3c258a(-0x1b6,-_0x4e98bb._0x3cb4ab)]['off'](_0x3ae6bb,_0x9fe2e1,_0x24a008||this);function _0x3c258a(_0x5307d8,_0x408332){return _0x58be30(_0x408332,_0x5307d8- -0x1d5);}return this;}}mars3d__namespace['LayerUtil']['register'](_0x326c5e(0x23b,0x253),EchartsLayer),mars3d__namespace['layer']['EchartsLayer']=EchartsLayer,mars3d__namespace['echarts']=echarts__namespace,mars3d__namespace['Log']['logInfo']('mars3d-echarts插件\x20注册成功'),exports['EchartsLayer']=EchartsLayer,Object[_0x58be30(-0xc,0x2)](echarts)['forEach'](function(_0x52c036){const _0xe3f741={_0x3b154a:0x1ae};function _0x2f2eee(_0xc2d869,_0x352dbe){return _0x326c5e(_0x352dbe- -0x3d0,_0xc2d869);}if(_0x52c036!=='default'&&!exports[_0x2f2eee(-0x1d2,-_0xe3f741._0x3b154a)](_0x52c036))Object['defineProperty'](exports,_0x52c036,{'enumerable':!![],'get':function(){return echarts[_0x52c036];}});});const _0x208dac={};_0x208dac[_0x326c5e(0x21e,0x233)]=!![],Object[_0x58be30(-0xd,0xd)](exports,'__esModule',_0x208dac);
|
|
15
15
|
}));
|
package/package.json
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "mars3d-echarts",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.10.1",
|
|
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
|
+
"mars3d": "~3.10.1"
|
|
11
11
|
},
|
|
12
12
|
"scripts": {
|
|
13
13
|
"lint": "eslint ./src/**/*.{js,ts} --fix"
|