mars2d-echarts 3.2.5 → 3.2.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/dist/mars2d-echarts.js +3 -3
- package/package.json +3 -3
package/dist/mars2d-echarts.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Mars2D平台插件,结合echarts可视化功能插件 mars2d-echarts
|
|
3
3
|
*
|
|
4
|
-
* 版本信息:v3.2.
|
|
5
|
-
* 编译日期:2024-
|
|
4
|
+
* 版本信息:v3.2.7
|
|
5
|
+
* 编译日期:2024-08-23 10:43:11
|
|
6
6
|
* 版权所有:Copyright by 火星科技 http://mars2d.cn
|
|
7
7
|
* 使用单位:免费公开版 ,2024-01-16
|
|
8
8
|
*/
|
|
@@ -11,5 +11,5 @@
|
|
|
11
11
|
typeof define === 'function' && define.amd ? define(['exports', 'mars2d', 'echarts'], factory) :
|
|
12
12
|
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory(global["mars2d-echarts"] = {}, global.mars2d, global.echarts));
|
|
13
13
|
})(this, (function (exports, mars2d, echarts) {
|
|
14
|
-
'use strict';const _0x41ef6f=_0x2f0c;(function(_0x4bbf81,_0xd0cdc4){const _0x2d8990={_0x1fb2ae:0x1ae,_0x5690e3:0x188,_0x47cb06:0x16c,_0x50e19c:0x19f,_0x1091d8:0x182},_0x503be6=_0x2f0c,_0x2f9394=_0x4bbf81();while(!![]){try{const _0x3f28f3=-parseInt(_0x503be6(0x1c3))/0x1*(-parseInt(_0x503be6(_0x2d8990._0x1fb2ae))/0x2)+-parseInt(_0x503be6(0x165))/0x3*(parseInt(_0x503be6(_0x2d8990._0x5690e3))/0x4)+-parseInt(_0x503be6(0x1c7))/0x5+-parseInt(_0x503be6(0x19c))/0x6+-parseInt(_0x503be6(_0x2d8990._0x47cb06))/0x7+-parseInt(_0x503be6(_0x2d8990._0x50e19c))/0x8*(parseInt(_0x503be6(_0x2d8990._0x1091d8))/0x9)+parseInt(_0x503be6(0x15e))/0xa;if(_0x3f28f3===_0xd0cdc4)break;else _0x2f9394['push'](_0x2f9394['shift']());}catch(_0x585628){_0x2f9394['push'](_0x2f9394['shift']());}}}(_0xfdc6,0xbf58f));function _0xfdc6(){const _0x4b3803=['yMLUza','x21HCe9MzNnLDa','Aw5PDa','mNjNEgL3vG','zwnOyxj0CW','DMfSDwu','B3b0Aw9UCW','BxnuCMfUC2zVCM1pCMLNAw4','z2v0wNi','CgLK','x21HCNmYzf9Tyxa','Bw92zwvUza','zxH0zw5Kq29TCg9Uzw50tw9KzwW','zgf0yvrVug9PBNq','zgL2','z2v0qK1HCa','yw55m2q','yxbWzw5Kq2HPBgq','x19TyxbpzMzZzxq','Bgf0','C2nOzwr1BgvY','Bgf5zxi','rg9TvxrPBa','6k+35BYv5ywLigvJAgfYDhmG5BQtia','mtm0mdC3ovzerhr6yG','CMvTB3zL','B2zM','D2LKDgG','ntq3mJu4nujtsKP3Ca','DMLZAwjPBgL0Eq','DhLWzq','z2v0t3DUuhjVCgvYDhLezxnJCMLWDg9Y','q1jt','zM9YrwfJAa','vxrPBa','B25szw1VDMu','C2v0twfWt2zMC2v0','rvbtrZm4ntC','mJG5nZGXmtbfD1rHswG','ywjZ','B25bzgq','x3nOB3C','C3r5Bgu','AgLKzq','y3jLyxrL','mte3uLfLEgnx','C2v0t3b0Aw9U','z2v0','z2v0uM9HBvrYyw5ZzM9YBq','C2HVDW','uhjVAMvJDgLVBG','Cg9ZAxrPB24','nJCWnta5n1ffBfbQuq','yw5PBwf0zwq','z3jHCgHPyW','Cg9PBNruB0rHDge','EKLUzgv4','BwfYCZjKtwfWuM9HBq','A2v5CW','y29VCMrPBMf0zvn5C3rLBq','zgLZCgf0y2Hby3rPB24','z2v0vMLLD1jLy3q','EM9VBwvUza','BgvMDa','CM9HBq','tufyx0XbveLuvurf','Bgf0tg5Nvg9myxLLCLbVAw50','BMv3u2L6zq','zwfJAenVBxbVBMvUDa','CMvNAxn0zxjdB29YzgLUyxrLu3LZDgvT','DgvZDfbYB3a','z2v0u2L6zq','CMvNAxn0zxi','CgfPBNrLCG','odfKELPiB2S','DhjHBNnMB3jTt3jPz2LU','ChjVAMvJDgLVBG','DMLZAwjSzq','BwfW','z2v0ugfUzq','mtmYmZjXvxP0tfG','Bw92zuHHBMrSzxi','zgvMyxvSDe9WDgLVBG','igXLywzSzxqTBgf5zxiGBgvHzMXLDc16B29Tlq','BwfYCZjKtwfW','x3zPzxDWB3j0uM9VDa','zwnjBNn0yw5Jzq','x2fWAq','zgvMyxvSDa','x19LC01VzhvSzq','y29UDgfPBMvYug9PBNruB0XHEwvYug9PBNq','x2vJAgfYDhndB250ywLUzxi','BMfTzq','AgfZtgf5zxi','rwnOyxj0C0XHEwvY','AgvPz2H0','x2vJAgfYDhnjBNn0yw5Jzq','x21HCa','zgLTzw5ZAw9UCW','B3zLCMXHEvbHBMu','mtCZmZq3mM5XwunfuG','CMvNAxn0zxjby3rPB24','x19TB2rLBa','odC1mti4s1nguKjV','CMvZAxPL','y2XHC3noyw1L','zwfJAfnLCMLLCW','twvYy2f0B3i','CgfUzq','qM91BMrPBMDszwn0','Bg5N','z2v0vMLLD3bVCNrsB290','v2vIA2L0vhjHBNnMB3jTt3jPz2LU','EM9VBufUAw1HDgLVBG','zgvMAw5LuhjVCgvYDhK'];_0xfdc6=function(){return _0x4b3803;};return _0xfdc6();}function _interopNamespace(_0x183b8d){const _0x1839b4={_0x4de066:0x172,_0x3a805e:0x159,_0xad4ac5:0x190},_0x2bdb7d={_0x4cd519:0x1ca,_0x52c674:0x1aa,_0x3fdf51:0x167},_0x23c94c=_0x2f0c;if(_0x183b8d&&_0x183b8d[_0x23c94c(0x191)])return _0x183b8d;var _0x368205=Object[_0x23c94c(0x164)](null);return _0x183b8d&&Object[_0x23c94c(_0x1839b4._0x4de066)](_0x183b8d)[_0x23c94c(_0x1839b4._0x3a805e)](function(_0x5b7797){const _0x64ac2d=_0x23c94c;if(_0x5b7797!==_0x64ac2d(0x190)){var _0x26ca66=Object[_0x64ac2d(_0x2bdb7d._0x4cd519)](_0x183b8d,_0x5b7797);Object[_0x64ac2d(_0x2bdb7d._0x52c674)](_0x368205,_0x5b7797,_0x26ca66[_0x64ac2d(_0x2bdb7d._0x3fdf51)]?_0x26ca66:{'enumerable':!![],'get':function(){return _0x183b8d[_0x5b7797];}});}}),_0x368205[_0x23c94c(_0x1839b4._0xad4ac5)]=_0x183b8d,_0x368205;}var mars2d__namespace=_interopNamespace(mars2d),echarts__namespace=_interopNamespace(echarts);function _0x2f0c(_0x116239,_0x5cd64f){const _0xfdc635=_0xfdc6();return _0x2f0c=function(_0x2f0c54,_0x5a66fd){_0x2f0c54=_0x2f0c54-0x159;let _0x1e3fd8=_0xfdc635[_0x2f0c54];if(_0x2f0c['XerNCF']===undefined){var _0x4ac058=function(_0xfe8a23){const _0x2e715b='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x3b9ce2='',_0x146ad2='';for(let _0x59f272=0x0,_0x71fca1,_0x335361,_0x183b8d=0x0;_0x335361=_0xfe8a23['charAt'](_0x183b8d++);~_0x335361&&(_0x71fca1=_0x59f272%0x4?_0x71fca1*0x40+_0x335361:_0x335361,_0x59f272++%0x4)?_0x3b9ce2+=String['fromCharCode'](0xff&_0x71fca1>>(-0x2*_0x59f272&0x6)):0x0){_0x335361=_0x2e715b['indexOf'](_0x335361);}for(let _0x368205=0x0,_0x5b7797=_0x3b9ce2['length'];_0x368205<_0x5b7797;_0x368205++){_0x146ad2+='%'+('00'+_0x3b9ce2['charCodeAt'](_0x368205)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x146ad2);};_0x2f0c['fCOZjh']=_0x4ac058,_0x116239=arguments,_0x2f0c['XerNCF']=!![];}const _0x182235=_0xfdc635[0x0],_0x16234b=_0x2f0c54+_0x182235,_0x543246=_0x116239[_0x16234b];return!_0x543246?(_0x1e3fd8=_0x2f0c['fCOZjh'](_0x1e3fd8),_0x116239[_0x16234b]=_0x1e3fd8):_0x1e3fd8=_0x543246,_0x1e3fd8;},_0x2f0c(_0x116239,_0x5cd64f);}const L$1=mars2d__namespace['L'];class CompositeCoordinateSystem{constructor(_0x501857,_0x3dfae2){const _0x44c62e={_0x44b482:0x1a6,_0x1273c7:0x1be,_0x149ac6:0x16a},_0x270fcb=_0x2f0c;this['_mars2d_map']=_0x501857,this['dimensions']=[_0x270fcb(_0x44c62e._0x44b482),_0x270fcb(_0x44c62e._0x1273c7)],this[_0x270fcb(0x1ac)]=[0x0,0x0],this['_api']=_0x3dfae2,this['_projection']=L$1[_0x270fcb(_0x44c62e._0x149ac6)][_0x270fcb(0x1a3)];}[_0x41ef6f(0x15c)](_0x450caf){const _0x21287b={_0x35f158:0x1ac},_0x59ad81=_0x41ef6f;this[_0x59ad81(_0x21287b._0x35f158)]=_0x450caf;}['getBMap'](){const _0x3481c1={_0x437a33:0x1b5},_0x208352=_0x41ef6f;return this[_0x208352(_0x3481c1._0x437a33)];}['prepareCustoms'](){const _0x507c32={_0x34c656:0x1c9,_0x372e1a:0x1c6,_0x4b6dfa:0x197,_0x358eec:0x1b8,_0x10d2cd:0x1ab},_0x5111e6={_0x275e33:0x186},_0x1fe342=_0x41ef6f,_0x2630e6=echarts__namespace['util'],_0x3448aa=this[_0x1fe342(0x175)](),_0x44a3e7={};_0x44a3e7[_0x1fe342(_0x507c32._0x34c656)]=_0x1fe342(0x18c),_0x44a3e7['x']=_0x3448aa['x'],_0x44a3e7['y']=_0x3448aa['y'],_0x44a3e7[_0x1fe342(0x1c6)]=_0x3448aa[_0x1fe342(_0x507c32._0x372e1a)],_0x44a3e7[_0x1fe342(0x197)]=_0x3448aa[_0x1fe342(_0x507c32._0x4b6dfa)];return{'coordSys':_0x44a3e7,'api':{'coord':_0x2630e6['bind'](this[_0x1fe342(_0x507c32._0x358eec)],this),'size':_0x2630e6[_0x1fe342(_0x507c32._0x10d2cd)](_0x5ac60d,this)}};function _0x5ac60d(_0x2a86e5,_0x361a10){const _0x5c95c6=_0x1fe342;return _0x361a10=_0x361a10||[0x0,0x0],_0x2630e6[_0x5c95c6(_0x5111e6._0x275e33)]([0x0,0x1],function(_0x37410e){const _0x1631ef=_0x5c95c6,_0x297a62=_0x361a10[_0x37410e],_0x189c2d=_0x2a86e5[_0x37410e]/0x2,_0x25fc44=[],_0x7fffa8=[];return _0x25fc44[_0x37410e]=_0x297a62-_0x189c2d,_0x7fffa8[_0x37410e]=_0x297a62+_0x189c2d,_0x25fc44[0x1-_0x37410e]=_0x7fffa8[0x1-_0x37410e]=_0x361a10[0x1-_0x37410e],Math[_0x1631ef(0x15f)](this['dataToPoint'](_0x25fc44)[_0x37410e]-this[_0x1631ef(0x1b8)](_0x7fffa8)[_0x37410e]);},this);}}['dataToPoint'](_0x5ecc51){const _0x4c8994={_0x589fb3:0x1cb,_0x3325ed:0x15d,_0x4ad3d8:0x179,_0x55ac4a:0x17a,_0x38679b:0x1ac},_0x473c18=_0x41ef6f;_0x5ecc51[0x1]===null&&(_0x5ecc51[0x1]=L$1[_0x473c18(_0x4c8994._0x589fb3)][_0x473c18(_0x4c8994._0x3325ed)][_0x473c18(0x184)][_0x473c18(_0x4c8994._0x4ad3d8)]);const _0x5ec2e8=this[_0x473c18(0x1b5)][_0x473c18(_0x4c8994._0x55ac4a)]([_0x5ecc51[0x1],_0x5ecc51[0x0]]),_0x275ce7=this[_0x473c18(_0x4c8994._0x38679b)];return[_0x5ec2e8['x']-_0x275ce7[0x0],_0x5ec2e8['y']-_0x275ce7[0x1]];}[_0x41ef6f(0x16f)](_0x5b7fea){const _0x3a4405={_0x412731:0x1a6},_0x58742b=_0x41ef6f,_0x4564f1=this[_0x58742b(0x1ac)],_0x17d598=this[_0x58742b(0x1b5)]['layerPointToLatLng']([_0x5b7fea[0x0]+_0x4564f1[0x0],_0x5b7fea[0x1]+_0x4564f1[0x1]]);return[_0x17d598[_0x58742b(_0x3a4405._0x412731)],_0x17d598['lat']];}[_0x41ef6f(0x175)](){const _0x254e8d={_0x43e2e1:0x16e,_0x42c628:0x1a5},_0x5d3f43=_0x41ef6f,_0x44a49e=this['_mars2d_map'][_0x5d3f43(0x17f)]();return new echarts__namespace[(_0x5d3f43(_0x254e8d._0x43e2e1))][(_0x5d3f43(_0x254e8d._0x42c628))](0x0,0x0,_0x44a49e['x'],_0x44a49e['y']);}[_0x41ef6f(0x168)](){const _0x23e7b5=_0x41ef6f;return echarts__namespace['matrix'][_0x23e7b5(0x164)]();}}CompositeCoordinateSystem[_0x41ef6f(0x19a)]=['lng','lat'],CompositeCoordinateSystem[_0x41ef6f(0x164)]=function(_0xe63ca5,_0x2f74e8){const _0x379588={_0x24b46e:0x1b5,_0x1d6916:0x17c,_0x57c4eb:0x18c},_0x53ef60={_0xbce1fd:0x167,_0x22463d:0x173},_0x430444={_0x43ebdd:0x181,_0x19e5d6:0x173},_0x4bcb99=_0x41ef6f;let _0x459e6b;const _0x440b80=_0xe63ca5['scheduler']['ecInstance'][_0x4bcb99(_0x379588._0x24b46e)];_0xe63ca5[_0x4bcb99(_0x379588._0x1d6916)](_0x4bcb99(_0x379588._0x57c4eb),function(_0x23c5e2){const _0x4e60b1=_0x4bcb99,_0x5ede7c=_0x2f74e8[_0x4e60b1(0x1b3)]()[_0x4e60b1(_0x430444._0x43ebdd)];if(!_0x5ede7c)return;!_0x459e6b&&(_0x459e6b=new CompositeCoordinateSystem(_0x440b80,_0x2f74e8)),_0x23c5e2[_0x4e60b1(_0x430444._0x19e5d6)]=_0x459e6b,_0x459e6b['setMapOffset'](_0x23c5e2['__mapOffset']||[0x0,0x0]);}),_0xe63ca5[_0x4bcb99(0x1a2)](function(_0x3b79f0){const _0x3fa021=_0x4bcb99;_0x3b79f0[_0x3fa021(_0x53ef60._0xbce1fd)](_0x3fa021(_0x53ef60._0x22463d))===_0x3fa021(0x18c)&&(!_0x459e6b&&(_0x459e6b=new CompositeCoordinateSystem(_0x440b80)),_0x3b79f0['coordinateSystem']=_0x459e6b);});};if(echarts__namespace!==null&&echarts__namespace!==void 0x0&&echarts__namespace['init']){echarts__namespace[_0x41ef6f(0x17d)]('mars2dMap',CompositeCoordinateSystem);const _0x2e715b={};_0x2e715b[_0x41ef6f(0x1c9)]=_0x41ef6f(0x171),_0x2e715b['event']='mars2dMapRoam',_0x2e715b['update']='updateLayout',echarts__namespace[_0x41ef6f(0x19d)](_0x2e715b,function(_0x35d080,_0x5d46ac){});const _0x3b9ce2={};_0x3b9ce2[_0x41ef6f(0x178)]=![];const _0x146ad2={};_0x146ad2[_0x41ef6f(0x1c9)]=_0x41ef6f(0x18c),_0x146ad2[_0x41ef6f(0x1ba)]=function(){const _0x5dda6d=_0x41ef6f;return this[_0x5dda6d(0x1b5)];},_0x146ad2[_0x41ef6f(0x18a)]=_0x3b9ce2,echarts__namespace[_0x41ef6f(0x1b7)](_0x146ad2),echarts__namespace['extendComponentView']({'type':'mars2dMap','init':function(_0x55c53d,_0x291662){const _0x51d769={_0x3921be:0x18f,_0x4d5f6b:0x1bf,_0x5c4daf:0x18e,_0x5743d8:0x1b5,_0x5926eb:0x1bf,_0x2c2dcf:0x1b5,_0x5a1243:0x181,_0x58804b:0x1bb,_0x4ee4a1:0x1a1,_0x493b61:0x16d,_0xa35ecc:0x163,_0x4041c2:0x17e,_0xe69ed5:0x1b2,_0x34ba96:0x199},_0x265a9d=_0x41ef6f;this[_0x265a9d(_0x51d769._0x3921be)]=_0x291662,this['_map']=_0x55c53d[_0x265a9d(_0x51d769._0x4d5f6b)][_0x265a9d(_0x51d769._0x5c4daf)][_0x265a9d(_0x51d769._0x5743d8)];const _0x33f608=_0x55c53d[_0x265a9d(_0x51d769._0x5926eb)][_0x265a9d(_0x51d769._0x5c4daf)][_0x265a9d(_0x51d769._0x2c2dcf)],_0x30365b=_0x291662['getZr']()[_0x265a9d(_0x51d769._0x5a1243)][_0x265a9d(0x1a7)](),_0x4beaae=_0x33f608['options'][_0x265a9d(0x1a9)]&&L$1['Browser'][_0x265a9d(_0x51d769._0x58804b)];_0x30365b[_0x265a9d(_0x51d769._0x4ee4a1)]=_0x265a9d(0x18b)+(_0x4beaae?_0x265a9d(_0x51d769._0x493b61):_0x265a9d(_0x51d769._0xa35ecc))+'\x20echarts-layer';const _0x1c5684=L$1[_0x265a9d(0x1c1)][_0x265a9d(_0x51d769._0x4041c2)]([_0x265a9d(0x183),_0x265a9d(0x1a8),_0x265a9d(_0x51d769._0xe69ed5)]);_0x30365b['style'][_0x1c5684]='50%\x2050%',this['_viewportRoot']=_0x30365b,this[_0x265a9d(_0x51d769._0x34ba96)]['on']('moveend',this['moveHandler'],this),this['_map']['on']('zoomend',this[_0x265a9d(0x189)],this);},'moveHandler'(){const _0x305613={_0x5457c2:0x162,_0x2c2ac7:0x1bd,_0x304437:0x173,_0x14d8d9:0x171,_0x5a1fba:0x18f},_0x374384=_0x41ef6f,_0x611ba0=this['_map'][_0x374384(0x192)]([0x0,0x0]),_0x258997=[_0x611ba0['x']||0x0,_0x611ba0['y']||0x0];this['_viewportRoot'][_0x374384(0x162)][_0x374384(0x177)]=_0x258997[0x0]+'px',this[_0x374384(0x18d)][_0x374384(_0x305613._0x5457c2)]['top']=_0x258997[0x1]+'px';const _0x3293fb=this[_0x374384(0x19e)];_0x3293fb[_0x374384(_0x305613._0x2c2ac7)]=_0x258997;_0x3293fb!==null&&_0x3293fb!==void 0x0&&_0x3293fb[_0x374384(_0x305613._0x304437)]&&_0x3293fb[_0x374384(0x173)]['setMapOffset'](_0x258997);const _0x43c8d2={};_0x43c8d2[_0x374384(0x1c9)]=_0x374384(_0x305613._0x14d8d9),this[_0x374384(_0x305613._0x5a1fba)][_0x374384(0x174)](_0x43c8d2);},'dispose':function(_0x42bce4){const _0x48bc9b={_0x3f8d13:0x199,_0x4baf9c:0x1c5,_0x5e825d:0x176,_0xad0ce7:0x189},_0x1d8e73=_0x41ef6f;this[_0x1d8e73(_0x48bc9b._0x3f8d13)][_0x1d8e73(0x1c5)](_0x1d8e73(0x1b6),this['moveHandler'],this),this[_0x1d8e73(_0x48bc9b._0x3f8d13)][_0x1d8e73(_0x48bc9b._0x4baf9c)](_0x1d8e73(_0x48bc9b._0x5e825d),this[_0x1d8e73(_0x48bc9b._0xad0ce7)],this);}});}else throw new Error('请引入\x20echarts\x20库');const L=mars2d__namespace['L'];class EchartsLayer extends L['Layer']{constructor(_0x4f0703={}){const _0x42c800={_0x64b706:0x1b1,_0x5921cf:0x15a,_0x586ec2:0x1b4},_0x7157f=_0x41ef6f;var _0x52d367,_0x2f2517;super(_0x4f0703),this[_0x7157f(_0x42c800._0x64b706)]=_0x4f0703,L[_0x7157f(_0x42c800._0x5921cf)]['stamp'](this),this['options']['id']=(_0x52d367=this['options']['id'])!==null&&_0x52d367!==void 0x0?_0x52d367:mars2d__namespace['Util']['createGuid'](),this[_0x7157f(_0x42c800._0x64b706)][_0x7157f(_0x42c800._0x586ec2)]=(_0x2f2517=this['options']['pid'])!==null&&_0x2f2517!==void 0x0?_0x2f2517:-0x1;}get['isAdded'](){const _0x5e8cf2=_0x41ef6f;return this['_map']&&this[_0x5e8cf2(0x199)][_0x5e8cf2(0x195)](this);}get[_0x41ef6f(0x1b4)](){const _0xe0750={_0x310ccb:0x1b1},_0x3155b9=_0x41ef6f;return this[_0x3155b9(_0xe0750._0x310ccb)]['pid'];}set[_0x41ef6f(0x1b4)](_0x37c3fe){const _0x1b2a3f={_0x121843:0x1b1},_0x2f5325=_0x41ef6f;this[_0x2f5325(_0x1b2a3f._0x121843)][_0x2f5325(0x1b4)]=_0x37c3fe;}get['id'](){const _0x33307c={_0x39f95a:0x1b1},_0x5085d7=_0x41ef6f;return this[_0x5085d7(_0x33307c._0x39f95a)]['id'];}set['id'](_0x3e6a7e){const _0xa6c306={_0x539e67:0x1b1},_0x2906f6=_0x41ef6f;this[_0x2906f6(_0xa6c306._0x539e67)]['id']=_0x3e6a7e;}get[_0x41ef6f(0x194)](){const _0x5d829d=_0x41ef6f;return this[_0x5d829d(0x1b1)]['name'];}set['name'](_0x568018){const _0x5ea95c={_0x336a6d:0x1b1,_0x5d46cc:0x194},_0x3d52c8=_0x41ef6f;this[_0x3d52c8(_0x5ea95c._0x336a6d)][_0x3d52c8(_0x5ea95c._0x5d46cc)]=_0x568018;}get[_0x41ef6f(0x1c0)](){const _0x24c2d7={_0x25e4f7:0x198},_0x3e1536=_0x41ef6f;return this[_0x3e1536(_0x24c2d7._0x25e4f7)];}get['show'](){const _0x17c519={_0x55fa9e:0x161},_0x4863f5=_0x41ef6f;return this[_0x4863f5(_0x17c519._0x55fa9e)];}set[_0x41ef6f(0x169)](_0x2b07d0){const _0x21dd24={_0x10d071:0x161,_0x2613e4:0x185,_0x53b1f1:0x162},_0x2931cf=_0x41ef6f;this[_0x2931cf(_0x21dd24._0x10d071)]=_0x2b07d0,_0x2b07d0?this[_0x2931cf(0x193)][_0x2931cf(0x162)][_0x2931cf(0x1c8)]=_0x2931cf(_0x21dd24._0x2613e4):this['_echartsContainer'][_0x2931cf(_0x21dd24._0x53b1f1)]['visibility']='hidden';}[_0x41ef6f(0x160)](_0x7e4684){const _0x2cec35={_0x87ba3d:0x1c2,_0xb45768:0x199},_0x2348d5=_0x41ef6f;if(!echarts__namespace)throw new Error(_0x2348d5(_0x2cec35._0x87ba3d));this['_map']=_0x7e4684,this[_0x2348d5(0x193)]=this['_createChartOverlay'](),this['_echartsInstance']=echarts__namespace[_0x2348d5(0x1ad)](this[_0x2348d5(0x193)]),this['_echartsInstance']['_mars2d_map']=_0x7e4684,this['setEchartsOption'](this['options']),this[_0x2348d5(_0x2cec35._0xb45768)]['on']('resize',this['_resizeHandler'],this);}[_0x41ef6f(0x15b)](){const _0x53d7df={_0x56f90e:0x198,_0x1393d6:0x198,_0xc28827:0x198,_0xf608f8:0x1c1,_0x5052f9:0x199},_0x3c99d0=_0x41ef6f;this['_echartsInstance']&&(this[_0x3c99d0(_0x53d7df._0x56f90e)]['clear'](),this[_0x3c99d0(_0x53d7df._0x1393d6)]['dispose'](),delete this[_0x3c99d0(_0x53d7df._0xc28827)]),this[_0x3c99d0(0x193)]&&(L[_0x3c99d0(_0x53d7df._0xf608f8)][_0x3c99d0(0x1c4)](this[_0x3c99d0(0x193)]),delete this[_0x3c99d0(0x193)]),this[_0x3c99d0(_0x53d7df._0x5052f9)][_0x3c99d0(0x1c5)](_0x3c99d0(0x1a0),this['_resizeHandler'],this),delete this[_0x3c99d0(_0x53d7df._0x5052f9)];}['setZIndex'](_0x13cdaf){const _0x261c35={_0x2cc27c:0x1b1,_0x185669:0x170,_0xff55f8:0x193,_0x1a9fea:0x193,_0x1bc970:0x162},_0x4751af=_0x41ef6f;this[_0x4751af(_0x261c35._0x2cc27c)][_0x4751af(_0x261c35._0x185669)]=_0x13cdaf,this[_0x4751af(_0x261c35._0xff55f8)]&&(this[_0x4751af(_0x261c35._0x1a9fea)][_0x4751af(_0x261c35._0x1bc970)]['zIndex']=_0x13cdaf);}['_createChartOverlay'](){const _0x41bd9d={_0x5a4820:0x17f,_0x110dac:0x16b,_0x4745dd:0x162,_0x4b6f66:0x177,_0x419421:0x162,_0x3c8b73:0x162,_0xbeca1e:0x170,_0x126156:0x199},_0x3480fe=_0x41ef6f,_0x8b6c90=this['_map'][_0x3480fe(_0x41bd9d._0x5a4820)](),_0x5e04f4=document['createElement'](_0x3480fe(0x1b9));_0x5e04f4['style'][_0x3480fe(_0x41bd9d._0x110dac)]='absolute',_0x5e04f4[_0x3480fe(0x162)]['top']='0px',_0x5e04f4[_0x3480fe(_0x41bd9d._0x4745dd)][_0x3480fe(_0x41bd9d._0x4b6f66)]='0px',_0x5e04f4[_0x3480fe(_0x41bd9d._0x419421)][_0x3480fe(0x197)]=_0x8b6c90['y']+'px',_0x5e04f4[_0x3480fe(0x162)]['width']=_0x8b6c90['x']+'px',_0x5e04f4[_0x3480fe(_0x41bd9d._0x3c8b73)][_0x3480fe(_0x41bd9d._0xbeca1e)]=this['options'][_0x3480fe(_0x41bd9d._0xbeca1e)]||0x63;const _0x3c0c4f=this[_0x3480fe(_0x41bd9d._0x126156)][_0x3480fe(0x187)](this[_0x3480fe(0x1b1)][_0x3480fe(0x1a4)]||_0x3480fe(0x19b));return _0x3c0c4f[_0x3480fe(0x1bc)](_0x5e04f4),_0x5e04f4;}['_resizeHandler'](_0x4e0550){const _0x592a8d={_0x4a1d78:0x17b,_0x2d1d32:0x1c6,_0x149759:0x162,_0x4b9af1:0x197},_0x3c9c11=_0x41ef6f;if(!this['_echartsInstance'])return;const _0x5ade21=_0x4e0550[_0x3c9c11(_0x592a8d._0x4a1d78)];this[_0x3c9c11(0x193)]['style'][_0x3c9c11(_0x592a8d._0x2d1d32)]=_0x5ade21['x']+'px',this['_echartsContainer'][_0x3c9c11(_0x592a8d._0x149759)][_0x3c9c11(_0x592a8d._0x4b9af1)]=_0x5ade21['y']+'px',this[_0x3c9c11(0x198)]['resize']();}['setEchartsOption'](_0x138e02,_0x2a6ffa,_0x4f3737){const _0x2b924e={_0x4d3837:0x178,_0x2699ce:0x18c},_0x278ae9=_0x41ef6f;if(this['_echartsInstance']){const _0x42a47e={};_0x42a47e[_0x278ae9(_0x2b924e._0x4d3837)]=!![],_0x138e02['mars2dMap']=_0x138e02[_0x278ae9(_0x2b924e._0x2699ce)]||_0x42a47e,this['_echartsInstance'][_0x278ae9(0x166)](_0x138e02,_0x2a6ffa,_0x4f3737);}}['on'](_0x5c0fdb,_0x5bd83f,_0x24d125){const _0x43f1f8={_0x343ab8:0x198},_0x35f5ba=_0x41ef6f;return this[_0x35f5ba(_0x43f1f8._0x343ab8)]['on'](_0x5c0fdb,_0x5bd83f,_0x24d125||this),this;}['onByQuery'](_0x35f48d,_0x34fe16,_0x5a9d22,_0x55c0a5){const _0x4ca13e=_0x41ef6f;return this[_0x4ca13e(0x198)]['on'](_0x35f48d,_0x34fe16,_0x5a9d22,_0x55c0a5||this),this;}['off'](_0x10b840,_0x25bac0,_0x5ab736){return this['_echartsInstance']['off'](_0x10b840,_0x25bac0,_0x5ab736||this),this;}}mars2d__namespace[_0x41ef6f(0x1c0)]['EchartsLayer']=EchartsLayer,mars2d__namespace['LayerUtil'][_0x41ef6f(0x180)](_0x41ef6f(0x1af),EchartsLayer),exports[_0x41ef6f(0x196)]=EchartsLayer;const _0x335361={};_0x335361[_0x41ef6f(0x1b0)]=!![],Object['defineProperty'](exports,_0x41ef6f(0x191),_0x335361);
|
|
14
|
+
'use strict';const _0x53f05c=_0x1680;(function(_0x2c28d4,_0x2faab5){const _0x108e09={_0x413243:0x1be,_0x10be9a:0x1c8,_0x17d441:0x199,_0x5ca12b:0x1b1,_0x54a6dd:0x1a8,_0x342aed:0x1dc,_0x11046c:0x1eb},_0x210b00=_0x1680,_0x7ff88a=_0x2c28d4();while(!![]){try{const _0x12d5e1=-parseInt(_0x210b00(0x1a7))/0x1*(-parseInt(_0x210b00(_0x108e09._0x413243))/0x2)+parseInt(_0x210b00(0x18c))/0x3*(-parseInt(_0x210b00(0x18b))/0x4)+-parseInt(_0x210b00(_0x108e09._0x10be9a))/0x5*(-parseInt(_0x210b00(_0x108e09._0x17d441))/0x6)+parseInt(_0x210b00(_0x108e09._0x5ca12b))/0x7+-parseInt(_0x210b00(_0x108e09._0x54a6dd))/0x8*(-parseInt(_0x210b00(_0x108e09._0x342aed))/0x9)+parseInt(_0x210b00(0x1bc))/0xa*(-parseInt(_0x210b00(0x198))/0xb)+-parseInt(_0x210b00(_0x108e09._0x11046c))/0xc*(parseInt(_0x210b00(0x1de))/0xd);if(_0x12d5e1===_0x2faab5)break;else _0x7ff88a['push'](_0x7ff88a['shift']());}catch(_0x2662e8){_0x7ff88a['push'](_0x7ff88a['shift']());}}}(_0x3bfb,0x735fe));function _interopNamespace(_0x3b4222){const _0x398c3d={_0x1565c2:0x1a0},_0x53c4d1=_0x1680;if(_0x3b4222&&_0x3b4222[_0x53c4d1(0x1d0)])return _0x3b4222;var _0x599ed6=Object['create'](null);return _0x3b4222&&Object['keys'](_0x3b4222)['forEach'](function(_0x1d8c6b){const _0x36600b=_0x53c4d1;if(_0x1d8c6b!=='default'){var _0x55c2ca=Object['getOwnPropertyDescriptor'](_0x3b4222,_0x1d8c6b);Object[_0x36600b(0x1ce)](_0x599ed6,_0x1d8c6b,_0x55c2ca['get']?_0x55c2ca:{'enumerable':!![],'get':function(){return _0x3b4222[_0x1d8c6b];}});}}),_0x599ed6[_0x53c4d1(_0x398c3d._0x1565c2)]=_0x3b4222,_0x599ed6;}var mars2d__namespace=_interopNamespace(mars2d),echarts__namespace=_interopNamespace(echarts);function _0x3bfb(){const _0x1f65bb=['tgf5zxjvDgLS','z2v0qK1HCa','Cg9PBNruB0rHDge','yMLUza','z2v0vMLLD1jLy3q','CM9HBq','ntjVEKjgAvm','mtmWodGXBeTOEgXi','ntaLiduWjq','CMvNAxn0zxjdB29YzgLUyxrLu3LZDgvT','C2nOzwr1BgvY','C2HVDW','Dg9W','EM9VBwvUza','DxbKyxrLtgf5B3v0','z2v0u2L6zq','DhLWzq','qM91BMrPBMDszwn0','x2vJAgfYDhnjBNn0yw5Jzq','mJjkA0XiC00','mZeWntzmquvvCgq','CMvTB3zL','rwnOyxj0C0XHEwvY','x21HCa','DMLZAwjPBgL0Eq','x3nOB3C','rg9TvxrPBa','zgvMyxvSDa','Bgf0tg5Nvg9myxLLCLbVAw50','DxbKyxrL','twvYy2f0B3i','Bgf5zxjqB2LUDfrVtgf0tg5N','Bw92zwvUza','B2zM','mZyWotG5CvLzvvHN','nJrJvgPbrMS','vxrPBa','mhb4','y3jLyxrLrwXLBwvUDa','zgvMyxvSDe9WDgLVBG','ywjZB2X1Dgu','CgfPBNrLCG','ChjLCgfYzun1C3rVBxm','z2v0uM9HBvrYyw5ZzM9YBq','mtG5nJmZnvb0zvrguq','BMfTzq','AgLKzq','x3jLC2L6zuHHBMrSzxi','Bwf0CML4','CMvZAxPL','Bg5N','BwfYCZjKtwfWuM9HBq','AgvPz2H0','x2fWAq','AxnbzgrLza','mJaWntqYmfr5rKjIrW','Bgf5zxi','nhb0AeTfva','y29VCMrPBMf0zvn5C3rLBq','Bw92zuHHBMrSzxi','CgLK','DgvZDfbYB3a','z2v0','qNjVD3nLCG','C2v0twfWt2zMC2v0','yw5PBwf0zwq','x19TB2rLBa','nta1zu5StvzZ','Cg9ZAxrPB24','x21HCNmYzf9Tyxa','B3b0Aw9UCW','BgvMDa','BwfYCZjKtwfW','zgvMAw5LuhjVCgvYDhK','zwnjBNn0yw5Jzq','x19LC01VzhvSzq','EKLUzgv4','v2vIA2L0vhjHBNnMB3jTt3jPz2LU','Aw5PDa','tgf5zxi','x21HCe9MzNnLDa','x19TyxbpzMzZzxq','ChjVAMvJDgLVBG','zgLZCg9Zzq','zxzLBNq','C3r5Bgu','x2vJAgfYDhndB250ywLUzxi','mJCZoda3sMX6B1j5','z2v0vMLLD3bVCNrsB290','mJzetMPutgS','D2LKDgG','zwfJAfnLCMLLCW','B25bzgq','zxH0zw5Kq29TCg9Uzw50vMLLDW','B25cEvf1zxj5','y3jLyxrL','CMvNAxn0zxi','z2v0wNi','ywjZ','DhjHBNnMB3jTt3jPz2LU','B3zLCMXHEvbHBMu','uhjVAMvJDgLVBG','mtKWotqWngLksKXNzG','B25szw1VDMu'];_0x3bfb=function(){return _0x1f65bb;};return _0x3bfb();}const L$1=mars2d__namespace['L'];class CompositeCoordinateSystem{constructor(_0x34fadc,_0x38bca2){const _0x40edf5={_0x4c39bc:0x1b7,_0x3c6645:0x1ba,_0x3ceded:0x1ea},_0x3fc307=_0x1680;this[_0x3fc307(0x1ca)]=_0x34fadc,this['dimensions']=[_0x3fc307(_0x40edf5._0x4c39bc),'lat'],this[_0x3fc307(0x1d5)]=[0x0,0x0],this[_0x3fc307(_0x40edf5._0x3c6645)]=_0x38bca2,this['_projection']=L$1[_0x3fc307(_0x40edf5._0x3ceded)][_0x3fc307(0x1a3)];}['setMapOffset'](_0x3cc509){const _0x3c07f7={_0x5cbe0b:0x1d5},_0x356674=_0x1680;this[_0x356674(_0x3c07f7._0x5cbe0b)]=_0x3cc509;}[_0x53f05c(0x1ee)](){const _0x1c76ad={_0xd7cb39:0x1ca},_0x5c841b=_0x53f05c;return this[_0x5c841b(_0x1c76ad._0xd7cb39)];}[_0x53f05c(0x1af)](){const _0x1ee10e={_0x59d9ca:0x1cd,_0x59bcf9:0x1b9},_0x3e7b9b=_0x53f05c,_0xc8b46=echarts__namespace['util'],_0x33d204=this['getViewRect'](),_0x239f93={};_0x239f93['type']=_0x3e7b9b(_0x1ee10e._0x59d9ca),_0x239f93['x']=_0x33d204['x'],_0x239f93['y']=_0x33d204['y'],_0x239f93[_0x3e7b9b(0x1df)]=_0x33d204[_0x3e7b9b(0x1df)],_0x239f93[_0x3e7b9b(_0x1ee10e._0x59bcf9)]=_0x33d204[_0x3e7b9b(0x1b9)];return{'coordSys':_0x239f93,'api':{'coord':_0xc8b46[_0x3e7b9b(0x1f0)](this['dataToPoint'],this),'size':_0xc8b46['bind'](_0x4e57a0,this)}};function _0x4e57a0(_0x4c0d39,_0x1419f9){const _0x2b2528={_0x4124d0:0x1e7};return _0x1419f9=_0x1419f9||[0x0,0x0],_0xc8b46['map']([0x0,0x1],function(_0x13cc89){const _0x251f35=_0x1680,_0x31bf7b=_0x1419f9[_0x13cc89],_0x4dc319=_0x4c0d39[_0x13cc89]/0x2,_0x4a587c=[],_0x4e0ef2=[];return _0x4a587c[_0x13cc89]=_0x31bf7b-_0x4dc319,_0x4e0ef2[_0x13cc89]=_0x31bf7b+_0x4dc319,_0x4a587c[0x1-_0x13cc89]=_0x4e0ef2[0x1-_0x13cc89]=_0x1419f9[0x1-_0x13cc89],Math[_0x251f35(_0x2b2528._0x4124d0)](this['dataToPoint'](_0x4a587c)[_0x13cc89]-this['dataToPoint'](_0x4e0ef2)[_0x13cc89]);},this);}}['dataToPoint'](_0x3dfd11){const _0x166432={_0x56268c:0x1d7},_0x4d0263=_0x53f05c;_0x3dfd11[0x1]===null&&(_0x3dfd11[0x1]=L$1['CRS']['EPSG3857'][_0x4d0263(_0x166432._0x56268c)]['MAX_LATITUDE']);const _0xa593f5=this[_0x4d0263(0x1ca)][_0x4d0263(0x1a1)]([_0x3dfd11[0x1],_0x3dfd11[0x0]]),_0x48b603=this['_mapOffset'];return[_0xa593f5['x']-_0x48b603[0x0],_0xa593f5['y']-_0x48b603[0x1]];}[_0x53f05c(0x1ef)](_0x4da3fc){const _0x246389={_0x1896f9:0x1ca,_0x4b25c2:0x1a4},_0x113628=_0x53f05c,_0x599d9a=this[_0x113628(0x1d5)],_0x967720=this[_0x113628(_0x246389._0x1896f9)][_0x113628(_0x246389._0x4b25c2)]([_0x4da3fc[0x0]+_0x599d9a[0x0],_0x4da3fc[0x1]+_0x599d9a[0x1]]);return[_0x967720['lng'],_0x967720['lat']];}[_0x53f05c(0x189)](){const _0x28f1e0={_0x23b6af:0x194,_0x13c542:0x196},_0x20483b=_0x53f05c,_0x461339=this['_mars2d_map'][_0x20483b(_0x28f1e0._0x23b6af)]();return new echarts__namespace['graphic'][(_0x20483b(_0x28f1e0._0x13c542))](0x0,0x0,_0x461339['x'],_0x461339['y']);}[_0x53f05c(0x1b0)](){const _0x282609=_0x53f05c;return echarts__namespace[_0x282609(0x1b5)][_0x282609(0x1e4)]();}}CompositeCoordinateSystem['dimensions']=['lng','lat'],CompositeCoordinateSystem['create']=function(_0x2475ee,_0x482fcf){const _0x537f24={_0x50b7b0:0x18f,_0x5e4f38:0x1ca,_0xffba39:0x1cd},_0x3ec769={_0x390174:0x1c3},_0x5d6bcb={_0x4a0e49:0x1ae},_0x55c5c7=_0x53f05c;let _0x2b3fe8;const _0x2e316a=_0x2475ee[_0x55c5c7(_0x537f24._0x50b7b0)]['ecInstance'][_0x55c5c7(_0x537f24._0x5e4f38)];_0x2475ee['eachComponent'](_0x55c5c7(_0x537f24._0xffba39),function(_0x1b1190){const _0x542e6b=_0x55c5c7,_0x2b446b=_0x482fcf[_0x542e6b(0x1e6)]()[_0x542e6b(_0x5d6bcb._0x4a0e49)];if(!_0x2b446b)return;!_0x2b3fe8&&(_0x2b3fe8=new CompositeCoordinateSystem(_0x2e316a,_0x482fcf)),_0x1b1190['coordinateSystem']=_0x2b3fe8,_0x2b3fe8['setMapOffset'](_0x1b1190['__mapOffset']||[0x0,0x0]);}),_0x2475ee[_0x55c5c7(0x1e0)](function(_0x4706f1){const _0x5630dd=_0x55c5c7;_0x4706f1[_0x5630dd(_0x3ec769._0x390174)](_0x5630dd(0x1bf))===_0x5630dd(0x1cd)&&(!_0x2b3fe8&&(_0x2b3fe8=new CompositeCoordinateSystem(_0x2e316a)),_0x4706f1[_0x5630dd(0x1bf)]=_0x2b3fe8);});};if(echarts__namespace!==null&&echarts__namespace!==void 0x0&&echarts__namespace[_0x53f05c(0x1d3)]){echarts__namespace[_0x53f05c(0x18e)](_0x53f05c(0x1cd),CompositeCoordinateSystem);const _0xc9d2c1={};_0xc9d2c1[_0x53f05c(0x195)]=_0x53f05c(0x1b8),_0xc9d2c1[_0x53f05c(0x1d9)]='mars2dMapRoam',_0xc9d2c1[_0x53f05c(0x1a2)]=_0x53f05c(0x193),echarts__namespace['registerAction'](_0xc9d2c1,function(_0x4bc61e,_0xbc1be7){});const _0x4ce042={};_0x4ce042[_0x53f05c(0x18a)]=![];const _0xa00bd4={};_0xa00bd4[_0x53f05c(0x195)]='mars2dMap',_0xa00bd4['getBMap']=function(){const _0x1f5c53={_0x284180:0x1ca},_0x1ccc09=_0x53f05c;return this[_0x1ccc09(_0x1f5c53._0x284180)];},_0xa00bd4[_0x53f05c(0x1ac)]=_0x4ce042,echarts__namespace['extendComponentModel'](_0xa00bd4),echarts__namespace[_0x53f05c(0x1e2)]({'type':_0x53f05c(0x1cd),'init':function(_0x6ac74,_0x2ade6d){const _0x2eebde={_0x24ddf1:0x1ba,_0x243a9e:0x1cf,_0x517c6e:0x1ca,_0x5bb170:0x1e6,_0x5f5438:0x1dd,_0x12fc84:0x1c4,_0x9e6323:0x1b3,_0x375a22:0x19f,_0x405dfb:0x1c2,_0x4c42de:0x1d2,_0x29b663:0x1da,_0xbbfc1f:0x19c},_0x2fb933=_0x53f05c;this[_0x2fb933(_0x2eebde._0x24ddf1)]=_0x2ade6d,this['_map']=_0x6ac74[_0x2fb933(0x18f)][_0x2fb933(_0x2eebde._0x243a9e)][_0x2fb933(0x1ca)];const _0xeaf4b7=_0x6ac74['scheduler'][_0x2fb933(0x1cf)][_0x2fb933(_0x2eebde._0x517c6e)],_0x298ee4=_0x2ade6d[_0x2fb933(_0x2eebde._0x5bb170)]()['painter'][_0x2fb933(_0x2eebde._0x5f5438)](),_0x44573a=_0xeaf4b7['options']['zoomAnimation']&&L$1[_0x2fb933(_0x2eebde._0x12fc84)]['any3d'];_0x298ee4['className']='\x20leaflet-layer\x20leaflet-zoom-'+(_0x44573a?_0x2fb933(0x1c6):_0x2fb933(_0x2eebde._0x9e6323))+'\x20echarts-layer';const _0x4a6f1f=L$1[_0x2fb933(_0x2eebde._0x375a22)][_0x2fb933(_0x2eebde._0x405dfb)]([_0x2fb933(0x1e8),_0x2fb933(_0x2eebde._0x4c42de),'msTransformOrigin']);_0x298ee4[_0x2fb933(_0x2eebde._0x29b663)][_0x4a6f1f]=_0x2fb933(0x18d),this['_viewportRoot']=_0x298ee4,this['_map']['on'](_0x2fb933(0x1a5),this['moveHandler'],this),this[_0x2fb933(_0x2eebde._0xbbfc1f)]['on'](_0x2fb933(0x192),this['moveHandler'],this);},'moveHandler'(){const _0x1656db={_0x274a31:0x1da,_0x312906:0x191,_0x397510:0x1c7,_0x316138:0x1d6,_0x4dda05:0x1bf,_0x43bed7:0x1c5},_0x15a9b1=_0x53f05c,_0x3a4d3d=this['_map']['containerPointToLayerPoint']([0x0,0x0]),_0x49f251=[_0x3a4d3d['x']||0x0,_0x3a4d3d['y']||0x0];this['_viewportRoot'][_0x15a9b1(_0x1656db._0x274a31)]['left']=_0x49f251[0x0]+'px',this['_viewportRoot'][_0x15a9b1(0x1da)][_0x15a9b1(_0x1656db._0x312906)]=_0x49f251[0x1]+'px';const _0x548295=this[_0x15a9b1(_0x1656db._0x397510)];_0x548295[_0x15a9b1(_0x1656db._0x316138)]=_0x49f251;_0x548295!==null&&_0x548295!==void 0x0&&_0x548295[_0x15a9b1(0x1bf)]&&_0x548295[_0x15a9b1(_0x1656db._0x4dda05)][_0x15a9b1(_0x1656db._0x43bed7)](_0x49f251);const _0x409c20={};_0x409c20[_0x15a9b1(0x195)]=_0x15a9b1(0x1b8),this['_api']['dispatchAction'](_0x409c20);},'dispose':function(_0x1c54b9){const _0x2d0d35={_0x2f3cc6:0x1c0,_0x51cf34:0x192},_0x5133ee=_0x53f05c;this['_map']['off']('moveend',this[_0x5133ee(_0x2d0d35._0x2f3cc6)],this),this['_map'][_0x5133ee(0x1a6)](_0x5133ee(_0x2d0d35._0x51cf34),this['moveHandler'],this);}});}else throw new Error('请引入\x20echarts\x20库');const L=mars2d__namespace['L'];class EchartsLayer extends L[_0x53f05c(0x1d4)]{constructor(_0x43fbaf={}){const _0x32affb={_0x47bed6:0x1cb,_0x41816a:0x1c1},_0x1ba40b=_0x53f05c;var _0x5715d0,_0x2a02c5;super(_0x43fbaf),this['options']=_0x43fbaf,L['Util']['stamp'](this),this[_0x1ba40b(0x1cb)]['id']=(_0x5715d0=this[_0x1ba40b(_0x32affb._0x47bed6)]['id'])!==null&&_0x5715d0!==void 0x0?_0x5715d0:mars2d__namespace[_0x1ba40b(0x1a9)]['createGuid'](),this[_0x1ba40b(_0x32affb._0x47bed6)]['pid']=(_0x2a02c5=this[_0x1ba40b(_0x32affb._0x47bed6)][_0x1ba40b(_0x32affb._0x41816a)])!==null&&_0x2a02c5!==void 0x0?_0x2a02c5:-0x1;}get[_0x53f05c(0x1bb)](){const _0x1378ba=_0x53f05c;return this[_0x1378ba(0x19c)]&&this['_map']['hasLayer'](this);}get['pid'](){const _0x498577={_0x5bb31d:0x1c1},_0x20f95c=_0x53f05c;return this[_0x20f95c(0x1cb)][_0x20f95c(_0x498577._0x5bb31d)];}set['pid'](_0x7b0295){const _0x2b56d6={_0x506ef0:0x1cb},_0x133ae1=_0x53f05c;this[_0x133ae1(_0x2b56d6._0x506ef0)][_0x133ae1(0x1c1)]=_0x7b0295;}get['id'](){const _0x2c8309={_0x1cf273:0x1cb},_0x4324b9=_0x53f05c;return this[_0x4324b9(_0x2c8309._0x1cf273)]['id'];}set['id'](_0x576b09){const _0x11e1f3={_0x18b78c:0x1cb},_0x48b988=_0x53f05c;this[_0x48b988(_0x11e1f3._0x18b78c)]['id']=_0x576b09;}get['name'](){const _0xc3c4e5={_0x4db1c6:0x1b2},_0x3851b2=_0x53f05c;return this['options'][_0x3851b2(_0xc3c4e5._0x4db1c6)];}set[_0x53f05c(0x1b2)](_0x344e6e){const _0x16f3a8={_0x54f232:0x1b2},_0x3a77d8=_0x53f05c;this[_0x3a77d8(0x1cb)][_0x3a77d8(_0x16f3a8._0x54f232)]=_0x344e6e;}get['layer'](){return this['_echartsInstance'];}get[_0x53f05c(0x190)](){return this['_show'];}set[_0x53f05c(0x190)](_0x41b0d6){const _0x23018d={_0x537289:0x19e,_0x567725:0x19d},_0x549078=_0x53f05c;this[_0x549078(_0x23018d._0x537289)]=_0x41b0d6,_0x41b0d6?this['_echartsContainer'][_0x549078(0x1da)]['visibility']='visible':this[_0x549078(0x1db)]['style'][_0x549078(_0x23018d._0x567725)]='hidden';}[_0x53f05c(0x1e1)](_0x9bcfba){const _0x3b3176={_0x353b5e:0x1db,_0x3526af:0x1cb,_0x416953:0x19c,_0x50ac38:0x1b4},_0x382e34=_0x53f05c;if(!echarts__namespace)throw new Error('请引入\x20echarts\x20库\x20');this['_map']=_0x9bcfba,this[_0x382e34(_0x3b3176._0x353b5e)]=this['_createChartOverlay'](),this['_echartsInstance']=echarts__namespace['init'](this[_0x382e34(_0x3b3176._0x353b5e)]),this[_0x382e34(0x197)]['_mars2d_map']=_0x9bcfba,this['setEchartsOption'](this[_0x382e34(_0x3b3176._0x3526af)]),this[_0x382e34(_0x3b3176._0x416953)]['on']('resize',this[_0x382e34(_0x3b3176._0x50ac38)],this);}[_0x53f05c(0x1ec)](){const _0x59e7b5={_0x380124:0x197,_0x86b7fb:0x1db,_0x5d9e6c:0x19a,_0x2bb0df:0x19c,_0x30e1a9:0x1a6,_0x3fde71:0x1b4},_0x5ae06e=_0x53f05c;this['_echartsInstance']&&(this['_echartsInstance']['clear'](),this[_0x5ae06e(_0x59e7b5._0x380124)][_0x5ae06e(0x1d8)](),delete this[_0x5ae06e(_0x59e7b5._0x380124)]),this[_0x5ae06e(_0x59e7b5._0x86b7fb)]&&(L['DomUtil'][_0x5ae06e(_0x59e7b5._0x5d9e6c)](this['_echartsContainer']),delete this[_0x5ae06e(0x1db)]),this[_0x5ae06e(_0x59e7b5._0x2bb0df)][_0x5ae06e(_0x59e7b5._0x30e1a9)]('resize',this[_0x5ae06e(_0x59e7b5._0x3fde71)],this),delete this[_0x5ae06e(0x19c)];}['setZIndex'](_0x1efae8){const _0x1f9fbe={_0x159e23:0x1cb,_0x57012c:0x1db},_0x12e7a2=_0x53f05c;this[_0x12e7a2(_0x1f9fbe._0x159e23)][_0x12e7a2(0x1d1)]=_0x1efae8,this[_0x12e7a2(_0x1f9fbe._0x57012c)]&&(this[_0x12e7a2(_0x1f9fbe._0x57012c)]['style'][_0x12e7a2(0x1d1)]=_0x1efae8);}['_createChartOverlay'](){const _0x30d7c3={_0x993130:0x1da,_0x3f06a1:0x1d1,_0xd19a53:0x1e9},_0x125981=_0x53f05c,_0x48265d=this['_map'][_0x125981(0x194)](),_0x30daee=document[_0x125981(0x1ab)]('div');_0x30daee['style'][_0x125981(0x1c9)]=_0x125981(0x1ad),_0x30daee[_0x125981(0x1da)]['top']=_0x125981(0x1aa),_0x30daee['style'][_0x125981(0x1cc)]='0px',_0x30daee[_0x125981(_0x30d7c3._0x993130)]['height']=_0x48265d['y']+'px',_0x30daee[_0x125981(0x1da)]['width']=_0x48265d['x']+'px',_0x30daee[_0x125981(_0x30d7c3._0x993130)]['zIndex']=this['options'][_0x125981(_0x30d7c3._0x3f06a1)]||0x63;const _0x4cd170=this['_map']['getPane'](this[_0x125981(0x1cb)]['pane']||_0x125981(_0x30d7c3._0xd19a53));return _0x4cd170['appendChild'](_0x30daee),_0x30daee;}['_resizeHandler'](_0x61871){const _0xc519ee={_0x10fb57:0x1da,_0x3db827:0x1db,_0x4e1a56:0x1b9},_0x33ccce=_0x53f05c;if(!this['_echartsInstance'])return;const _0x22ce7d=_0x61871['newSize'];this['_echartsContainer'][_0x33ccce(_0xc519ee._0x10fb57)]['width']=_0x22ce7d['x']+'px',this[_0x33ccce(_0xc519ee._0x3db827)]['style'][_0x33ccce(_0xc519ee._0x4e1a56)]=_0x22ce7d['y']+'px',this[_0x33ccce(0x197)][_0x33ccce(0x1b6)]();}['setEchartsOption'](_0x30382c,_0x43018c,_0x3b500e){const _0x95d946={_0x31751d:0x18a},_0x385bbb=_0x53f05c;if(this['_echartsInstance']){const _0x3df031={};_0x3df031[_0x385bbb(_0x95d946._0x31751d)]=!![],_0x30382c['mars2dMap']=_0x30382c['mars2dMap']||_0x3df031,this['_echartsInstance']['setOption'](_0x30382c,_0x43018c,_0x3b500e);}}['on'](_0xed52f7,_0x56e8a9,_0x24150f){return this['_echartsInstance']['on'](_0xed52f7,_0x56e8a9,_0x24150f||this),this;}[_0x53f05c(0x1e3)](_0x3ae2e3,_0x569ab8,_0x383c18,_0x53ff2b){return this['_echartsInstance']['on'](_0x3ae2e3,_0x569ab8,_0x383c18,_0x53ff2b||this),this;}['off'](_0x4f3981,_0x34fd74,_0x43f6ae){const _0x5b63e5=_0x53f05c;return this['_echartsInstance'][_0x5b63e5(0x1a6)](_0x4f3981,_0x34fd74,_0x43f6ae||this),this;}}mars2d__namespace[_0x53f05c(0x1bd)]['EchartsLayer']=EchartsLayer,mars2d__namespace[_0x53f05c(0x1ed)][_0x53f05c(0x1e5)]('echarts',EchartsLayer),exports[_0x53f05c(0x19b)]=EchartsLayer;const _0x3e69eb={};function _0x1680(_0x36897b,_0x2fdeec){const _0x3bfb9d=_0x3bfb();return _0x1680=function(_0x16800a,_0x5ba167){_0x16800a=_0x16800a-0x189;let _0x471039=_0x3bfb9d[_0x16800a];if(_0x1680['ZyayBj']===undefined){var _0x1c2bc0=function(_0x14fa56){const _0xc9d2c1='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x4ce042='',_0xa00bd4='';for(let _0x38abf3=0x0,_0x16350a,_0x3e69eb,_0x3b4222=0x0;_0x3e69eb=_0x14fa56['charAt'](_0x3b4222++);~_0x3e69eb&&(_0x16350a=_0x38abf3%0x4?_0x16350a*0x40+_0x3e69eb:_0x3e69eb,_0x38abf3++%0x4)?_0x4ce042+=String['fromCharCode'](0xff&_0x16350a>>(-0x2*_0x38abf3&0x6)):0x0){_0x3e69eb=_0xc9d2c1['indexOf'](_0x3e69eb);}for(let _0x599ed6=0x0,_0x1d8c6b=_0x4ce042['length'];_0x599ed6<_0x1d8c6b;_0x599ed6++){_0xa00bd4+='%'+('00'+_0x4ce042['charCodeAt'](_0x599ed6)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0xa00bd4);};_0x1680['jrycqz']=_0x1c2bc0,_0x36897b=arguments,_0x1680['ZyayBj']=!![];}const _0x5eb8a7=_0x3bfb9d[0x0],_0x2835d4=_0x16800a+_0x5eb8a7,_0x4ebdb0=_0x36897b[_0x2835d4];return!_0x4ebdb0?(_0x471039=_0x1680['jrycqz'](_0x471039),_0x36897b[_0x2835d4]=_0x471039):_0x471039=_0x4ebdb0,_0x471039;},_0x1680(_0x36897b,_0x2fdeec);}_0x3e69eb['value']=!![],Object['defineProperty'](exports,'__esModule',_0x3e69eb);
|
|
15
15
|
}));
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "mars2d-echarts",
|
|
3
|
-
"version": "3.2.
|
|
3
|
+
"version": "3.2.7",
|
|
4
4
|
"description": "Mars2D平台插件,结合echarts可视化功能插件",
|
|
5
5
|
"main": "dist/mars2d-echarts.js",
|
|
6
6
|
"files": [
|
|
@@ -10,14 +10,14 @@
|
|
|
10
10
|
"echarts": "^5.4.0"
|
|
11
11
|
},
|
|
12
12
|
"devDependencies": {
|
|
13
|
-
"mars2d": "~3.2.
|
|
13
|
+
"mars2d": "~3.2.7"
|
|
14
14
|
},
|
|
15
15
|
"scripts": {
|
|
16
16
|
"lint": "eslint ./src/**/*.{js,ts} --fix"
|
|
17
17
|
},
|
|
18
18
|
"repository": {
|
|
19
19
|
"type": "git",
|
|
20
|
-
"url": "https://github.com/marsgis/mars2d-plugin.git"
|
|
20
|
+
"url": "git+https://github.com/marsgis/mars2d-plugin.git"
|
|
21
21
|
},
|
|
22
22
|
"bugs": {
|
|
23
23
|
"url": "https://github.com/marsgis/mars2d-plugin/issues",
|