16 lines
13 KiB
JavaScript
16 lines
13 KiB
JavaScript
|
|
/**
|
|||
|
|
* Mars3D平台插件,结合echarts可视化功能插件 mars3d-echarts
|
|||
|
|
*
|
|||
|
|
* 版本信息:v3.10.1
|
|||
|
|
* 编译日期:2025-08-04 14:15
|
|||
|
|
* 版权所有:Copyright by 火星科技 http://mars3d.cn
|
|||
|
|
* 使用单位:山东慧创信息科技有限公司 ,2025-08-04
|
|||
|
|
*/
|
|||
|
|
(function (global, factory) {
|
|||
|
|
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, (window.mars3d || require('mars3d')), (window.echarts || require('echarts'))) :
|
|||
|
|
typeof define === 'function' && define.amd ? define(['exports', 'mars3d', 'echarts'], factory) :
|
|||
|
|
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory(global["mars3d-echarts"] = {}, global.mars3d, global.echarts));
|
|||
|
|
})(this, (function (exports, mars3d, echarts) {
|
|||
|
|
'use strict';const _0x32e9da=_0x1e8b;function _0x1877(){const _0x2ee7db=['0px','1AkpjJp','setEchartsOption','924436ifJFyq','absolute','请引入\x20echarts\x20库\x20','isArray','zIndex','Cartographic','matrix','mars3dMap','4908RfrJrD','series','Rectangle','coordinateSystem','container','dimensions','moveHandler','8WPFniG','clientWidth','469133IiMasG','48EBGUeh','top','51285ooECje','scene','getOwnPropertyDescriptor','options','10rTFxJv','api','scheduler','default','_showHook','style','canvas','lng','getBMap','registerCoordinateSystem','420376gwoUCn','_echartsInstance','DomUtil','off','value','3351293CSQUtF','visible','pointerEvents','mars3dMapRoam','__esModule','fixedHeight','getHeight','get','_mars3d_scene','ellipsoid','forEach','getAttrVal','div','ecInstance','extendComponentView','_api','lat','_setOptionsHook','coords','mars3d-echarts','EchartsLayer','camera','486645IHQbLM','max','63jhrGAN','355749nYFUgd','echarts','_echartsContainer','_map','height'];_0x1877=function(){return _0x2ee7db;};return _0x1877();}(function(_0x4ad05a,_0x4c2cd8){const _0x5f0ea7={_0x2f8eba:0x1f4,_0x53fcc7:0x1f6,_0x154b12:0x208,_0x29ab0a:0x207,_0x3d29bf:0x1d0,_0x1ee60f:0x1ed,_0x575f0b:0x1d5,_0x418f23:0x20a},_0xb2dad6=_0x1e8b,_0x27b266=_0x4ad05a();while(!![]){try{const _0x5c5a90=-parseInt(_0xb2dad6(_0x5f0ea7._0x2f8eba))/0x1*(parseInt(_0xb2dad6(_0x5f0ea7._0x53fcc7))/0x2)+-parseInt(_0xb2dad6(0x1ee))/0x3+parseInt(_0xb2dad6(0x205))/0x4*(-parseInt(_0xb2dad6(0x1eb))/0x5)+-parseInt(_0xb2dad6(_0x5f0ea7._0x154b12))/0x6*(parseInt(_0xb2dad6(_0x5f0ea7._0x29ab0a))/0x7)+-parseInt(_0xb2dad6(_0x5f0ea7._0x3d29bf))/0x8*(-parseInt(_0xb2dad6(_0x5f0ea7._0x1ee60f))/0x9)+-parseInt(_0xb2dad6(0x1c6))/0xa*(parseInt(_0xb2dad6(_0x5f0ea7._0x575f0b))/0xb)+-parseInt(_0xb2dad6(0x1fe))/0xc*(-parseInt(_0xb2dad6(_0x5f0ea7._0x418f23))/0xd);if(_0x5c5a90===_0x4c2cd8)break;else _0x27b266['push'](_0x27b266['shift']());}catch(_0x52dc8f){_0x27b266['push'](_0x27b266['shift']());}}}(_0x1877,0x59204));function _interopNamespace(_0x4ace39){const _0x55790f={_0x4dd672:0x1c4};if(_0x4ace39&&_0x4ace39['__esModule'])return _0x4ace39;var _0x2cae21=Object['create'](null);return _0x4ace39&&Object['keys'](_0x4ace39)['forEach'](function(_0x4674f3){const _0x45e0db=_0x1e8b;if(_0x4674f3!=='default'){var _0x8e6fe9=Object[_0x45e0db(_0x55790f._0x4dd672)](_0x4ace39,_0x4674f3);Object['defineProperty'](_0x2cae21,_0x4674f3,_0x8e6fe9[_0x45e0db(0x1dc)]?_0x8e6fe9:{'enumerable':!![],'get':function(){return _0x4ace39[_0x4674f3];}});}}),_0x2cae21['default']=_0x4ace39,_0x2cae21;}var mars3d__namespace=_interopNamespace(mars3d),echarts__namespace=_interopNamespace(echarts);function _0x1e8b(_0x5253eb,_0x14eb46){const _0x1877d8=_0x1877();return _0x1e8b=function(_0x1e8b7d,_0x25688f){_0x1e8b7d=_0x1e8b7d-0x1c4;let _0x32b087=_0x1877d8[_0x1e8b7d];return _0x32b087;},_0x1e8b(_0x5253eb,_0x14eb46);}const Cesium$1=mars3d__namespace['Cesium'];class CompositeCoordinateSystem{constructor(_0x159e4d,_0x35a620){const _0xb6c209={_0x41e151:0x203},_0x5bb7af=_0x1e8b;this['_mars3d_scene']=_0x159e4d,this[_0x5bb7af(_0xb6c209._0x41e151)]=[_0x5bb7af(0x1cd),'lat'],this['_mapOffset']=[0x0,0x0],this['_api']=_0x35a620;}['setMapOffset'](_0x3f4e5c){this['_mapOffset']=_0x3f4e5c;}[_0x32e9da(0x1ce)](){return this['_mars3d_scene'];}['dataToPoint'](_0x1cb503){const _0x3a8a31={_0x19312d:0x1fb},_0xddba07=_0x32e9da,_0x81be28=this['_mars3d_scene'],_0x407fc0=[NaN,NaN];let _0x37c8b1=_0x81be28['echartsFixedHeight'];_0x81be28['echartsAutoHeight']&&(_0x37c8b1=_0x81be28[_0xddba07(0x1db)](Cesium$1[_0xddba07(_0x3a8a31._0x19312d)]['fromDegrees'](_0x1cb503[0x0],_0x1cb503[0x1])));const _0x164871=Cesium$1['Cartesian3']['fromDegrees'](_0x1cb503[0x0],_0x1cb503[0x1],_0x37c8b1);if(!_0x164871)return _0x407fc0;const _0x12f76e=mars3d__namespace['PointTrans']['toWindowCoordinates'](_0x81be28,_0x164871);if(!_0x12f76e)return _0x407fc0;if(_0x81be28['echartsDepthTest']&&_0x81be28['mode']===Cesium$1['SceneMode']['SCENE3D']){const _0x4b1fd2=new Cesium$1['EllipsoidalOccluder'](_0x81be28['globe'][_0xddba07(0x1de)],_0x81be28[_0xddba07(0x1ea)]['positionWC']),_0x5a27bf=_0x4b1fd2['isPointVisi
|
|||
|
|
}));
|