mars3d-echarts 3.9.12 → 3.10.0
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-06
|
|
4
|
+
* 版本信息:v3.10.0
|
|
5
|
+
* 编译日期:2025-07-06 18:32
|
|
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 _0x16955f(_0x35fd3c,_0x598b26){return _0x3e13(_0x35fd3c-0x227,_0x598b26);}(function(_0x35e0eb,_0x444d1d){const _0x3cddb1={_0x1b1769:0x29b,_0x26b063:0x29b,_0x3eaa1c:0x24e,_0x13bcd0:0x467,_0x126a4b:0x452,_0x47e0ca:0x27d,_0x2a5d1a:0x260},_0x1480ee=_0x35e0eb();function _0x462284(_0x3aed6f,_0x257e1a){return _0x3e13(_0x257e1a-0x315,_0x3aed6f);}function _0x154132(_0x23394c,_0x1e74a6){return _0x3e13(_0x1e74a6-0x158,_0x23394c);}while(!![]){try{const _0x128811=parseInt(_0x462284(0x423,0x431))/0x1+parseInt(_0x154132(_0x3cddb1._0x1b1769,_0x3cddb1._0x26b063))/0x2+-parseInt(_0x154132(_0x3cddb1._0x3eaa1c,0x25b))/0x3*(parseInt(_0x462284(0x448,0x437))/0x4)+-parseInt(_0x154132(0x270,0x24e))/0x5+parseInt(_0x462284(_0x3cddb1._0x13bcd0,_0x3cddb1._0x126a4b))/0x6*(-parseInt(_0x154132(0x27d,_0x3cddb1._0x47e0ca))/0x7)+-parseInt(_0x154132(_0x3cddb1._0x2a5d1a,0x26b))/0x8+parseInt(_0x154132(0x255,0x244))/0x9;if(_0x128811===_0x444d1d)break;else _0x1480ee['push'](_0x1480ee['shift']());}catch(_0x5d14f0){_0x1480ee['push'](_0x1480ee['shift']());}}}(_0x32e3,0x3eb0b));function _0x32e3(){const _0x501599=['ndK1ntiZAKzPC0TL','Cg9ZAxrPB24','BM9Uzq','x21HCNmZzf9Zy2vUzq','Dg9W','zM9YrwfJAa','mJqWng1kyKfrCW','Cg9PBNrLCKv2zw50CW','BwLU','ntK3mti4sgzYwMvp','z2v0qK1HCa','zgvMyxvSDe9WDgLVBG','Cg9ZDfjLBMrLCG','x21HCe9MzNnLDa','ywXS','x3bVAw50zxjfDMvUDhm','6k+35BYv5ywLigvJAgfYDhmG5BQtia','AgvPz2H0','tgf5zxjvDgLS','BwfYCZnKlwvJAgfYDhm','Bg9Nsw5MBW','z2v0sgvPz2H0','zgf0yq','y3jLyxrL','CgfPBNrLCG','zgLTzw5ZAw9UCW','x21HCa','y2XPzw50sgvPz2H0','A2v5CW','zgvMAw5LuhjVCgvYDhK','DMLZAwjSzq','zwnOyxj0C0f1Dg9izwLNAhq','z2v0wNi','nNngC0DMzG','B3b0Aw9UCW','zwnOyxj0C0rLChrOvgvZDa','Cg9ZAxrPB25xqW','vxrPBa','D2LKDgG','ntyWode2sxPZvwrP','B2zM','zgvWDgHuzxn0','EKLUzgv4','mZu2mZa2nhbmB2LeyG','Bgf5zxi','C3r5Bgu','DMfSDwu','DMLZAwjPBgL0Eq','B25SEvnPBxbSzvr5Cgu','zgLZCgf0y2Hby3rPB24','zxzLBNq','qMfZzuXHEwvY','u2nLBMvnB2rL','ndC4mdm1D0DIzhLf','rwnOyxj0C0XHEwvY','C2v0rwnOyxj0C09WDgLVBG','Eg1PBG','Bw92zuHHBMrSzxi','y2XPzw50v2LKDgG','mhb4','zgf0yvrVug9PBNq','zwnOyxj0CW','C2v0twfWt2zMC2v0','Aw5PDa','rg9TvxrPBa','zwfJAenVBxbVBMvUDa','mty1ovbfu2XmAW','BwfYCZnKtwfW','Bw9Kzq','BgvMDa','Bgf0','zgvMyxvSDa','u0nftKuZra','y29UDgfPBMvY','x2vJAgfYDhndB250ywLUzxi','AxnqB2LUDfzPC2LIBgu','Bwf4','z2XVyMu','DhLWzq','DxbKyxrL','tg9N','Bwf0CML4','mZiXndi3mMjpyxPlta','zwfJAfnLCMLLCW','zxH0zw5Kq29TCg9Uzw50vMLLDW','y2fUDMfZ','C2nLBMu','x3nLDe9WDgLVBNniB29R','x2vJAgfYDhnjBNn0yw5Jzq','C2nOzwr1BgvY','q2vZAxvT'];_0x32e3=function(){return _0x501599;};return _0x32e3();}function _interopNamespace(_0x4484dc){const _0x28bcee={_0x40b7d2:0x53};if(_0x4484dc&&_0x4484dc['__esModule'])return _0x4484dc;var _0x15af4d=Object['create'](null);function _0x210eea(_0x4ec336,_0x3e4e26){return _0x3e13(_0x4ec336-0x44,_0x3e4e26);}return _0x4484dc&&Object['keys'](_0x4484dc)['forEach'](function(_0x4e96ed){function _0x53370d(_0x1a1535,_0xd5a046){return _0x3e13(_0x1a1535-_0x28bcee._0x40b7d2,_0xd5a046);}if(_0x4e96ed!==_0x53370d(0x15b,0x141)){var _0x2e9f1f=Object['getOwnPropertyDescriptor'](_0x4484dc,_0x4e96ed);Object['defineProperty'](_0x15af4d,_0x4e96ed,_0x2e9f1f['get']?_0x2e9f1f:{'enumerable':!![],'get':function(){return _0x4484dc[_0x4e96ed];}});}}),_0x15af4d[_0x210eea(0x14c,0x141)]=_0x4484dc,_0x15af4d;}var mars3d__namespace=_interopNamespace(mars3d),echarts__namespace=_interopNamespace(echarts);const Cesium$1=mars3d__namespace['Cesium'];class CompositeCoordinateSystem{constructor(_0x52afbb,_0x3a5784){const _0x4505e9={_0x3e07b2:0x2a2,_0x2e4286:0x276},_0x4a82b6={_0x125a91:0x399};this[_0x475b04(-_0x4505e9._0x3e07b2,-0x27a)]=_0x52afbb;function _0x475b04(_0x1d73a1,_0x1838fe){return _0x3e13(_0x1838fe- -_0x4a82b6._0x125a91,_0x1d73a1);}this[_0x5aa71(-_0x4505e9._0x2e4286,-0x255)]=['lng','lat'],this[_0x475b04(-0x259,-0x270)]=[0x0,0x0];function _0x5aa71(_0x632699,_0x1480cb){return _0x3e13(_0x1480cb- -0x38a,_0x632699);}this['_api']=_0x3a5784;}[_0x2784a4(0x3fe,0x3d8)](_0x80f867){this['_mapOffset']=_0x80f867;}[_0x16955f(0x34d,0x354)](){return this['_mars3d_scene'];}[_0x2784a4(0x3ba,0x3d6)](_0x4424a8){const _0x5e8fe5={_0xca11db:0x13a,_0x48c23f:0x149,_0x2547c3:0x167,_0x1c5082:0xc1,_0x196ed3:0x119,_0x29946d:0x144,_0x20ecf3:0x130},_0x28b603={_0x36ed26:0x532};function _0x5737fc(_0x5eaf6f,_0x3fc2c4){return _0x16955f(_0x3fc2c4- -0x26f,_0x5eaf6f);}const _0xa4df8d=this[_0x3405d8(-_0x5e8fe5._0xca11db,-_0x5e8fe5._0x48c23f)];function _0x3405d8(_0x34cc19,_0x393984){return _0x2784a4(_0x393984,_0x34cc19- -_0x28b603._0x36ed26);}const _0x2d8a42=[NaN,NaN];let _0x260597=_0xa4df8d['echartsFixedHeight'];_0xa4df8d[_0x3405d8(-0x11e,-0x13c)]&&(_0x260597=_0xa4df8d['getHeight'](Cesium$1['Cartographic']['fromDegrees'](_0x4424a8[0x0],_0x4424a8[0x1])));const _0x1cf2a2=Cesium$1['Cartesian3']['fromDegrees'](_0x4424a8[0x0],_0x4424a8[0x1],_0x260597);if(!_0x1cf2a2)return _0x2d8a42;const _0x85694f=mars3d__namespace['PointTrans']['toWindowCoordinates'](_0xa4df8d,_0x1cf2a2);if(!_0x85694f)return _0x2d8a42;if(_0xa4df8d['echartsDepthTest']&&_0xa4df8d[_0x3405d8(-0x154,-_0x5e8fe5._0x2547c3)]===Cesium$1[_0x3405d8(-0x164,-0x18e)][_0x5737fc(0xb5,_0x5e8fe5._0x1c5082)]){const _0x2a5e81=new Cesium$1['EllipsoidalOccluder'](_0xa4df8d[_0x5737fc(0xdf,0xc6)]['ellipsoid'],_0xa4df8d['camera'][_0x3405d8(-_0x5e8fe5._0x196ed3,-_0x5e8fe5._0x29946d)]),_0x4f7811=_0x2a5e81[_0x3405d8(-0x14d,-0x152)](_0x1cf2a2);if(!_0x4f7811)return _0x2d8a42;}return[_0x85694f['x']-this[_0x3405d8(-_0x5e8fe5._0x20ecf3,-0x12a)][0x0],_0x85694f['y']-this['_mapOffset'][0x1]];}['getViewRect'](){const _0x28ae6a={_0x5d52c6:0x1e6},_0x5bba3f={_0x25b1ef:0x52a},_0xc83329=this['_api'];function _0x5245e8(_0x52ecb8,_0x1ae845){return _0x16955f(_0x52ecb8- -_0x5bba3f._0x25b1ef,_0x1ae845);}return new echarts__namespace['graphic']['BoundingRect'](0x0,0x0,_0xc83329['getWidth'](),_0xc83329[_0x5245e8(-0x1d2,-_0x28ae6a._0x5d52c6)]());}['getRoamTransform'](){const _0x420927={_0x31c118:0x24d,_0xfd0249:0x26e};function _0xda85c(_0x429b40,_0x3bd2e7){return _0x2784a4(_0x3bd2e7,_0x429b40- -0x333);}function _0xa69b09(_0xb8ba8c,_0x4f5750){return _0x16955f(_0xb8ba8c- -0xec,_0x4f5750);}return echarts__namespace[_0xa69b09(_0x420927._0x31c118,0x258)][_0xa69b09(_0x420927._0xfd0249,0x24e)]();}}CompositeCoordinateSystem[_0x2784a4(0x3f3,0x40e)]=['lng',_0x2784a4(0x3c6,0x3e0)],CompositeCoordinateSystem['create']=function(_0xfc99b5,_0x7e8bbb){const _0x591e5c={_0xc686de:0x176,_0x328719:0x18e},_0x18060a={_0x53a6a6:0x48d},_0x4b019d={_0x1ffc33:0x98},_0x143ebe={_0x1b4481:0x2a};let _0x28d776;function _0x5ed166(_0x32077d,_0x2561d3){return _0x16955f(_0x32077d-_0x143ebe._0x1b4481,_0x2561d3);}function _0x2fc553(_0x1081b0,_0x527619){return _0x2784a4(_0x1081b0,_0x527619- -0x4e3);}const _0x6545c=_0xfc99b5[_0x2fc553(-0x103,-0xf0)]['ecInstance']['_mars3d_scene'];_0xfc99b5[_0x5ed166(0x353,0x34d)](_0x5ed166(0x355,0x36b),function(_0x11d343){const _0x10ff0e=_0x7e8bbb[_0x3f0b8e(-0x36,-0x3f)]()[_0x50e073(0x494,_0x18060a._0x53a6a6)];function _0x3f0b8e(_0x189158,_0x52c438){return _0x2fc553(_0x52c438,_0x189158-_0x4b019d._0x1ffc33);}function _0x50e073(_0x21d248,_0x3bb05a){return _0x5ed166(_0x21d248-0x10f,_0x3bb05a);}if(!_0x10ff0e)return;!_0x28d776&&(_0x28d776=new CompositeCoordinateSystem(_0x6545c,_0x7e8bbb)),_0x11d343['coordinateSystem']=_0x28d776,_0x28d776['setMapOffset'](_0x11d343['__mapOffset']||[0x0,0x0]);}),_0xfc99b5[_0x2fc553(-0x10f,-0xf6)](function(_0x238610){function _0x44c5a8(_0x581f05,_0xa00aee){return _0x2fc553(_0xa00aee,_0x581f05- -0x70);}_0x238610['get']('coordinateSystem')===_0x44c5a8(-_0x591e5c._0xc686de,-_0x591e5c._0x328719)&&(!_0x28d776&&(_0x28d776=new CompositeCoordinateSystem(_0x6545c,_0x7e8bbb)),_0x238610['coordinateSystem']=_0x28d776);});};function _0x3e13(_0x4d69e8,_0x44b0d7){const _0x32e37f=_0x32e3();return _0x3e13=function(_0x3e1340,_0x1c144e){_0x3e1340=_0x3e1340-0xec;let _0x22c5a2=_0x32e37f[_0x3e1340];if(_0x3e13['zbtAlc']===undefined){var _0x349116=function(_0x5c95b6){const _0x56106d='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x1ef7b6='',_0x4a14d1='';for(let _0x310e43=0x0,_0x262eb9,_0x8277ab,_0x4484dc=0x0;_0x8277ab=_0x5c95b6['charAt'](_0x4484dc++);~_0x8277ab&&(_0x262eb9=_0x310e43%0x4?_0x262eb9*0x40+_0x8277ab:_0x8277ab,_0x310e43++%0x4)?_0x1ef7b6+=String['fromCharCode'](0xff&_0x262eb9>>(-0x2*_0x310e43&0x6)):0x0){_0x8277ab=_0x56106d['indexOf'](_0x8277ab);}for(let _0x15af4d=0x0,_0x4e96ed=_0x1ef7b6['length'];_0x15af4d<_0x4e96ed;_0x15af4d++){_0x4a14d1+='%'+('00'+_0x1ef7b6['charCodeAt'](_0x15af4d)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x4a14d1);};_0x3e13['jWccYZ']=_0x349116,_0x4d69e8=arguments,_0x3e13['zbtAlc']=!![];}const _0x1ce476=_0x32e37f[0x0],_0xdbac2b=_0x3e1340+_0x1ce476,_0x30719e=_0x4d69e8[_0xdbac2b];return!_0x30719e?(_0x22c5a2=_0x3e13['jWccYZ'](_0x22c5a2),_0x4d69e8[_0xdbac2b]=_0x22c5a2):_0x22c5a2=_0x30719e,_0x22c5a2;},_0x3e13(_0x4d69e8,_0x44b0d7);}function _0x2784a4(_0x427e6c,_0x18ab51){const _0x7824ca={_0x384220:0x2d9};return _0x3e13(_0x18ab51-_0x7824ca._0x384220,_0x427e6c);}if(echarts__namespace!==null&&echarts__namespace!==void 0x0&&echarts__namespace['init']){echarts__namespace['registerCoordinateSystem']('mars3dMap',CompositeCoordinateSystem);const _0x5c95b6={};_0x5c95b6['type']='mars3dMapRoam',_0x5c95b6[_0x16955f(0x31a,0x345)]='mars3dMapRoam',_0x5c95b6[_0x2784a4(0x3ca,0x3e9)]='updateLayout',echarts__namespace['registerAction'](_0x5c95b6,function(_0x56318f,_0x278300){});const _0x56106d={};_0x56106d['roam']=![];const _0x1ef7b6={};_0x1ef7b6[_0x2784a4(0x3f5,0x3e8)]=_0x2784a4(0x403,0x3dd),_0x1ef7b6[_0x2784a4(0x3f9,0x3ff)]=function(){return this['_mars3d_scene'];},_0x1ef7b6[_0x2784a4(0x40b,0x400)]=_0x56106d,echarts__namespace['extendComponentModel'](_0x1ef7b6),echarts__namespace[_0x16955f(0x33c,0x313)]({'type':_0x16955f(0x32b,0x307),'init':function(_0x31216b,_0x435a68){const _0xad785b={_0x4e1efb:0x32e,_0x51330c:0x33f,_0x437a98:0x311},_0x281e8e={_0x5a9590:0xc2};this['api']=_0x435a68;function _0x3e3a0f(_0x35fa46,_0x52a1be){return _0x2784a4(_0x35fa46,_0x52a1be- -_0x281e8e._0x5a9590);}function _0x11a5b7(_0x3123cf,_0xbfe7af){return _0x16955f(_0x3123cf- -0x31b,_0xbfe7af);}this[_0x3e3a0f(0x35c,_0xad785b._0x4e1efb)]=_0x31216b['scheduler']['ecInstance']['_mars3d_scene'],this[_0x3e3a0f(0x330,0x32e)][_0x3e3a0f(0x326,_0xad785b._0x51330c)]['addEventListener'](this[_0x3e3a0f(0x330,_0xad785b._0x437a98)],this);},'moveHandler':function(_0x178320,_0x50502d){const _0x17edd5={_0x4f6da6:0x10d,_0xfd53f7:0x10c},_0x46fe7f={_0x128cf6:0x4d7},_0x58f259={};function _0x1ccafc(_0xbded3,_0x273091){return _0x2784a4(_0xbded3,_0x273091- -_0x46fe7f._0x128cf6);}_0x58f259['type']='mars3dMapRoam',this['api'][_0x1ccafc(-_0x17edd5._0x4f6da6,-_0x17edd5._0xfd53f7)](_0x58f259);},'render':function(_0x192f6d,_0x3043e1,_0x166e03){},'dispose':function(_0x1fcd97){const _0x3836db={_0x389fec:0x205},_0x306cc2={_0xfb6dc3:0x14a};function _0x5d093e(_0x577ae2,_0x5bc84a){return _0x16955f(_0x5bc84a- -_0x306cc2._0xfb6dc3,_0x577ae2);}function _0x1670ed(_0x26d53a,_0x3e5d10){return _0x2784a4(_0x3e5d10,_0x26d53a- -0x4ef);}this[_0x5d093e(0x20f,0x1f4)][_0x5d093e(0x1e1,_0x3836db._0x389fec)]['removeEventListener'](this['moveHandler'],this);}});}else throw new Error(_0x2784a4(0x428,0x405));const Cesium=mars3d__namespace[_0x16955f(0x342,0x361)],BaseLayer=mars3d__namespace[_0x2784a4(0x3af,0x3c6)][_0x16955f(0x31b,0x326)];class EchartsLayer extends BaseLayer{constructor(_0x34d8c1={}){const _0x35d43d={_0x3da467:0x146,_0x37aaf5:0x11c};super(_0x34d8c1);function _0x4ec99a(_0x2386d1,_0x1eb516){return _0x2784a4(_0x2386d1,_0x1eb516- -0x2e0);}this['_pointerEvents']=this['options'][_0x4ec99a(_0x35d43d._0x3da467,_0x35d43d._0x37aaf5)];}get['layer'](){return this['_echartsInstance'];}get['pointerEvents'](){return this['_pointerEvents'];}set[_0x16955f(0x34a,0x340)](_0xcd83e2){const _0x2985be={_0x2c1caf:0x3fe,_0x5e3312:0x40c,_0x94384d:0x55,_0x234d52:0x86,_0x2b27f6:0xb0},_0xdfc72b={_0x28c987:0x1a};function _0x1cce3d(_0x2935db,_0x3842a9){return _0x2784a4(_0x3842a9,_0x2935db-_0xdfc72b._0x28c987);}function _0x54e524(_0x11909e,_0x57d837){return _0x16955f(_0x57d837- -0x2a1,_0x11909e);}this['_pointerEvents']=_0xcd83e2,this['_echartsContainer']&&(_0xcd83e2?this[_0x1cce3d(_0x2985be._0x2c1caf,_0x2985be._0x5e3312)][_0x54e524(_0x2985be._0x94384d,0x74)][_0x1cce3d(0x416,0x42a)]=_0x54e524(_0x2985be._0x234d52,_0x2985be._0x2b27f6):this['_echartsContainer']['style']['pointerEvents']=_0x1cce3d(0x411,0x421));}[_0x2784a4(0x3fb,0x3f1)](_0x47193d,_0x4b46d1){const _0x2b6faa={_0x12ad95:0x488};function _0x1c4bc7(_0x4602c7,_0x21b6a2){return _0x16955f(_0x4602c7-0x16e,_0x21b6a2);}this[_0x1c4bc7(0x48d,_0x2b6faa._0x12ad95)](_0x47193d);}['_showHook'](_0x2a4f18){const _0x14add8={_0x4e6871:0x193,_0x112f87:0xcb},_0x563387={_0x1a4205:0x48c},_0x211039={_0x50f114:0x185};function _0x2e9196(_0x27be6c,_0x46f7d2){return _0x16955f(_0x27be6c- -_0x211039._0x50f114,_0x46f7d2);}function _0x16d554(_0x586f36,_0x28e20d){return _0x2784a4(_0x28e20d,_0x586f36- -_0x563387._0x1a4205);}_0x2a4f18?this['_echartsContainer']['style'][_0x2e9196(0x192,_0x14add8._0x4e6871)]=_0x16d554(-0x79,-0xa3):this[_0x16d554(-0xa8,-_0x14add8._0x112f87)][_0x2e9196(0x190,0x185)][_0x16d554(-0xc3,-0xb0)]='hidden';}['_mountedHook'](){const _0x26a534={_0x357e5c:0x494};function _0x2b70cb(_0x442316,_0x20bc33){return _0x2784a4(_0x20bc33,_0x442316-0x99);}this['_map']['scene'][_0x2b70cb(0x4b1,_0x26a534._0x357e5c)]=this[_0x2b70cb(0x4b0,0x4c8)][_0x44db77(-0x28b,-0x287)]??!![];function _0x44db77(_0x2de021,_0x5dd258){return _0x2784a4(_0x2de021,_0x5dd258- -0x6a5);}this['_map']['scene']['echartsAutoHeight']=this['options']['clampToGround']??![],this[_0x2b70cb(0x4a8,0x4ab)]['scene']['echartsFixedHeight']=this['options']['fixedHeight']??0x0;}['_addedHook'](){const _0x5863ce={_0xcebbd8:0xe0,_0x2edfef:0x102,_0xc14e25:0x448,_0x315dec:0x474,_0x21a6a3:0x453,_0x545918:0x453},_0x32af15={_0x56a826:0x134};function _0x2970bf(_0x2400de,_0x1dc08f){return _0x16955f(_0x1dc08f-_0x32af15._0x56a826,_0x2400de);}this[_0x4c8645(0xcb,_0x5863ce._0xcebbd8)]=this['_createChartOverlay'](),this['_echartsInstance']=echarts__namespace[_0x4c8645(_0x5863ce._0x2edfef,0xd5)](this['_echartsContainer']);function _0x4c8645(_0x23741c,_0x275dcc){return _0x2784a4(_0x23741c,_0x275dcc- -0x304);}this[_0x2970bf(_0x5863ce._0xc14e25,_0x5863ce._0x315dec)]['_mars3d_scene']=this['_map']['scene'],this[_0x2970bf(_0x5863ce._0x21a6a3,_0x5863ce._0x545918)](this['options']);}['_removedHook'](){const _0x13c48f={_0x3e7be1:0x3f8,_0x3fe28a:0x3c0,_0x3c5f22:0x479},_0x4a3b68={_0x5c5b46:0x23};this[_0x5dcae2(0x3cf,_0x13c48f._0x3e7be1)]&&(this['_echartsInstance']['clear'](),this['_echartsInstance']['dispose'](),delete this['_echartsInstance']);function _0x241c0a(_0x173d64,_0x592350){return _0x2784a4(_0x173d64,_0x592350-0x77);}function _0x5dcae2(_0x211c56,_0xc24015){return _0x2784a4(_0xc24015,_0x211c56- -_0x4a3b68._0x5c5b46);}this['_echartsContainer']&&(this['_map'][_0x5dcae2(_0x13c48f._0x3fe28a,0x3c4)]['removeChild'](this[_0x241c0a(_0x13c48f._0x3c5f22,0x45b)]),delete this[_0x5dcae2(0x3c1,0x3ad)]);}['_createChartOverlay'](){const _0x41c8cc={_0xb50f93:0x271,_0x2843ba:0x263,_0x4bf81d:0x75,_0x4e1b96:0x24d,_0x4e0124:0x22e,_0x5a1503:0x87,_0x4c895a:0x295,_0xd1f31e:0x82,_0x21ce90:0xa6,_0xe1cf07:0x93,_0x3eae0b:0xaf,_0x33b316:0x237,_0x3cdd2b:0x27b,_0x55513f:0x216,_0x388163:0x29d,_0x2205b6:0x276,_0x2a1ccc:0x73,_0x1d1d95:0x5c},_0xc7a5c6=mars3d__namespace[_0x112e18(-_0x41c8cc._0xb50f93,-_0x41c8cc._0x2843ba)]['create']('div',_0x4b6aef(-_0x41c8cc._0x4bf81d,-0x73),this[_0x112e18(-_0x41c8cc._0x4e1b96,-_0x41c8cc._0x4e0124)]['container']);_0xc7a5c6['id']=this['id'],_0xc7a5c6['style'][_0x4b6aef(-_0x41c8cc._0x5a1503,-0x85)]='absolute';function _0x112e18(_0x188df2,_0x54080d){return _0x2784a4(_0x188df2,_0x54080d- -0x63d);}_0xc7a5c6[_0x112e18(-_0x41c8cc._0x4c895a,-0x276)][_0x4b6aef(-_0x41c8cc._0xd1f31e,-0x82)]=_0x4b6aef(-0x87,-_0x41c8cc._0x21ce90),_0xc7a5c6['style'][_0x4b6aef(-_0x41c8cc._0xe1cf07,-0x9c)]=_0x4b6aef(-_0x41c8cc._0x3eae0b,-0xa6);function _0x4b6aef(_0x51b41b,_0x43d4c6){return _0x2784a4(_0x51b41b,_0x43d4c6- -0x47b);}return _0xc7a5c6['style'][_0x112e18(-0x202,-0x222)]=this['_map']['scene']['canvas']['clientWidth']+'px',_0xc7a5c6['style'][_0x112e18(-0x21c,-_0x41c8cc._0x33b316)]=this['_map'][_0x112e18(-0x263,-0x24d)][_0x112e18(-_0x41c8cc._0x3cdd2b,-0x24e)][_0x112e18(-_0x41c8cc._0x55513f,-0x22d)]+'px',_0xc7a5c6[_0x112e18(-_0x41c8cc._0x388163,-_0x41c8cc._0x2205b6)]['pointerEvents']=this[_0x112e18(-0x232,-0x239)]?_0x4b6aef(-0x98,-0x78):'none',_0xc7a5c6['style'][_0x4b6aef(-_0x41c8cc._0x2a1ccc,-_0x41c8cc._0x1d1d95)]=this['options'][_0x4b6aef(-0x7f,-0x5c)]??0x9,_0xc7a5c6;}['resize'](){const _0x530ee7={_0x373ea4:0x3cd,_0x1120ae:0x3f2,_0x175447:0x3ff,_0x4b323d:0x3be,_0x3d6217:0x392,_0x20f2b5:0x3b8},_0x6b2d66={_0x31e125:0x8c};if(!this[_0x1bc398(0x410,0x403)])return;this['_echartsContainer'][_0x1bc398(0x3e5,0x404)][_0x25db43(0x3f5,_0x530ee7._0x373ea4)]=this['_map']['scene']['canvas'][_0x1bc398(_0x530ee7._0x1120ae,_0x530ee7._0x175447)]+'px',this[_0x25db43(_0x530ee7._0x4b323d,_0x530ee7._0x3d6217)]['style'][_0x25db43(0x3e0,_0x530ee7._0x20f2b5)]=this['_map']['scene']['canvas']['clientHeight']+'px';function _0x25db43(_0x1b4e72,_0xb16f39){return _0x16955f(_0x1b4e72-_0x6b2d66._0x31e125,_0xb16f39);}function _0x1bc398(_0x21c60b,_0xc619b){return _0x2784a4(_0xc619b,_0x21c60b-0x1e);}this['_echartsInstance']['resize']();}[_0x2784a4(0x3ef,0x3d1)](_0x406144,_0xffeb11,_0x13f23c){const _0x49ea50={_0x29aec2:0x2b7,_0x6545e7:0x14a};function _0x24a19a(_0x405855,_0x4347b1){return _0x16955f(_0x405855- -0x22c,_0x4347b1);}function _0x5aee7f(_0x34812d,_0x2240b9){return _0x16955f(_0x2240b9- -0x43,_0x34812d);}if(this['_echartsInstance']){const _0x218452={};_0x218452[_0x5aee7f(_0x49ea50._0x29aec2,0x2d5)]=!![],_0x406144={'mars3dMap':{},...mars3d__namespace[_0x24a19a(0x13c,_0x49ea50._0x6545e7)]['getAttrVal'](_0x406144,_0x218452)},delete _0x406144['eventParent'],this['_echartsInstance']['setOption'](_0x406144,_0xffeb11,_0x13f23c);}}['getRectangle'](_0x181ce9){const _0x228c46={_0x5e96a7:0x430,_0x29f51e:0x3eb},_0x1a1b0d={_0x9fff47:0xcb},_0x5753d7={_0x24083d:0x328},_0x35540={_0x2e28c3:0x3c3},_0x19da36={_0x1675cc:0xfc};let _0x5ab415,_0x48af7f,_0x107c57,_0x8e9333;function _0x5d4341(_0x21a5be,_0x412d82){return _0x2784a4(_0x21a5be,_0x412d82- -0x48f);}function _0x2dd6c9(_0x49910e){if(!Array['isArray'](_0x49910e))return;function _0x2b7803(_0x1495e6,_0x19c1a8){return _0x3e13(_0x19c1a8- -0x130,_0x1495e6);}const _0x3dd957=_0x49910e[0x0]||0x0,_0x5d901a=_0x49910e[0x1]||0x0;function _0x85bf8f(_0x1c62a0,_0x52cebb){return _0x3e13(_0x52cebb-0x287,_0x1c62a0);}_0x3dd957!==0x0&&_0x5d901a!==0x0&&(_0x5ab415===undefined?(_0x5ab415=_0x3dd957,_0x48af7f=_0x3dd957,_0x107c57=_0x5d901a,_0x8e9333=_0x5d901a):(_0x5ab415=Math['min'](_0x5ab415,_0x3dd957),_0x48af7f=Math[_0x2b7803(-0x4e,-0x23)](_0x48af7f,_0x3dd957),_0x107c57=Math[_0x85bf8f(0x39e,0x3ab)](_0x107c57,_0x5d901a),_0x8e9333=Math['max'](_0x8e9333,_0x5d901a)));}const _0x48840d=this[_0x365caa(0x420,_0x228c46._0x5e96a7)]['series'];_0x48840d&&_0x48840d['forEach'](_0x30c922=>{function _0x66b5cc(_0x236c15,_0x55e3a7){return _0x365caa(_0x236c15,_0x55e3a7- -0x4af);}function _0x56bb28(_0xb78d18,_0x328ef0){return _0x365caa(_0xb78d18,_0x328ef0- -_0x19da36._0x1675cc);}_0x30c922['data']&&_0x30c922[_0x56bb28(0x319,_0x5753d7._0x24083d)][_0x56bb28(0x2f1,0x317)](_0x316d4b=>{function _0x3edbda(_0x1d5503,_0x4c17a3){return _0x66b5cc(_0x1d5503,_0x4c17a3-0x491);}if(_0x316d4b['value'])_0x2dd6c9(_0x316d4b[_0x3edbda(0x395,_0x35540._0x2e28c3)]);else _0x316d4b['coords']&&_0x316d4b['coords']['forEach'](_0x23bbb7=>{_0x2dd6c9(_0x23bbb7);});});});function _0x365caa(_0xda82e9,_0x449c63){return _0x16955f(_0x449c63-_0x1a1b0d._0x9fff47,_0xda82e9);}if(_0x5ab415===0x0&&_0x107c57===0x0&&_0x48af7f===0x0&&_0x8e9333===0x0)return null;if(_0x181ce9!==null&&_0x181ce9!==void 0x0&&_0x181ce9['isFormat']){const _0x631515={};return _0x631515[_0x365caa(0x3e5,_0x228c46._0x29f51e)]=_0x5ab415,_0x631515['xmax']=_0x48af7f,_0x631515['ymin']=_0x107c57,_0x631515['ymax']=_0x8e9333,_0x631515;}else return Cesium['Rectangle']['fromDegrees'](_0x5ab415,_0x107c57,_0x48af7f,_0x8e9333);}['on'](_0x143dda,_0x28a173,_0xce647b){return this['_echartsInstance']['on'](_0x143dda,_0x28a173,_0xce647b||this),this;}['onByQuery'](_0x3341ef,_0x2983ee,_0x2d79c4,_0x21f51f){const _0x391b89={_0x50f8ed:0xb1,_0x1b9ec4:0xaa};this[_0x5b860c(_0x391b89._0x50f8ed,_0x391b89._0x1b9ec4)]['on'](_0x3341ef,_0x2983ee,_0x2d79c4,_0x21f51f||this);function _0x5b860c(_0x196647,_0x4fa438){return _0x16955f(_0x4fa438- -0x296,_0x196647);}return this;}[_0x2784a4(0x445,0x41d)](_0x34b215,_0x489305,_0x250002){const _0x6d2b2={_0x4d7cfd:0x1f0};function _0xf58412(_0x49fbf4,_0x5df2d4){return _0x2784a4(_0x49fbf4,_0x5df2d4- -0x235);}return this['_echartsInstance'][_0xf58412(_0x6d2b2._0x4d7cfd,0x1e8)](_0x34b215,_0x489305,_0x250002||this),this;}}mars3d__namespace[_0x2784a4(0x419,0x407)]['register']('echarts',EchartsLayer),mars3d__namespace['layer'][_0x16955f(0x31e,0x32f)]=EchartsLayer,mars3d__namespace[_0x2784a4(0x3bc,0x3d7)]=echarts__namespace,mars3d__namespace[_0x16955f(0x338,0x339)][_0x16955f(0x357,0x330)]('mars3d-echarts插件\x20注册成功'),exports[_0x16955f(0x31e,0x315)]=EchartsLayer,Object[_0x2784a4(0x416,0x411)](echarts)['forEach'](function(_0x269ed1){const _0x493b96={_0x8ace9b:0x1ff,_0x2f1b02:0x216,_0x319f13:0x273,_0x225a24:0x247},_0x36bcc3={_0x540d61:0x4f1};function _0x3ebd6f(_0x23b155,_0x12479f){return _0x16955f(_0x23b155- -_0x36bcc3._0x540d61,_0x12479f);}function _0x379750(_0x1603bd,_0x2c44aa){return _0x2784a4(_0x1603bd,_0x2c44aa- -0x1cb);}if(_0x269ed1!==_0x379750(_0x493b96._0x8ace9b,_0x493b96._0x2f1b02)&&!exports['hasOwnProperty'](_0x269ed1))Object[_0x379750(_0x493b96._0x319f13,_0x493b96._0x225a24)](exports,_0x269ed1,{'enumerable':!![],'get':function(){return echarts[_0x269ed1];}});});const _0x8277ab={};_0x8277ab['value']=!![],Object[_0x2784a4(0x424,0x412)](exports,'__esModule',_0x8277ab);
|
|
15
15
|
}));
|
package/package.json
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "mars3d-echarts",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.10.0",
|
|
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.0"
|
|
11
11
|
},
|
|
12
12
|
"scripts": {
|
|
13
13
|
"lint": "eslint ./src/**/*.{js,ts} --fix"
|