mars2d-echarts
Advanced tools
Comparing version 3.0.13 to 3.0.14
/** | ||
* Mars2D地理信息平台 mars2d-sdk | ||
* | ||
* 版本信息:v3.0.13 | ||
* 编译日期:2022-03-16 17:34:25 | ||
* 版本信息:v3.0.14 | ||
* 编译日期:2022-03-17 11:21:53 | ||
* 版权所有:Copyright by 火星科技 http://mars2d.cn | ||
@@ -10,6 +10,6 @@ * 使用单位:免费公开版 ,2021-10-01 | ||
(function (global, factory) { | ||
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('core-js/modules/es.function.name.js'), (window.mars2d || require('mars2d')), (window.echarts || require('echarts')), require('core-js/modules/es.function.bind.js'), require('core-js/modules/es.array.map.js')) : | ||
typeof define === 'function' && define.amd ? define(['exports', 'core-js/modules/es.function.name.js', 'mars2d', 'echarts', 'core-js/modules/es.function.bind.js', 'core-js/modules/es.array.map.js'], factory) : | ||
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory(global["mars2d-echarts"] = {}, null, global.mars2d, global.echarts)); | ||
})(this, (function (exports, es_function_name_js, mars2d, echarts) { 'use strict';function _0x5845(_0x4347ae,_0x323ac3){var _0x3d8b94=_0x3d8b();return _0x5845=function(_0x5845df,_0x39eb59){_0x5845df=_0x5845df-0x14f;var _0x145e3f=_0x3d8b94[_0x5845df];if(_0x5845['Mbprhv']===undefined){var _0x9d1ad4=function(_0x33afa1){var _0x32fddd='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';var _0x33cbbf='',_0x541cb1='';for(var _0x3e05c6=0x0,_0x2a0484,_0x318784,_0x1d8cce=0x0;_0x318784=_0x33afa1['charAt'](_0x1d8cce++);~_0x318784&&(_0x2a0484=_0x3e05c6%0x4?_0x2a0484*0x40+_0x318784:_0x318784,_0x3e05c6++%0x4)?_0x33cbbf+=String['fromCharCode'](0xff&_0x2a0484>>(-0x2*_0x3e05c6&0x6)):0x0){_0x318784=_0x32fddd['indexOf'](_0x318784);}for(var _0xf74f3=0x0,_0x11debf=_0x33cbbf['length'];_0xf74f3<_0x11debf;_0xf74f3++){_0x541cb1+='%'+('00'+_0x33cbbf['charCodeAt'](_0xf74f3)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x541cb1);};_0x5845['ZimyTs']=_0x9d1ad4,_0x4347ae=arguments,_0x5845['Mbprhv']=!![];}var _0x1aad8a=_0x3d8b94[0x0],_0x1eb6de=_0x5845df+_0x1aad8a,_0x32f0ef=_0x4347ae[_0x1eb6de];return!_0x32f0ef?(_0x145e3f=_0x5845['ZimyTs'](_0x145e3f),_0x4347ae[_0x1eb6de]=_0x145e3f):_0x145e3f=_0x32f0ef,_0x145e3f;},_0x5845(_0x4347ae,_0x323ac3);}var _0x449971=_0x5845;(function(_0x1e4776,_0x5b61e5){var _0x4df5bd=_0x5845,_0x209d43=_0x1e4776();while(!![]){try{var _0x25d9e4=-parseInt(_0x4df5bd(0x1b0))/0x1*(-parseInt(_0x4df5bd(0x18b))/0x2)+parseInt(_0x4df5bd(0x181))/0x3+parseInt(_0x4df5bd(0x150))/0x4+-parseInt(_0x4df5bd(0x173))/0x5*(-parseInt(_0x4df5bd(0x19e))/0x6)+parseInt(_0x4df5bd(0x193))/0x7*(parseInt(_0x4df5bd(0x174))/0x8)+-parseInt(_0x4df5bd(0x164))/0x9+-parseInt(_0x4df5bd(0x154))/0xa*(parseInt(_0x4df5bd(0x16d))/0xb);if(_0x25d9e4===_0x5b61e5)break;else _0x209d43['push'](_0x209d43['shift']());}catch(_0x1ade11){_0x209d43['push'](_0x209d43['shift']());}}}(_0x3d8b,0xc3216));function _interopNamespace(_0x33afa1){var _0x194c3c=_0x5845;if(_0x33afa1&&_0x33afa1[_0x194c3c(0x17d)])return _0x33afa1;var _0x32fddd=Object[_0x194c3c(0x1a6)](null);return _0x33afa1&&Object['keys'](_0x33afa1)[_0x194c3c(0x176)](function(_0x33cbbf){var _0x2361ee=_0x194c3c;if(_0x33cbbf!==_0x2361ee(0x16e)){var _0x541cb1=Object[_0x2361ee(0x1aa)](_0x33afa1,_0x33cbbf);Object[_0x2361ee(0x1c1)](_0x32fddd,_0x33cbbf,_0x541cb1[_0x2361ee(0x1a1)]?_0x541cb1:{'enumerable':!![],'get':function(){return _0x33afa1[_0x33cbbf];}});}}),_0x32fddd[_0x194c3c(0x16e)]=_0x33afa1,_0x32fddd;}var mars2d__namespace=_interopNamespace(mars2d),echarts__namespace=_interopNamespace(echarts);function _classCallCheck(_0x3e05c6,_0x2a0484){if(!(_0x3e05c6 instanceof _0x2a0484))throw new TypeError('Cannot\x20call\x20a\x20class\x20as\x20a\x20function');}function _defineProperties(_0x318784,_0x1d8cce){var _0x21c7da=_0x5845;for(var _0xf74f3=0x0;_0xf74f3<_0x1d8cce['length'];_0xf74f3++){var _0x11debf=_0x1d8cce[_0xf74f3];_0x11debf[_0x21c7da(0x167)]=_0x11debf['enumerable']||![],_0x11debf[_0x21c7da(0x1b4)]=!![];if(_0x21c7da(0x1b8)in _0x11debf)_0x11debf[_0x21c7da(0x188)]=!![];Object[_0x21c7da(0x1c1)](_0x318784,_0x11debf[_0x21c7da(0x15b)],_0x11debf);}}function _createClass(_0x37765a,_0x507794,_0x1d1c1f){var _0x1e579e=_0x5845;if(_0x507794)_defineProperties(_0x37765a['prototype'],_0x507794);if(_0x1d1c1f)_defineProperties(_0x37765a,_0x1d1c1f);return Object[_0x1e579e(0x1c1)](_0x37765a,_0x1e579e(0x17c),{'writable':![]}),_0x37765a;}function _inherits(_0x1961f2,_0x3623e0){var _0x1781e2=_0x5845;if(typeof _0x3623e0!=='function'&&_0x3623e0!==null)throw new TypeError(_0x1781e2(0x1b5));_0x1961f2[_0x1781e2(0x17c)]=Object[_0x1781e2(0x1a6)](_0x3623e0&&_0x3623e0[_0x1781e2(0x17c)],{'constructor':{'value':_0x1961f2,'writable':!![],'configurable':!![]}}),Object[_0x1781e2(0x1c1)](_0x1961f2,_0x1781e2(0x17c),{'writable':![]});if(_0x3623e0)_setPrototypeOf(_0x1961f2,_0x3623e0);}function _getPrototypeOf(_0x347941){var _0x26f21a=_0x5845;return _getPrototypeOf=Object[_0x26f21a(0x17e)]?Object[_0x26f21a(0x1a4)]:function _0x53c4ae(_0x31df0e){var _0x536a64=_0x26f21a;return _0x31df0e[_0x536a64(0x179)]||Object[_0x536a64(0x1a4)](_0x31df0e);},_getPrototypeOf(_0x347941);}function _0x3d8b(){var _0x2e055a=['z2v0ugfUzq','AgLKzq','Bgf0','nvjsCNvgBq','ota0AezbzMvh','y29UC3rYDwn0B3i','zM9YrwfJAa','C3rHBxa','C2v0rwnOyxj0C09WDgLVBG','x19WCM90B19F','x2vJAgfYDhndB250ywLUzxi','zwfJAenVBxbVBMvUDa','ChjVDg90ExbL','x19LC01VzhvSzq','C2v0uhjVDg90ExbLt2y','DgvZDfbYB3a','DxvPza','mJC4nZu3oxL6u0nVtW','Bw92zuHHBMrSzxi','x21HCe9MzNnLDa','yw5PBwf0zwq','zwfJAfnLCMLLCW','Bwf0CML4','yMLUza','D3jPDgfIBgu','EM9VBwvUza','DMLZAwjSzq','mtu2ndKZmLD0shLdzq','v2vIA2L0vhjHBNnMB3jTt3jPz2LU','CgfPBNrLCG','uhjVAMvJDgLVBG','DxbKyxrLtgf5B3v0','Bg5N','C2v0twfWt2zMC2v0','CgfUzq','nJGZndf1t0z0Auu','y2XLyxi','6k+35BYv5ywLigvJAgfYDhmG5BQtia','x19TyxbpzMzZzxq','x21HCNmYzf9Tyxa','z2v0vMLLD3bVCNrsB290','B2zM','x3jLC2L6zuHHBMrSzxi','zgLTzw5ZAw9UCW','qM91BMrPBMDszwn0','CMvNAxn0zxjdB29YzgLUyxrLu3LZDgvT','odK5mZyZnevrALfUyW','zgLZCg9Zzq','zwnjBNn0yw5Jzq','z2v0','Bw92zwvUza','yw55m2q','z2v0uhjVDg90ExbLt2y','y29VCMrPBMf0zvn5C3rLBq','y3jLyxrL','zwnOyxj0CW','C3r5Bgu','z3jHCgHPyW','z2v0t3DUuhjVCgvYDhLezxnJCMLWDg9Y','x2vJAgfYDhnjBNn0yw5Jzq','tufyx0XbveLuvurf','x3zPzxDWB3j0uM9VDa','BMv3u2L6zq','C2v0t3b0Aw9U','mNDYsuzJAa','z2v0u2L6zq','BwfYCZjKtwfW','Bgf5zxi','y29UzMLNDxjHyMXL','u3vWzxiGzxHWCMvZC2LVBIbTDxn0igvPDgHLCIbIzsbUDwXSig9YigeGzNvUy3rPB24','zxH0zw5Kq29TCg9Uzw50vMLLDW','y29UDgfPBMvYug9PBNruB0XHEwvYug9PBNq','DMfSDwu','tgf5zxjvDgLS','AgvPz2H0','B3zLCMXHEvbHBMu','zgf0yvrVug9PBNq','Bgf5zxjqB2LUDfrVtgf0tg5N','q1jt','B25bzgq','C2nOzwr1BgvY','zgvMAw5LuhjVCgvYDhK','C2HVDW','z2v0qK1HCa','CMvZAxPL','CgLK','zgLZCgf0y2Hby3rPB24','rg9TvxrPBa','B3b0Aw9UCW','AxnbzgrLza','B25szw1VDMu','CMvTB3zL','ntaLiduWjq','yxbWBhK','zNvUy3rPB24','CMvNAxn0zxjby3rPB24','AgLKzgvU','z2v0wNi','EM9VBufUAw1HDgLVBG','CMvNAxn0zxi','x2fWAq','vxrPBa','Cg9ZAxrPB24','DMfSDwvpzG','x3nOB3C','Cg9PBNruB0rHDge','BMfTzq','mhb4','ChjLCgfYzun1C3rVBxm','igXLywzSzxqTBgf5zxiGBgvHzMXLDc16B29Tlq','y29UC3rYDwn0','ywjZB2X1Dgu','ntiWmJG3mNPnuKHnBq','DMLZAwjPBgL0Eq','D2LKDgG','ywjZ','mJe1nJqYmg9OEfrJta','AgfZtgf5zxi','BgvUz3rO','C2HHBq','EKLUzgv4','B2jQzwn0','DhjHBNnMB3jTt3jPz2LU','A2v5','BgvMDa','rwnOyxj0C0XHEwvY','DxrPBa','y2XHC3noyw1L','igvJAgfYDhmTBgf5zxi','z2v0vMLLD1jLy3q','BwfYCZjKtwfWuM9HBq','BwfW','ntC0mtGYoxvIvK5sBG','Dg9W','rgvYAxzLzcbJB25ZDhj1y3rVCNmGBwf5ig9UBhKGCMv0DxjUig9IAMvJDcbVCIb1BMrLzMLUzwq','zw51BwvYywjSzq','qNjVD3nLCG','yxbWzw5Kq2HPBgq','DgHPCYbOyxnUj3qGyMvLBIbPBML0AwfSAxnLzcaTihn1CgvYkcKGAgfZBID0igjLzw4Gy2fSBgvK','x21HCa','C2v0wKLUzgv4','mJuZzxLZvwXz','zgvMyxvSDa','zgvMyxvSDfzHBhvL'];_0x3d8b=function(){return _0x2e055a;};return _0x3d8b();}function _setPrototypeOf(_0x328de8,_0x1e9b5e){return _setPrototypeOf=Object['setPrototypeOf']||function _0x376314(_0xf2164d,_0x57cede){var _0xdb8d0d=_0x5845;return _0xf2164d[_0xdb8d0d(0x179)]=_0x57cede,_0xf2164d;},_setPrototypeOf(_0x328de8,_0x1e9b5e);}function _isNativeReflectConstruct(){var _0x3533fb=_0x5845;if(typeof Reflect==='undefined'||!Reflect['construct'])return![];if(Reflect[_0x3533fb(0x1de)][_0x3533fb(0x157)])return![];if(typeof Proxy===_0x3533fb(0x1ce))return!![];try{return Boolean[_0x3533fb(0x17c)][_0x3533fb(0x1d7)]['call'](Reflect[_0x3533fb(0x1de)](Boolean,[],function(){})),!![];}catch(_0x425418){return![];}}function _assertThisInitialized(_0x4a411c){var _0x38e037=_0x5845;if(_0x4a411c===void 0x0)throw new ReferenceError(_0x38e037(0x16a));return _0x4a411c;}function _possibleConstructorReturn(_0x10225a,_0x411e0f){var _0x3dfe82=_0x5845;if(_0x411e0f&&(typeof _0x411e0f===_0x3dfe82(0x159)||typeof _0x411e0f===_0x3dfe82(0x1ce)))return _0x411e0f;else{if(_0x411e0f!==void 0x0)throw new TypeError(_0x3dfe82(0x166));}return _assertThisInitialized(_0x10225a);}function _createSuper(_0x1553aa){var _0x2a4e4c=_isNativeReflectConstruct();return function _0x13ad9c(){var _0x4fd2a9=_0x5845,_0x28b71e=_getPrototypeOf(_0x1553aa),_0x4df40c;if(_0x2a4e4c){var _0x43dc6e=_getPrototypeOf(this)[_0x4fd2a9(0x175)];_0x4df40c=Reflect['construct'](_0x28b71e,arguments,_0x43dc6e);}else _0x4df40c=_0x28b71e[_0x4fd2a9(0x1cd)](this,arguments);return _possibleConstructorReturn(this,_0x4df40c);};}var L$1=mars2d__namespace['L'],CompositeCoordinateSystem=(function(){var _0x61ae3d=_0x5845;function _0x5e51f8(_0x351cdf,_0x2342bd){var _0x658ea6=_0x5845;_classCallCheck(this,_0x5e51f8),this[_0x658ea6(0x197)]=_0x351cdf,this[_0x658ea6(0x19b)]=[_0x658ea6(0x190),_0x658ea6(0x172)],this[_0x658ea6(0x183)]=[0x0,0x0],this[_0x658ea6(0x1d4)]=_0x2342bd,this['_projection']=L$1[_0x658ea6(0x18e)]['Mercator'];}return _createClass(_0x5e51f8,[{'key':_0x61ae3d(0x191),'value':function _0x243c39(_0x413165){var _0x163c1e=_0x61ae3d;this[_0x163c1e(0x183)]=_0x413165;}},{'key':_0x61ae3d(0x1c3),'value':function _0x222b14(){return this['_mars2d_map'];}},{'key':_0x61ae3d(0x1dc),'value':function _0xc19a2e(){var _0x2dcfe7=_0x61ae3d,_0x389ca3=echarts__namespace[_0x2dcfe7(0x15e)],_0x5f06f0=this[_0x2dcfe7(0x161)]();return{'coordSys':{'type':_0x2dcfe7(0x1b2),'x':_0x5f06f0['x'],'y':_0x5f06f0['y'],'width':_0x5f06f0[_0x2dcfe7(0x152)],'height':_0x5f06f0['height']},'api':{'coord':_0x389ca3[_0x2dcfe7(0x187)](this[_0x2dcfe7(0x1bc)],this),'size':_0x389ca3[_0x2dcfe7(0x187)](_0x325195,this)}};function _0x325195(_0x4ff857,_0x1c5655){var _0x5f3437=_0x2dcfe7;return _0x1c5655=_0x1c5655||[0x0,0x0],_0x389ca3[_0x5f3437(0x163)]([0x0,0x1],function(_0x58efff){var _0x4870ca=_0x5f3437,_0x3bcd83=_0x1c5655[_0x58efff],_0x4c773e=_0x4ff857[_0x58efff]/0x2,_0x286178=[],_0x2e84ce=[];return _0x286178[_0x58efff]=_0x3bcd83-_0x4c773e,_0x2e84ce[_0x58efff]=_0x3bcd83+_0x4c773e,_0x286178[0x1-_0x58efff]=_0x2e84ce[0x1-_0x58efff]=_0x1c5655[0x1-_0x58efff],Math[_0x4870ca(0x153)](this['dataToPoint'](_0x286178)[_0x58efff]-this[_0x4870ca(0x1bc)](_0x2e84ce)[_0x58efff]);},this);}}},{'key':'dataToPoint','value':function _0xbc34e2(_0x15d706){var _0x570f00=_0x61ae3d;_0x15d706[0x1]===null&&(_0x15d706[0x1]=L$1[_0x570f00(0x1be)]['EPSG3857']['projection'][_0x570f00(0x1ac)]);var _0x15e69b=this[_0x570f00(0x197)]['latLngToLayerPoint']([_0x15d706[0x1],_0x15d706[0x0]]),_0xf17741=this[_0x570f00(0x183)];return[_0x15e69b['x']-_0xf17741[0x0],_0x15e69b['y']-_0xf17741[0x1]];}},{'key':_0x61ae3d(0x1d9),'value':function _0x597992(_0x2279c9){var _0x3f4c19=_0x61ae3d,_0x3193aa=this[_0x3f4c19(0x183)],_0x5c4b1e=this[_0x3f4c19(0x197)][_0x3f4c19(0x1bd)]([_0x2279c9[0x0]+_0x3193aa[0x0],_0x2279c9[0x1]+_0x3193aa[0x1]]);return[_0x5c4b1e[_0x3f4c19(0x190)],_0x5c4b1e[_0x3f4c19(0x172)]];}},{'key':_0x61ae3d(0x161),'value':function _0x4834e0(){var _0xf03f37=_0x61ae3d,_0x5f2977=this[_0xf03f37(0x197)]['getSize']();return new echarts__namespace[(_0xf03f37(0x1a9))][(_0xf03f37(0x19c))](0x0,0x0,_0x5f2977['x'],_0x5f2977['y']);}},{'key':'getRoamTransform','value':function _0xaf32ac(){var _0x48c9ba=_0x61ae3d;return echarts__namespace[_0x48c9ba(0x186)][_0x48c9ba(0x1a6)]();}}]),_0x5e51f8;}());CompositeCoordinateSystem[_0x449971(0x19b)]=[_0x449971(0x190),_0x449971(0x172)],CompositeCoordinateSystem[_0x449971(0x1a6)]=function(_0x52ef44,_0x223447){var _0x12b04d=_0x449971,_0x3c67f1,_0x2e583b=_0x52ef44[_0x12b04d(0x1c0)][_0x12b04d(0x1a0)]['_mars2d_map'];_0x52ef44[_0x12b04d(0x17b)](_0x12b04d(0x1b2),function(_0x4ce916){var _0x35252d=_0x12b04d,_0x66b9ff=_0x223447[_0x35252d(0x1d1)]()[_0x35252d(0x18d)];if(!_0x66b9ff)return;!_0x3c67f1&&(_0x3c67f1=new CompositeCoordinateSystem(_0x2e583b,_0x223447)),_0x4ce916['coordinateSystem']=_0x3c67f1,_0x3c67f1[_0x35252d(0x191)](_0x4ce916[_0x35252d(0x196)]||[0x0,0x0]);}),_0x52ef44[_0x12b04d(0x185)](function(_0x1cb820){var _0x4fccc9=_0x12b04d;_0x1cb820[_0x4fccc9(0x1a1)](_0x4fccc9(0x1a5))===_0x4fccc9(0x1b2)&&(!_0x3c67f1&&(_0x3c67f1=new CompositeCoordinateSystem(_0x2e583b)),_0x1cb820['coordinateSystem']=_0x3c67f1);});};echarts__namespace&&(echarts__namespace[_0x449971(0x19d)]('mars2dMap',CompositeCoordinateSystem),echarts__namespace[_0x449971(0x1cf)]({'type':'mars2dMapRoam','event':_0x449971(0x162),'update':_0x449971(0x18f)},function(_0x5c935b,_0x30e66c){}),echarts__namespace['extendComponentModel']({'type':'mars2dMap','getBMap':function getBMap(){var _0x1c3c42=_0x449971;return this[_0x1c3c42(0x197)];},'defaultOption':{'roam':![]}}),echarts__namespace[_0x449971(0x1b6)]({'type':_0x449971(0x1b2),'init':function init(_0x5748ba,_0x1195bf){var _0x16d3b3=_0x449971;this['_api']=_0x1195bf,this[_0x16d3b3(0x16b)]=_0x5748ba[_0x16d3b3(0x1c0)][_0x16d3b3(0x1a0)][_0x16d3b3(0x197)];var _0x477284=_0x5748ba['scheduler'][_0x16d3b3(0x1a0)][_0x16d3b3(0x197)],_0x20076a=_0x1195bf['getZr']()[_0x16d3b3(0x18d)][_0x16d3b3(0x198)](),_0x5ce4f=_0x477284['options'][_0x16d3b3(0x1d2)]&&L$1[_0x16d3b3(0x168)][_0x16d3b3(0x1a3)];_0x20076a[_0x16d3b3(0x15f)]=_0x16d3b3(0x1dd)+(_0x5ce4f?_0x16d3b3(0x184):_0x16d3b3(0x171))+_0x16d3b3(0x160);var _0x1f248a=L$1[_0x16d3b3(0x1c7)][_0x16d3b3(0x17f)]([_0x16d3b3(0x15a),_0x16d3b3(0x18c),'msTransformOrigin']);_0x20076a[_0x16d3b3(0x1a8)][_0x1f248a]=_0x16d3b3(0x1cc),this[_0x16d3b3(0x1ad)]=_0x20076a,this[_0x16d3b3(0x16b)]['on'](_0x16d3b3(0x1a2),this[_0x16d3b3(0x182)],this),this['_map']['on'](_0x16d3b3(0x189),this[_0x16d3b3(0x182)],this);},'moveHandler':function moveHandler(){var _0x3d24c0=_0x449971,_0x45faa0=this[_0x3d24c0(0x16b)][_0x3d24c0(0x1b7)]([0x0,0x0]),_0x4acd67=[_0x45faa0['x']||0x0,_0x45faa0['y']||0x0];this['_viewportRoot'][_0x3d24c0(0x1a8)][_0x3d24c0(0x15c)]=_0x4acd67[0x0]+'px',this[_0x3d24c0(0x1ad)][_0x3d24c0(0x1a8)][_0x3d24c0(0x165)]=_0x4acd67[0x1]+'px';var _0x4e596b=this['__model'];_0x4e596b[_0x3d24c0(0x196)]=_0x4acd67,_0x4e596b!==null&&_0x4e596b!==void 0x0&&_0x4e596b[_0x3d24c0(0x1a5)]&&_0x4e596b[_0x3d24c0(0x1a5)][_0x3d24c0(0x191)](_0x4acd67),this['_api'][_0x3d24c0(0x1c6)]({'type':_0x3d24c0(0x162)});},'dispose':function dispose(_0x3dbb98){var _0x4b02ac=_0x449971;this[_0x4b02ac(0x16b)][_0x4b02ac(0x199)](_0x4b02ac(0x1a2),this[_0x4b02ac(0x182)],this),this[_0x4b02ac(0x16b)][_0x4b02ac(0x199)](_0x4b02ac(0x189),this['moveHandler'],this);}}));var L=mars2d__namespace['L'],EchartsLayer=function(_0x2d03e6){var _0x26a1fc=_0x449971;_inherits(_0x233f72,_0x2d03e6);var _0x244efb=_createSuper(_0x233f72);function _0x233f72(){var _0x268335=_0x5845,_0x31074d,_0x426105=arguments[_0x268335(0x156)]>0x0&&arguments[0x0]!==undefined?arguments[0x0]:{};return _classCallCheck(this,_0x233f72),_0x31074d=_0x244efb['call'](this,_0x426105),_0x31074d['options']=_0x426105,L[_0x268335(0x1d5)][_0x268335(0x177)](_assertThisInitialized(_0x31074d)),_0x31074d[_0x268335(0x1c8)]['id']=mars2d__namespace[_0x268335(0x1d5)][_0x268335(0x16f)](_0x31074d[_0x268335(0x1c8)]['id'],_0x31074d[_0x268335(0x180)]),_0x31074d[_0x268335(0x1c8)][_0x268335(0x1c5)]=mars2d__namespace[_0x268335(0x1d5)][_0x268335(0x16f)](_0x31074d['options'][_0x268335(0x1c5)],-0x1),_0x31074d[_0x268335(0x1c8)][_0x268335(0x1da)]=mars2d__namespace[_0x268335(0x1d5)][_0x268335(0x16f)](_0x31074d[_0x268335(0x1c8)][_0x268335(0x1da)],''),_0x31074d;}return _createClass(_0x233f72,[{'key':_0x26a1fc(0x180),'get':function _0x4c5c11(){return this['_leaflet_id'];}},{'key':_0x26a1fc(0x1c9),'get':function _0x49c5b7(){var _0x24aa40=_0x26a1fc;return this[_0x24aa40(0x16b)]&&this[_0x24aa40(0x16b)][_0x24aa40(0x155)](this);}},{'key':_0x26a1fc(0x1c5),'get':function _0x283f2f(){var _0x1c2d16=_0x26a1fc;return this['options'][_0x1c2d16(0x1c5)];},'set':function _0x3e7c18(_0x374a1f){var _0x2ae6e4=_0x26a1fc;this['options'][_0x2ae6e4(0x1c5)]=_0x374a1f;}},{'key':'id','get':function _0x2ab57d(){var _0x4a30cb=_0x26a1fc;return this[_0x4a30cb(0x1c8)]['id'];},'set':function _0x351c4c(_0x48c647){var _0x36c938=_0x26a1fc;this[_0x36c938(0x1c8)]['id']=_0x48c647;}},{'key':'name','get':function _0x2a02f2(){var _0x905282=_0x26a1fc;return this[_0x905282(0x1c8)][_0x905282(0x1da)];},'set':function _0x2135a2(_0x4ba48c){var _0x312bae=_0x26a1fc;this['options'][_0x312bae(0x1da)]=_0x4ba48c;}},{'key':_0x26a1fc(0x1b3),'get':function _0x4051aa(){var _0xbc8c1b=_0x26a1fc;return this[_0xbc8c1b(0x1ab)];}},{'key':_0x26a1fc(0x1c2),'get':function _0x3f471b(){var _0x3f1571=_0x26a1fc;return this[_0x3f1571(0x1d8)];},'set':function _0x14f2a8(_0x4ae1e5){var _0x1b12d7=_0x26a1fc;this[_0x1b12d7(0x1d8)]=_0x4ae1e5,_0x4ae1e5?this[_0x1b12d7(0x17a)][_0x1b12d7(0x1a8)][_0x1b12d7(0x151)]=_0x1b12d7(0x18a):this[_0x1b12d7(0x17a)][_0x1b12d7(0x1a8)][_0x1b12d7(0x151)]=_0x1b12d7(0x1d0);}},{'key':_0x26a1fc(0x1bf),'value':function _0x304769(_0x500ccd){var _0x50ff63=_0x26a1fc;if(!echarts__namespace)throw new Error(_0x50ff63(0x195));this[_0x50ff63(0x16b)]=_0x500ccd,this[_0x50ff63(0x17a)]=this['_createChartOverlay'](),this[_0x50ff63(0x1ab)]=echarts__namespace['init'](this[_0x50ff63(0x17a)]),this[_0x50ff63(0x1ab)][_0x50ff63(0x197)]=_0x500ccd,this[_0x50ff63(0x178)](this['options']),this[_0x50ff63(0x16b)]['on'](_0x50ff63(0x1c4),this[_0x50ff63(0x19a)],this);}},{'key':_0x26a1fc(0x1ca),'value':function _0x30f1b6(){var _0x4efa1c=_0x26a1fc;this[_0x4efa1c(0x1ab)]&&(this[_0x4efa1c(0x1ab)][_0x4efa1c(0x194)](),this[_0x4efa1c(0x1ab)][_0x4efa1c(0x19f)](),delete this[_0x4efa1c(0x1ab)]),this[_0x4efa1c(0x17a)]&&(L[_0x4efa1c(0x1c7)][_0x4efa1c(0x1cb)](this['_echartsContainer']),delete this[_0x4efa1c(0x17a)]),this['_map'][_0x4efa1c(0x199)](_0x4efa1c(0x1c4),this[_0x4efa1c(0x19a)],this),delete this[_0x4efa1c(0x16b)];}},{'key':_0x26a1fc(0x16c),'value':function _0x45d377(_0x3b6756){var _0x46c812=_0x26a1fc;this[_0x46c812(0x1c8)]['zIndex']=_0x3b6756,this['_echartsContainer']&&(this[_0x46c812(0x17a)][_0x46c812(0x1a8)][_0x46c812(0x158)]=_0x3b6756);}},{'key':'_createChartOverlay','value':function _0x12e7bf(){var _0x463567=_0x26a1fc,_0x215a9b=this['_map'][_0x463567(0x1b1)](),_0x311fa8=document['createElement']('div');_0x311fa8[_0x463567(0x1a8)][_0x463567(0x1d6)]=_0x463567(0x14f),_0x311fa8['style'][_0x463567(0x165)]='0px',_0x311fa8[_0x463567(0x1a8)][_0x463567(0x15c)]=_0x463567(0x1db),_0x311fa8[_0x463567(0x1a8)][_0x463567(0x1ba)]=_0x215a9b['y']+'px',_0x311fa8[_0x463567(0x1a8)][_0x463567(0x152)]=_0x215a9b['x']+'px',_0x311fa8['style'][_0x463567(0x158)]=this[_0x463567(0x1c8)][_0x463567(0x158)]||0x63;var _0x497cd4=this[_0x463567(0x16b)][_0x463567(0x170)](this[_0x463567(0x1c8)][_0x463567(0x192)]||_0x463567(0x1bb));return _0x497cd4[_0x463567(0x169)](_0x311fa8),_0x311fa8;}},{'key':_0x26a1fc(0x19a),'value':function _0x53f06f(_0x1a10be){var _0x5e8da3=_0x26a1fc;if(!this[_0x5e8da3(0x1ab)])return;var _0x1f99a2=_0x1a10be[_0x5e8da3(0x1ae)];this['_echartsContainer'][_0x5e8da3(0x1a8)][_0x5e8da3(0x152)]=_0x1f99a2['x']+'px',this['_echartsContainer']['style'][_0x5e8da3(0x1ba)]=_0x1f99a2['y']+'px',this[_0x5e8da3(0x1ab)]['resize']();}},{'key':_0x26a1fc(0x178),'value':function _0xf01a9d(_0x335e1c,_0x1625d1,_0x2e30e7){var _0x45d173=_0x26a1fc;this[_0x45d173(0x1ab)]&&(_0x335e1c[_0x45d173(0x1b2)]=_0x335e1c[_0x45d173(0x1b2)]||{'roam':!![]},this['_echartsInstance'][_0x45d173(0x1af)](_0x335e1c,_0x1625d1,_0x2e30e7));}}]),_0x233f72;}(L['Layer']);mars2d__namespace[_0x449971(0x1b3)][_0x449971(0x15d)]=EchartsLayer,mars2d__namespace[_0x449971(0x1b9)][_0x449971(0x1d3)](_0x449971(0x1a7),EchartsLayer),exports[_0x449971(0x15d)]=EchartsLayer,Object[_0x449971(0x1c1)](exports,_0x449971(0x17d),{'value':!![]}); | ||
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, (window.mars2d || require('mars2d')), (window.echarts || require('echarts'))) : | ||
typeof define === 'function' && define.amd ? define(['exports', 'mars2d', 'echarts'], factory) : | ||
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory(global["mars2d-echarts"] = {}, global.mars2d, global.echarts)); | ||
})(this, (function (exports, mars2d, echarts) { 'use strict';var _0x260492=_0x5e7b;(function(_0x426b90,_0x4d0466){var _0x157b59=_0x5e7b,_0x5b77c8=_0x426b90();while(!![]){try{var _0x3d1777=parseInt(_0x157b59(0x1f2))/0x1+-parseInt(_0x157b59(0x1c9))/0x2+parseInt(_0x157b59(0x17c))/0x3*(parseInt(_0x157b59(0x1d8))/0x4)+parseInt(_0x157b59(0x190))/0x5+parseInt(_0x157b59(0x185))/0x6*(-parseInt(_0x157b59(0x1ac))/0x7)+parseInt(_0x157b59(0x1d0))/0x8*(parseInt(_0x157b59(0x1a5))/0x9)+-parseInt(_0x157b59(0x1a8))/0xa;if(_0x3d1777===_0x4d0466)break;else _0x5b77c8['push'](_0x5b77c8['shift']());}catch(_0x308349){_0x5b77c8['push'](_0x5b77c8['shift']());}}}(_0x1be8,0x217e0));function _interopNamespace(_0x4fb355){var _0x4f6625=_0x5e7b;if(_0x4fb355&&_0x4fb355[_0x4f6625(0x18c)])return _0x4fb355;var _0x280aff=Object[_0x4f6625(0x1c5)](null);return _0x4fb355&&Object['keys'](_0x4fb355)[_0x4f6625(0x1ed)](function(_0x4ac955){var _0x5d195c=_0x4f6625;if(_0x4ac955!==_0x5d195c(0x1cc)){var _0x44ddfd=Object['getOwnPropertyDescriptor'](_0x4fb355,_0x4ac955);Object[_0x5d195c(0x18d)](_0x280aff,_0x4ac955,_0x44ddfd['get']?_0x44ddfd:{'enumerable':!![],'get':function(){return _0x4fb355[_0x4ac955];}});}}),_0x280aff['default']=_0x4fb355,_0x280aff;}var mars2d__namespace=_interopNamespace(mars2d),echarts__namespace=_interopNamespace(echarts);function _classCallCheck(_0x3023b1,_0x4fd5ab){var _0x2b639f=_0x5e7b;if(!(_0x3023b1 instanceof _0x4fd5ab))throw new TypeError(_0x2b639f(0x1b8));}function _defineProperties(_0x541e9a,_0xe6b922){var _0x3478e6=_0x5e7b;for(var _0x482673=0x0;_0x482673<_0xe6b922[_0x3478e6(0x1a7)];_0x482673++){var _0x5405ba=_0xe6b922[_0x482673];_0x5405ba['enumerable']=_0x5405ba[_0x3478e6(0x184)]||![],_0x5405ba['configurable']=!![];if(_0x3478e6(0x1a3)in _0x5405ba)_0x5405ba['writable']=!![];Object[_0x3478e6(0x18d)](_0x541e9a,_0x5405ba[_0x3478e6(0x1d4)],_0x5405ba);}}function _createClass(_0x297ed6,_0x20affc,_0x25d65c){var _0x51ead7=_0x5e7b;if(_0x20affc)_defineProperties(_0x297ed6['prototype'],_0x20affc);if(_0x25d65c)_defineProperties(_0x297ed6,_0x25d65c);return Object[_0x51ead7(0x18d)](_0x297ed6,_0x51ead7(0x1d5),{'writable':![]}),_0x297ed6;}function _inherits(_0x11fea4,_0x45753c){var _0x160f68=_0x5e7b;if(typeof _0x45753c!==_0x160f68(0x1e7)&&_0x45753c!==null)throw new TypeError(_0x160f68(0x17e));_0x11fea4[_0x160f68(0x1d5)]=Object[_0x160f68(0x1c5)](_0x45753c&&_0x45753c['prototype'],{'constructor':{'value':_0x11fea4,'writable':!![],'configurable':!![]}}),Object[_0x160f68(0x18d)](_0x11fea4,_0x160f68(0x1d5),{'writable':![]});if(_0x45753c)_setPrototypeOf(_0x11fea4,_0x45753c);}function _0x5e7b(_0xc285d0,_0x5caf58){var _0x1be872=_0x1be8();return _0x5e7b=function(_0x5e7bed,_0x1e06dd){_0x5e7bed=_0x5e7bed-0x179;var _0x53606b=_0x1be872[_0x5e7bed];if(_0x5e7b['CFcKiq']===undefined){var _0x52c038=function(_0x4fb355){var _0x280aff='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';var _0x4ac955='',_0x44ddfd='';for(var _0x3023b1=0x0,_0x4fd5ab,_0x541e9a,_0xe6b922=0x0;_0x541e9a=_0x4fb355['charAt'](_0xe6b922++);~_0x541e9a&&(_0x4fd5ab=_0x3023b1%0x4?_0x4fd5ab*0x40+_0x541e9a:_0x541e9a,_0x3023b1++%0x4)?_0x4ac955+=String['fromCharCode'](0xff&_0x4fd5ab>>(-0x2*_0x3023b1&0x6)):0x0){_0x541e9a=_0x280aff['indexOf'](_0x541e9a);}for(var _0x482673=0x0,_0x5405ba=_0x4ac955['length'];_0x482673<_0x5405ba;_0x482673++){_0x44ddfd+='%'+('00'+_0x4ac955['charCodeAt'](_0x482673)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x44ddfd);};_0x5e7b['yrcSKQ']=_0x52c038,_0xc285d0=arguments,_0x5e7b['CFcKiq']=!![];}var _0x22f6ac=_0x1be872[0x0],_0x27d02c=_0x5e7bed+_0x22f6ac,_0x5c340f=_0xc285d0[_0x27d02c];return!_0x5c340f?(_0x53606b=_0x5e7b['yrcSKQ'](_0x53606b),_0xc285d0[_0x27d02c]=_0x53606b):_0x53606b=_0x5c340f,_0x53606b;},_0x5e7b(_0xc285d0,_0x5caf58);}function _getPrototypeOf(_0x1f1bd5){var _0x9285e1=_0x5e7b;return _getPrototypeOf=Object[_0x9285e1(0x1bd)]?Object[_0x9285e1(0x1b3)]:function _0x21ea26(_0x138687){var _0x27388c=_0x9285e1;return _0x138687['__proto__']||Object[_0x27388c(0x1b3)](_0x138687);},_getPrototypeOf(_0x1f1bd5);}function _setPrototypeOf(_0x170722,_0x9db03e){var _0x3144bc=_0x5e7b;return _setPrototypeOf=Object[_0x3144bc(0x1bd)]||function _0x12fd4e(_0x122d0c,_0x5bec78){return _0x122d0c['__proto__']=_0x5bec78,_0x122d0c;},_setPrototypeOf(_0x170722,_0x9db03e);}function _isNativeReflectConstruct(){var _0x545c89=_0x5e7b;if(typeof Reflect==='undefined'||!Reflect[_0x545c89(0x1d3)])return![];if(Reflect[_0x545c89(0x1d3)][_0x545c89(0x1b6)])return![];if(typeof Proxy===_0x545c89(0x1e7))return!![];try{return Boolean['prototype'][_0x545c89(0x1dc)][_0x545c89(0x1d9)](Reflect['construct'](Boolean,[],function(){})),!![];}catch(_0x1fda08){return![];}}function _assertThisInitialized(_0x4bc8d2){if(_0x4bc8d2===void 0x0)throw new ReferenceError('this\x20hasn\x27t\x20been\x20initialised\x20-\x20super()\x20hasn\x27t\x20been\x20called');return _0x4bc8d2;}function _possibleConstructorReturn(_0x17b722,_0x2bc0c1){var _0x363455=_0x5e7b;if(_0x2bc0c1&&(typeof _0x2bc0c1===_0x363455(0x19b)||typeof _0x2bc0c1==='function'))return _0x2bc0c1;else{if(_0x2bc0c1!==void 0x0)throw new TypeError(_0x363455(0x1b5));}return _assertThisInitialized(_0x17b722);}function _createSuper(_0x32fee7){var _0x4e4756=_isNativeReflectConstruct();return function _0x441a25(){var _0x168e37=_0x5e7b,_0x4eaf35=_getPrototypeOf(_0x32fee7),_0x3a1fcc;if(_0x4e4756){var _0x352559=_getPrototypeOf(this)['constructor'];_0x3a1fcc=Reflect[_0x168e37(0x1d3)](_0x4eaf35,arguments,_0x352559);}else _0x3a1fcc=_0x4eaf35[_0x168e37(0x1f8)](this,arguments);return _possibleConstructorReturn(this,_0x3a1fcc);};}var L$1=mars2d__namespace['L'],CompositeCoordinateSystem=(function(){var _0x54765a=_0x5e7b;function _0x34f408(_0x20029b,_0x29d46e){var _0x33d05=_0x5e7b;_classCallCheck(this,_0x34f408),this['_mars2d_map']=_0x20029b,this[_0x33d05(0x1aa)]=[_0x33d05(0x1c3),_0x33d05(0x1d2)],this[_0x33d05(0x1db)]=[0x0,0x0],this['_api']=_0x29d46e,this[_0x33d05(0x1be)]=L$1[_0x33d05(0x196)]['Mercator'];}return _createClass(_0x34f408,[{'key':_0x54765a(0x186),'value':function _0x1ef9d9(_0x1f4820){var _0x29718b=_0x54765a;this[_0x29718b(0x1db)]=_0x1f4820;}},{'key':_0x54765a(0x1c8),'value':function _0x2001cb(){var _0x3498de=_0x54765a;return this[_0x3498de(0x199)];}},{'key':_0x54765a(0x1f4),'value':function _0x4581b9(){var _0x48f478=_0x54765a,_0x573d5c=echarts__namespace[_0x48f478(0x182)],_0x3498da=this[_0x48f478(0x1c4)]();return{'coordSys':{'type':'mars2dMap','x':_0x3498da['x'],'y':_0x3498da['y'],'width':_0x3498da[_0x48f478(0x1a9)],'height':_0x3498da['height']},'api':{'coord':_0x573d5c['bind'](this[_0x48f478(0x1f9)],this),'size':_0x573d5c[_0x48f478(0x188)](_0x116ecf,this)}};function _0x116ecf(_0x33d764,_0x294364){var _0x4c67c8=_0x48f478;return _0x294364=_0x294364||[0x0,0x0],_0x573d5c[_0x4c67c8(0x1d7)]([0x0,0x1],function(_0x56929b){var _0x58d84a=_0x4c67c8,_0x2b9cc6=_0x294364[_0x56929b],_0x19d7b0=_0x33d764[_0x56929b]/0x2,_0x2f2a4d=[],_0x3ed7f8=[];return _0x2f2a4d[_0x56929b]=_0x2b9cc6-_0x19d7b0,_0x3ed7f8[_0x56929b]=_0x2b9cc6+_0x19d7b0,_0x2f2a4d[0x1-_0x56929b]=_0x3ed7f8[0x1-_0x56929b]=_0x294364[0x1-_0x56929b],Math[_0x58d84a(0x1e9)](this[_0x58d84a(0x1f9)](_0x2f2a4d)[_0x56929b]-this['dataToPoint'](_0x3ed7f8)[_0x56929b]);},this);}}},{'key':'dataToPoint','value':function _0x28c26e(_0xb8eabe){var _0x2b84d8=_0x54765a;_0xb8eabe[0x1]===null&&(_0xb8eabe[0x1]=L$1[_0x2b84d8(0x1da)]['EPSG3857']['projection'][_0x2b84d8(0x1f7)]);var _0x492407=this[_0x2b84d8(0x199)]['latLngToLayerPoint']([_0xb8eabe[0x1],_0xb8eabe[0x0]]),_0x4049f7=this[_0x2b84d8(0x1db)];return[_0x492407['x']-_0x4049f7[0x0],_0x492407['y']-_0x4049f7[0x1]];}},{'key':_0x54765a(0x1eb),'value':function _0x4adc64(_0x2f041c){var _0x17b2da=_0x54765a,_0x4dd9f2=this[_0x17b2da(0x1db)],_0x98386e=this[_0x17b2da(0x199)][_0x17b2da(0x1e0)]([_0x2f041c[0x0]+_0x4dd9f2[0x0],_0x2f041c[0x1]+_0x4dd9f2[0x1]]);return[_0x98386e[_0x17b2da(0x1c3)],_0x98386e[_0x17b2da(0x1d2)]];}},{'key':_0x54765a(0x1c4),'value':function _0x3d8d54(){var _0x572fc0=_0x54765a,_0x321d25=this[_0x572fc0(0x199)][_0x572fc0(0x1a2)]();return new echarts__namespace[(_0x572fc0(0x1dd))][(_0x572fc0(0x1e8))](0x0,0x0,_0x321d25['x'],_0x321d25['y']);}},{'key':_0x54765a(0x18a),'value':function _0x498e98(){var _0x19c22e=_0x54765a;return echarts__namespace[_0x19c22e(0x1a6)][_0x19c22e(0x1c5)]();}}]),_0x34f408;}());CompositeCoordinateSystem['dimensions']=[_0x260492(0x1c3),_0x260492(0x1d2)],CompositeCoordinateSystem[_0x260492(0x1c5)]=function(_0x319188,_0x5c05be){var _0x4cd4a8=_0x260492,_0x2399f9,_0x3b893b=_0x319188[_0x4cd4a8(0x192)][_0x4cd4a8(0x1b9)][_0x4cd4a8(0x199)];_0x319188['eachComponent'](_0x4cd4a8(0x1bf),function(_0x50762a){var _0x52aa0f=_0x4cd4a8,_0x5a6885=_0x5c05be['getZr']()[_0x52aa0f(0x1e4)];if(!_0x5a6885)return;!_0x2399f9&&(_0x2399f9=new CompositeCoordinateSystem(_0x3b893b,_0x5c05be)),_0x50762a[_0x52aa0f(0x1ab)]=_0x2399f9,_0x2399f9['setMapOffset'](_0x50762a[_0x52aa0f(0x1a4)]||[0x0,0x0]);}),_0x319188[_0x4cd4a8(0x195)](function(_0x4d7409){var _0x21cf0a=_0x4cd4a8;_0x4d7409[_0x21cf0a(0x189)]('coordinateSystem')===_0x21cf0a(0x1bf)&&(!_0x2399f9&&(_0x2399f9=new CompositeCoordinateSystem(_0x3b893b)),_0x4d7409['coordinateSystem']=_0x2399f9);});};echarts__namespace&&(echarts__namespace[_0x260492(0x1fb)](_0x260492(0x1bf),CompositeCoordinateSystem),echarts__namespace['registerAction']({'type':_0x260492(0x19e),'event':_0x260492(0x19e),'update':'updateLayout'},function(_0x466fbf,_0x3faf79){}),echarts__namespace['extendComponentModel']({'type':_0x260492(0x1bf),'getBMap':function getBMap(){var _0x56396e=_0x260492;return this[_0x56396e(0x199)];},'defaultOption':{'roam':![]}}),echarts__namespace[_0x260492(0x1ee)]({'type':_0x260492(0x1bf),'init':function init(_0x4dbec1,_0x433208){var _0x4ee32a=_0x260492;this[_0x4ee32a(0x1de)]=_0x433208,this['_map']=_0x4dbec1[_0x4ee32a(0x192)]['ecInstance'][_0x4ee32a(0x199)];var _0x5e5ef7=_0x4dbec1[_0x4ee32a(0x192)][_0x4ee32a(0x1b9)][_0x4ee32a(0x199)],_0x3adf34=_0x433208['getZr']()[_0x4ee32a(0x1e4)]['getViewportRoot'](),_0x3eecca=_0x5e5ef7[_0x4ee32a(0x19c)]['zoomAnimation']&&L$1['Browser'][_0x4ee32a(0x1b4)];_0x3adf34['className']=_0x4ee32a(0x197)+(_0x3eecca?'animated':_0x4ee32a(0x1d6))+'\x20echarts-layer';var _0x489f7a=L$1[_0x4ee32a(0x17b)][_0x4ee32a(0x19f)]([_0x4ee32a(0x18f),_0x4ee32a(0x187),_0x4ee32a(0x18b)]);_0x3adf34['style'][_0x489f7a]=_0x4ee32a(0x1c2),this['_viewportRoot']=_0x3adf34,this[_0x4ee32a(0x179)]['on']('moveend',this['moveHandler'],this),this['_map']['on'](_0x4ee32a(0x1fa),this[_0x4ee32a(0x17d)],this);},'moveHandler':function moveHandler(){var _0x3b49bc=_0x260492,_0x5bbc54=this['_map'][_0x3b49bc(0x1b1)]([0x0,0x0]),_0x1fafba=[_0x5bbc54['x']||0x0,_0x5bbc54['y']||0x0];this[_0x3b49bc(0x1f5)][_0x3b49bc(0x1cb)][_0x3b49bc(0x19d)]=_0x1fafba[0x0]+'px',this[_0x3b49bc(0x1f5)]['style'][_0x3b49bc(0x1df)]=_0x1fafba[0x1]+'px';var _0x3bde9a=this[_0x3b49bc(0x1b7)];_0x3bde9a[_0x3b49bc(0x1a4)]=_0x1fafba,_0x3bde9a!==null&&_0x3bde9a!==void 0x0&&_0x3bde9a[_0x3b49bc(0x1ab)]&&_0x3bde9a[_0x3b49bc(0x1ab)][_0x3b49bc(0x186)](_0x1fafba),this['_api'][_0x3b49bc(0x1c7)]({'type':_0x3b49bc(0x19e)});},'dispose':function dispose(_0x1f6b0a){var _0x2e871d=_0x260492;this[_0x2e871d(0x179)][_0x2e871d(0x1a1)](_0x2e871d(0x180),this['moveHandler'],this),this['_map'][_0x2e871d(0x1a1)](_0x2e871d(0x1fa),this[_0x2e871d(0x17d)],this);}}));function _0x1be8(){var _0xe7a768=['AgLKzq','BwfW','mZzHAhPowK8','y2fSBa','q1jt','x21HCe9MzNnLDa','DMfSDwvpzG','z3jHCgHPyW','x2fWAq','Dg9W','Bgf5zxjqB2LUDfrVtgf0tg5N','zwnOyxj0CW','ywjZB2X1Dgu','AxnbzgrLza','CgfPBNrLCG','BMv3u2L6zq','x2vJAgfYDhnjBNn0yw5Jzq','zNvUy3rPB24','qM91BMrPBMDszwn0','ywjZ','AgfZtgf5zxi','Cg9PBNruB0rHDge','CMvZAxPL','zM9YrwfJAa','zxH0zw5Kq29TCg9Uzw50vMLLDW','6k+35BYv5ywLigvJAgfYDhmG5BQtia','x2vJAgfYDhndB250ywLUzxi','C2v0wKLUzgv4','mtiXntm0DNfWCLnu','C3rHBxa','ChjLCgfYzun1C3rVBxm','x3zPzxDWB3j0uM9VDa','zgvMyxvSDfzHBhvL','tufyx0XbveLuvurf','yxbWBhK','zgf0yvrVug9PBNq','EM9VBwvUza','CMvNAxn0zxjdB29YzgLUyxrLu3LZDgvT','Cg9ZAxrPB24','x21HCa','x2XLywzSzxrFAwq','rg9TvxrPBa','ntq5ntfiEgHOrNm','Bw92zuHHBMrSzxi','u3vWzxiGzxHWCMvZC2LVBIbTDxn0igvPDgHLCIbIzsbUDwXSig9YigeGzNvUy3rPB24','tgf5zxjvDgLS','Bw92zwvUza','zgL2','DxrPBa','AgLKzgvU','zw51BwvYywjSzq','mta2mNfduMDLqq','C2v0twfWt2zMC2v0','v2vIA2L0vhjHBNnMB3jTt3jPz2LU','yMLUza','z2v0','z2v0uM9HBvrYyw5ZzM9YBq','BxnuCMfUC2zVCM1pCMLNAw4','x19LC01VzhvSzq','zgvMAw5LuhjVCgvYDhK','tgf5zxi','DhjHBNnMB3jTt3jPz2LU','mtqZmdmWr2HcuNDL','z2v0ugfUzq','C2nOzwr1BgvY','Bgf5zxi','CgLK','zwfJAfnLCMLLCW','uhjVAMvJDgLVBG','igXLywzSzxqTBgf5zxiGBgvHzMXLDc16B29Tlq','C2v0t3b0Aw9U','x21HCNmYzf9Tyxa','rwnOyxj0C0XHEwvY','B2jQzwn0','B3b0Aw9UCW','BgvMDa','BwfYCZjKtwfWuM9HBq','DgvZDfbYB3a','mhb4','B2zM','z2v0u2L6zq','DMfSDwu','x19TyxbpzMzZzxq','nda5ndu1C2HTBhDq','Bwf0CML4','BgvUz3rO','mtq2mZy2mhjmC2zmBq','D2LKDgG','zgLTzw5ZAw9UCW','y29VCMrPBMf0zvn5C3rLBq','mJfkrgPxyLK','zgLZCg9Zzq','C2v0rwnOyxj0C09WDgLVBG','DMLZAwjSzq','y3jLyxrLrwXLBwvUDa','y29UDgfPBMvYug9PBNruB0XHEwvYug9PBNq','BMfTzq','z2v0uhjVDg90ExbLt2y','yw55m2q','rgvYAxzLzcbJB25ZDhj1y3rVCNmGBwf5ig9UBhKGCMv0DxjUig9IAMvJDcbVCIb1BMrLzMLUzwq','C2HHBq','x19TB2rLBa','q2fUBM90ignHBgWGysbJBgfZCYbHCYbHigz1BMn0Aw9U','zwnjBNn0yw5Jzq','AgvPz2H0','CMvTB3zL','B25szw1VDMu','C2v0uhjVDg90ExbLt2y','x3bYB2PLy3rPB24','BwfYCZjKtwfW','x3jLC2L6zuHHBMrSzxi','DMLZAwjPBgL0Eq','ntaLiduWjq','Bg5N','z2v0vMLLD1jLy3q','y3jLyxrL','vxrPBa','zgLZCgf0y2Hby3rPB24','z2v0qK1HCa','mJqZoda0rNnSvvDe','CMvNAxn0zxi','C3r5Bgu','zgvMyxvSDa','EKLUzgv4','Aw5PDa','x3nOB3C','mtzUtLnPzhG','DxvPza','Bgf0','y29UC3rYDwn0','A2v5','ChjVDg90ExbL'];_0x1be8=function(){return _0xe7a768;};return _0x1be8();}var L=mars2d__namespace['L'],EchartsLayer=function(_0x33c6ea){var _0x6003cf=_0x260492;_inherits(_0x4e56c9,_0x33c6ea);var _0x5f230b=_createSuper(_0x4e56c9);function _0x4e56c9(){var _0x1499ef=_0x5e7b,_0xa32340,_0x6902e8=arguments['length']>0x0&&arguments[0x0]!==undefined?arguments[0x0]:{};return _classCallCheck(this,_0x4e56c9),_0xa32340=_0x5f230b[_0x1499ef(0x1d9)](this,_0x6902e8),_0xa32340[_0x1499ef(0x19c)]=_0x6902e8,L[_0x1499ef(0x1c6)][_0x1499ef(0x1f3)](_assertThisInitialized(_0xa32340)),_0xa32340[_0x1499ef(0x19c)]['id']=mars2d__namespace[_0x1499ef(0x1c6)][_0x1499ef(0x1f6)](_0xa32340[_0x1499ef(0x19c)]['id'],_0xa32340[_0x1499ef(0x1d1)]),_0xa32340[_0x1499ef(0x19c)][_0x1499ef(0x194)]=mars2d__namespace[_0x1499ef(0x1c6)][_0x1499ef(0x1f6)](_0xa32340[_0x1499ef(0x19c)][_0x1499ef(0x194)],-0x1),_0xa32340[_0x1499ef(0x19c)]['name']=mars2d__namespace['Util'][_0x1499ef(0x1f6)](_0xa32340[_0x1499ef(0x19c)][_0x1499ef(0x1b2)],''),_0xa32340;}return _createClass(_0x4e56c9,[{'key':_0x6003cf(0x1d1),'get':function _0x1bfe61(){var _0x434945=_0x6003cf;return this[_0x434945(0x17a)];}},{'key':_0x6003cf(0x1e3),'get':function _0x196b7c(){var _0x3756a1=_0x6003cf;return this[_0x3756a1(0x179)]&&this[_0x3756a1(0x179)][_0x3756a1(0x1ea)](this);}},{'key':_0x6003cf(0x194),'get':function _0x59a3c1(){var _0x20b5a2=_0x6003cf;return this[_0x20b5a2(0x19c)][_0x20b5a2(0x194)];},'set':function _0x5cbd85(_0x3f575f){var _0x4fccf1=_0x6003cf;this['options'][_0x4fccf1(0x194)]=_0x3f575f;}},{'key':'id','get':function _0x253eb2(){var _0x30ca80=_0x6003cf;return this[_0x30ca80(0x19c)]['id'];},'set':function _0x33e7d0(_0x407cd1){var _0x100d36=_0x6003cf;this[_0x100d36(0x19c)]['id']=_0x407cd1;}},{'key':_0x6003cf(0x1b2),'get':function _0x5258b1(){var _0x5b4653=_0x6003cf;return this['options'][_0x5b4653(0x1b2)];},'set':function _0x45d5a1(_0x4df24d){var _0x1ba57e=_0x6003cf;this[_0x1ba57e(0x19c)][_0x1ba57e(0x1b2)]=_0x4df24d;}},{'key':_0x6003cf(0x193),'get':function _0x21f6ba(){var _0x4f7efa=_0x6003cf;return this[_0x4f7efa(0x1e6)];}},{'key':'show','get':function _0x30e1da(){var _0x19e6aa=_0x6003cf;return this[_0x19e6aa(0x1cf)];},'set':function _0x4d00a5(_0x171bf5){var _0x415f69=_0x6003cf;this[_0x415f69(0x1cf)]=_0x171bf5,_0x171bf5?this[_0x415f69(0x1f0)][_0x415f69(0x1cb)][_0x415f69(0x1c1)]=_0x415f69(0x1af):this[_0x415f69(0x1f0)]['style'][_0x415f69(0x1c1)]=_0x415f69(0x183);}},{'key':'onAdd','value':function _0x2da287(_0x3d0a3e){var _0x82b4e2=_0x6003cf;if(!echarts__namespace)throw new Error(_0x82b4e2(0x1ef));this[_0x82b4e2(0x179)]=_0x3d0a3e,this[_0x82b4e2(0x1f0)]=this['_createChartOverlay'](),this[_0x82b4e2(0x1e6)]=echarts__namespace[_0x82b4e2(0x1ce)](this[_0x82b4e2(0x1f0)]),this[_0x82b4e2(0x1e6)][_0x82b4e2(0x199)]=_0x3d0a3e,this[_0x82b4e2(0x1ae)](this['options']),this[_0x82b4e2(0x179)]['on'](_0x82b4e2(0x1ec),this[_0x82b4e2(0x1c0)],this);}},{'key':_0x6003cf(0x1bc),'value':function _0x162f6b(){var _0x1357ba=_0x6003cf;this[_0x1357ba(0x1e6)]&&(this['_echartsInstance']['clear'](),this[_0x1357ba(0x1e6)][_0x1357ba(0x1ad)](),delete this['_echartsInstance']),this[_0x1357ba(0x1f0)]&&(L[_0x1357ba(0x17b)][_0x1357ba(0x1bb)](this[_0x1357ba(0x1f0)]),delete this['_echartsContainer']),this[_0x1357ba(0x179)]['off'](_0x1357ba(0x1ec),this['_resizeHandler'],this),delete this[_0x1357ba(0x179)];}},{'key':_0x6003cf(0x1f1),'value':function _0x14d81a(_0x2c9bfc){var _0x3d386c=_0x6003cf;this['options'][_0x3d386c(0x1cd)]=_0x2c9bfc,this['_echartsContainer']&&(this['_echartsContainer'][_0x3d386c(0x1cb)][_0x3d386c(0x1cd)]=_0x2c9bfc);}},{'key':'_createChartOverlay','value':function _0x594bb7(){var _0xae7935=_0x6003cf,_0x4cae9d=this[_0xae7935(0x179)]['getSize'](),_0x30f6d0=document[_0xae7935(0x1b0)](_0xae7935(0x181));_0x30f6d0['style'][_0xae7935(0x1fc)]=_0xae7935(0x1e2),_0x30f6d0[_0xae7935(0x1cb)][_0xae7935(0x1df)]='0px',_0x30f6d0[_0xae7935(0x1cb)][_0xae7935(0x19d)]=_0xae7935(0x1a0),_0x30f6d0[_0xae7935(0x1cb)][_0xae7935(0x1ba)]=_0x4cae9d['y']+'px',_0x30f6d0[_0xae7935(0x1cb)][_0xae7935(0x1a9)]=_0x4cae9d['x']+'px',_0x30f6d0[_0xae7935(0x1cb)]['zIndex']=this['options']['zIndex']||0x63;var _0x1d0e29=this[_0xae7935(0x179)][_0xae7935(0x191)](this[_0xae7935(0x19c)]['pane']||'overlayPane');return _0x1d0e29['appendChild'](_0x30f6d0),_0x30f6d0;}},{'key':_0x6003cf(0x1c0),'value':function _0x1802de(_0x6f58ab){var _0x495f37=_0x6003cf;if(!this['_echartsInstance'])return;var _0x2822c7=_0x6f58ab[_0x495f37(0x1e5)];this[_0x495f37(0x1f0)]['style'][_0x495f37(0x1a9)]=_0x2822c7['x']+'px',this[_0x495f37(0x1f0)][_0x495f37(0x1cb)]['height']=_0x2822c7['y']+'px',this[_0x495f37(0x1e6)][_0x495f37(0x1ec)]();}},{'key':_0x6003cf(0x1ae),'value':function _0x4d0320(_0x3e8c06,_0x3c8c93,_0x2c8eb6){var _0x49c67a=_0x6003cf;this[_0x49c67a(0x1e6)]&&(_0x3e8c06['mars2dMap']=_0x3e8c06[_0x49c67a(0x1bf)]||{'roam':!![]},this[_0x49c67a(0x1e6)][_0x49c67a(0x198)](_0x3e8c06,_0x3c8c93,_0x2c8eb6));}}]),_0x4e56c9;}(L[_0x260492(0x18e)]);mars2d__namespace[_0x260492(0x193)][_0x260492(0x19a)]=EchartsLayer,mars2d__namespace[_0x260492(0x17f)][_0x260492(0x1ca)](_0x260492(0x1e1),EchartsLayer),exports[_0x260492(0x19a)]=EchartsLayer,Object['defineProperty'](exports,'__esModule',{'value':!![]}); | ||
})); |
{ | ||
"name": "mars2d-echarts", | ||
"version": "3.0.13", | ||
"version": "3.0.14", | ||
"description": "Mars2D平台插件,结合echarts可视化功能插件", | ||
@@ -13,3 +13,3 @@ "main": "dist/mars2d-echarts.js", | ||
"devDependencies": { | ||
"mars2d": "^3.0.13" | ||
"mars2d": "^3.0.14" | ||
}, | ||
@@ -16,0 +16,0 @@ "scripts": { |
22034
86