/** * Mars3D平台插件,结合mapv可视化功能插件 mars3d-mapv * * 版本信息:v3.9.2 * 编译日期:2025-03-03 16:59 * 版权所有:Copyright by 火星科技 http://mars3d.cn * 使用单位:江苏飞睿得科技有限公司 ,2025-03-03 */ (function (global, factory) { typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, (window.mapv || require('mapv')), (window.mars3d || require('mars3d'))) : typeof define === 'function' && define.amd ? define(['exports', 'mapv', 'mars3d'], factory) : (global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory(global["mars3d-mapv"] = {}, global.mapv, global.mars3d)); })(this, (function (exports, mapv, mars3d) { 'use strict';const _0x4eeac3=_0x1af6;(function(_0x413406,_0x36d169){const _0x31e0b3={_0x40c4aa:0x1c3,_0x5b0ad8:0x1e4,_0x2b5e08:0x1f1,_0x28b206:0x1d7,_0x62531c:0x1c7,_0x15b093:0x1d4,_0x34a889:0x1f6},_0x4e16cf=_0x1af6,_0x1827d3=_0x413406();while(!![]){try{const _0x51a7fd=-parseInt(_0x4e16cf(_0x31e0b3._0x40c4aa))/0x1+parseInt(_0x4e16cf(_0x31e0b3._0x5b0ad8))/0x2+parseInt(_0x4e16cf(_0x31e0b3._0x2b5e08))/0x3+parseInt(_0x4e16cf(_0x31e0b3._0x28b206))/0x4*(-parseInt(_0x4e16cf(_0x31e0b3._0x62531c))/0x5)+-parseInt(_0x4e16cf(0x212))/0x6+-parseInt(_0x4e16cf(0x1ca))/0x7+-parseInt(_0x4e16cf(_0x31e0b3._0x15b093))/0x8*(-parseInt(_0x4e16cf(_0x31e0b3._0x34a889))/0x9);if(_0x51a7fd===_0x36d169)break;else _0x1827d3['push'](_0x1827d3['shift']());}catch(_0x23de97){_0x1827d3['push'](_0x1827d3['shift']());}}}(_0x10e7,0x551bc));function _interopNamespace(_0x29fd76){const _0x56aae8={_0x508e53:0x208,_0x12a40a:0x1ce},_0x232ece=_0x1af6;if(_0x29fd76&&_0x29fd76['__esModule'])return _0x29fd76;var _0x4c4969=Object[_0x232ece(_0x56aae8._0x508e53)](null);return _0x29fd76&&Object['keys'](_0x29fd76)[_0x232ece(_0x56aae8._0x12a40a)](function(_0x536ab0){if(_0x536ab0!=='default'){var _0x29f609=Object['getOwnPropertyDescriptor'](_0x29fd76,_0x536ab0);Object['defineProperty'](_0x4c4969,_0x536ab0,_0x29f609['get']?_0x29f609:{'enumerable':!![],'get':function(){return _0x29fd76[_0x536ab0];}});}}),_0x4c4969['default']=_0x29fd76,_0x4c4969;}var mapv__namespace=_interopNamespace(mapv),mars3d__namespace=_interopNamespace(mars3d);function _0x10e7(){const _0x3c1324=['PointTrans','trees','_map','32031vWjzfH','mode','cluster_id','argCheck','processData','isEnabledTime','_reset','auto','positionWC','clusterDataSet','_addedHook','clearData','getContext','display','bind','animator','_coordinates','EventType','create','draw','animatorMovestartEvent','none','mapvFixedHeight','__esModule','_onMoveStartEvent','push','stop','getExtentByGeoJSON','1222236aalXas','canvas','size','left','render','style','_data','steps','scene','initDataRange','length','mouseMove','fromDegrees','getSize','getZoom','clear','_onMapMouseMove','MultiPolygon','globalCompositeOperation','dataSet','initAnimator','pointCountMin','_cache_event','toWindowCoordinates','Polygon','position','50662MZBdyw','pointerEvents','add','__proto__','105jvCdZi','canvasLayer','MapVLayer','4182598yNQtgj','height','getColor','methods','forEach','clearRect','globe','context','SceneMode','xmax','3016xafRIv','_mapVRenderer','init','106848kwaMGR','DataSet','function','off','properties','stopAniamation','mousemove','fixedHeight','updateCallback','removeChild','mars3d-mapv','default','save','497620XwmQrB','unbindEvent','Point','_pointerEvents','destroy','click','animatorMoveendEvent','postRender','update','camera','filter','_onMapClick','animation','512655TIxQUO','options'];_0x10e7=function(){return _0x3c1324;};return _0x10e7();}const Cesium$1=mars3d__namespace['Cesium'],baiduMapLayer=mapv__namespace?mapv__namespace['baiduMapLayer']:null,BaseLayer$1=baiduMapLayer?baiduMapLayer[_0x4eeac3(0x1c6)]:Function;class MapVRenderer extends BaseLayer$1{constructor(_0x229aa8,_0x48a11c,_0x46af7c,_0x406c64){const _0xf04a31={_0x4f413e:0x1f9,_0x48de0c:0x1dc,_0x493147:0x1f0},_0x4a1768=_0x4eeac3;super(_0x229aa8,_0x48a11c,_0x46af7c);if(!BaseLayer$1)return;this['map']=_0x229aa8,this[_0x4a1768(0x1b1)]=_0x229aa8['scene'],this[_0x4a1768(0x1bc)]=_0x48a11c,_0x46af7c=_0x46af7c||{},this['init'](_0x46af7c),this[_0x4a1768(_0xf04a31._0x4f413e)](_0x46af7c),this['initDevicePixelRatio'](),this['canvasLayer']=_0x406c64,this[_0x4a1768(_0xf04a31._0x48de0c)]=!0x1,this[_0x4a1768(_0xf04a31._0x493147)]=_0x46af7c['animation'];}['initDevicePixelRatio'](){this['devicePixelRatio']=window['devicePixelRatio']||0x1;}['addAnimatorEvent'](){}[_0x4eeac3(0x20a)](){const _0x4424a1={_0x36b79c:0x1f2,_0x8fe29a:0x1b0},_0x270837=_0x4eeac3,_0x218ab0=this[_0x270837(_0x4424a1._0x36b79c)]['animation'];this['isEnabledTime']()&&this['animator']&&(this[_0x270837(_0x4424a1._0x8fe29a)]['step']=_0x218ab0['stepsRange']['start']);}[_0x4eeac3(0x1ea)](){const _0x541d41=_0x4eeac3;this[_0x541d41(0x1fb)]()&&this['animator'];}[_0x4eeac3(0x202)](){const _0x4b9f28=_0x4eeac3;return this[_0x4b9f28(0x1c8)]['canvas']['getContext'](this['context']);}[_0x4eeac3(0x1d6)](_0x3a7eeb){const _0x29fb48={_0x2c1d7b:0x1b2,_0x3a00c6:0x1c8,_0x3773df:0x1bd},_0x1411da=_0x4eeac3;this['options']=_0x3a7eeb,this[_0x1411da(_0x29fb48._0x2c1d7b)](_0x3a7eeb),this['context']=this['options']['context']||'2d',Cesium$1['defined'](this['options']['zIndex'])&&this['canvasLayer']&&this[_0x1411da(_0x29fb48._0x3a00c6)]['setZIndex']&&this['canvasLayer']['setZIndex'](this['options']['zIndex']),this[_0x1411da(_0x29fb48._0x3773df)]();}['_canvasUpdate'](_0x53e748){const _0x15377d={_0x29e2ee:0x1b1,_0x593ac5:0x1bb,_0x314a57:0x213,_0x4f3eaf:0x1d1,_0x54afd6:0x1b8,_0x52c826:0x1ee,_0x42c9c4:0x1f2,_0x28cb46:0x1f4,_0x3909cf:0x1be,_0x4db921:0x1db,_0x1959fc:0x1b6,_0xc02112:0x1cc,_0x262dc3:0x1db,_0x535153:0x214,_0x58d74f:0x1fa,_0x2098b8:0x1f3,_0x2bf475:0x1f2,_0x19cb03:0x1df},_0x40540c={_0x4ed8a1:0x20c,_0x18e701:0x1b5,_0x1812f6:0x1c0,_0x3e70d1:0x1f7},_0x3653d7=_0x4eeac3;if(!this['canvasLayer']||this['stopAniamation'])return;const _0x5c25ce=this[_0x3653d7(_0x15377d._0x29e2ee)],_0x2305d7=this[_0x3653d7(0x1f2)]['animation'],_0x5ebb91=this['getContext']();if(this['isEnabledTime']()){if(void 0x0===_0x53e748)return void this['clear'](_0x5ebb91);this['context']==='2d'&&(_0x5ebb91[_0x3653d7(0x1e3)](),_0x5ebb91[_0x3653d7(_0x15377d._0x593ac5)]='destination-out',_0x5ebb91['fillStyle']='rgba(0,\x200,\x200,\x20.1)',_0x5ebb91['fillRect'](0x0,0x0,_0x5ebb91[_0x3653d7(_0x15377d._0x314a57)]['width'],_0x5ebb91['canvas'][_0x3653d7(0x1cb)]),_0x5ebb91['restore']());}else this['clear'](_0x5ebb91);if(this[_0x3653d7(_0x15377d._0x4f3eaf)]==='2d')for(const _0x2acf77 in this['options']){_0x5ebb91[_0x2acf77]=this['options'][_0x2acf77];}else _0x5ebb91[_0x3653d7(_0x15377d._0x54afd6)](_0x5ebb91['COLOR_BUFFER_BIT']);const _0x160714={'transferCoordinate':function(_0x21e820){const _0x2b9b14=_0x3653d7,_0x20bccf=null;let _0x1f6c8c=_0x5c25ce[_0x2b9b14(_0x40540c._0x4ed8a1)];_0x5c25ce['mapvAutoHeight']&&(_0x1f6c8c=_0x5c25ce['getHeight'](Cesium$1['Cartographic']['fromDegrees'](_0x21e820[0x0],_0x21e820[0x1])));const _0x2e9e80=Cesium$1['Cartesian3'][_0x2b9b14(_0x40540c._0x18e701)](_0x21e820[0x0],_0x21e820[0x1],_0x1f6c8c);if(!_0x2e9e80)return _0x20bccf;const _0x258cbf=mars3d__namespace[_0x2b9b14(0x1f3)][_0x2b9b14(_0x40540c._0x1812f6)](_0x5c25ce,_0x2e9e80);if(!_0x258cbf)return _0x20bccf;if(_0x5c25ce['mapvDepthTest']&&_0x5c25ce[_0x2b9b14(_0x40540c._0x3e70d1)]===Cesium$1[_0x2b9b14(0x1d2)]['SCENE3D']){const _0xa8e1a0=new Cesium$1['EllipsoidalOccluder'](_0x5c25ce[_0x2b9b14(0x1d0)]['ellipsoid'],_0x5c25ce[_0x2b9b14(0x1ed)][_0x2b9b14(0x1fe)]),_0x891c5f=_0xa8e1a0['isPointVisible'](_0x2e9e80);if(!_0x891c5f)return _0x20bccf;}return[_0x258cbf['x'],_0x258cbf['y']];}};void 0x0!==_0x53e748&&(_0x160714[_0x3653d7(_0x15377d._0x52c826)]=function(_0x467115){const _0x2c6da8=_0x2305d7['trails']||0xa;return!!(_0x53e748&&_0x467115['time']>_0x53e748-_0x2c6da8&&_0x467115['time']<_0x53e748);});let _0x41fcc9;if(this[_0x3653d7(_0x15377d._0x42c9c4)]['draw']==='cluster'&&(!this['options']['maxClusterZoom']||this['options']['maxClusterZoom']>=this[_0x3653d7(0x1b7)]())){this['map']['getExtent']();const _0x8dc86a=this[_0x3653d7(0x1b7)](),_0x2c81c2=this['supercluster']['getClusters']([-0xb4,-0x5a,0xb4,0x5a],_0x8dc86a);this['pointCountMax']=this['supercluster'][_0x3653d7(_0x15377d._0x28cb46)][_0x8dc86a]['max'],this['pointCountMin']=this['supercluster']['trees'][_0x8dc86a]['min'];let _0xdb6cce={},_0x42fdc3=null,_0x1a6ad0=null;this['pointCountMax']===this[_0x3653d7(_0x15377d._0x3909cf)]?(_0x42fdc3=this['options']['fillStyle'],_0x1a6ad0=this[_0x3653d7(_0x15377d._0x42c9c4)]['minSize']||0x8):_0xdb6cce=new mapv__namespace['utilDataRangeIntensity']({'min':this['pointCountMin'],'max':this['pointCountMax'],'minSize':this['options']['minSize']||0x8,'maxSize':this['options']['maxSize']||0x1e,'gradient':this[_0x3653d7(0x1f2)]['gradient']});for(let _0x55dd83=0x0;_0x55dd83<_0x2c81c2['length'];_0x55dd83++){const _0x115ca2=_0x2c81c2[_0x55dd83];_0x115ca2['properties']&&_0x115ca2[_0x3653d7(_0x15377d._0x4db921)][_0x3653d7(0x1f8)]?(_0x2c81c2[_0x55dd83]['size']=_0x1a6ad0||_0xdb6cce[_0x3653d7(_0x15377d._0x1959fc)](_0x115ca2['properties']['point_count']),_0x2c81c2[_0x55dd83]['fillStyle']=_0x42fdc3||_0xdb6cce[_0x3653d7(_0x15377d._0xc02112)](_0x115ca2[_0x3653d7(_0x15377d._0x262dc3)]['point_count'])):_0x2c81c2[_0x55dd83]['size']=this[_0x3653d7(_0x15377d._0x42c9c4)][_0x3653d7(_0x15377d._0x535153)];}this[_0x3653d7(0x1ff)]['set'](_0x2c81c2),_0x41fcc9=this['clusterDataSet']['get'](_0x160714);}else _0x41fcc9=this[_0x3653d7(0x1bc)]['get'](_0x160714);this[_0x3653d7(_0x15377d._0x58d74f)](_0x41fcc9);this['options']['unit']==='m'&&this['options'][_0x3653d7(0x214)]&&(this['options']['_size']=this['options'][_0x3653d7(0x214)]);const _0x10143c=mars3d__namespace[_0x3653d7(_0x15377d._0x2098b8)][_0x3653d7(0x1c0)](_0x5c25ce,Cesium$1['Cartesian3']['fromDegrees'](0x0,0x0));if(!_0x10143c)return;this['drawContext'](_0x5ebb91,new mapv__namespace[(_0x3653d7(0x1d8))](_0x41fcc9),this['options'],_0x10143c),this[_0x3653d7(_0x15377d._0x2bf475)][_0x3653d7(_0x15377d._0x19cb03)]&&this['options']['updateCallback'](_0x53e748);}['updateData'](_0x5b80d7,_0x278eed){const _0x3264c0=_0x4eeac3;let _0x4af68f=_0x5b80d7;_0x4af68f&&_0x4af68f['get']&&(_0x4af68f=_0x4af68f['get']()),void 0x0!==_0x4af68f&&this[_0x3264c0(0x1bc)]['set'](_0x4af68f),super['update']({'options':_0x278eed});}['addData'](_0xad883e,_0x2eaa1d){const _0x24c54f={_0x7ddb:0x1bc},_0x177959=_0x4eeac3;let _0x491cf6=_0xad883e;_0xad883e&&_0xad883e['get']&&(_0x491cf6=_0xad883e['get']()),this[_0x177959(_0x24c54f._0x7ddb)][_0x177959(0x1c5)](_0x491cf6),this[_0x177959(0x1ec)]({'options':_0x2eaa1d});}['getData'](){const _0x43ad7a=_0x4eeac3;return this[_0x43ad7a(0x1bc)];}['removeData'](_0x478a6a){const _0x215c36={_0x134736:0x1ec},_0x252d5c=_0x4eeac3;if(this['dataSet']){const _0xc649a5=this[_0x252d5c(0x1bc)]['get']({'filter':function(_0x562322){const _0x631444=_0x252d5c;return _0x478a6a==null||typeof _0x478a6a!==_0x631444(0x1d9)||!_0x478a6a(_0x562322);}});this[_0x252d5c(0x1bc)]['set'](_0xc649a5),this[_0x252d5c(_0x215c36._0x134736)]({'options':null});}}[_0x4eeac3(0x201)](){const _0xe1b766=_0x4eeac3;this['dataSet']&&this[_0xe1b766(0x1bc)]['clear'](),this[_0xe1b766(0x1ec)]({'options':null});}['draw'](){const _0x180970=_0x4eeac3;this['canvasLayer'][_0x180970(0x209)]();}['clear'](_0x2617d8){const _0x4d192c={_0x526d2b:0x1cf,_0x523865:0x213},_0x21c5de=_0x4eeac3;_0x2617d8&&_0x2617d8[_0x21c5de(_0x4d192c._0x526d2b)]&&_0x2617d8['clearRect'](0x0,0x0,_0x2617d8[_0x21c5de(0x213)]['width'],_0x2617d8[_0x21c5de(_0x4d192c._0x523865)]['height']);}['getZoom'](){return this['map']['level'];}[_0x4eeac3(0x1e8)](){const _0x49a482=_0x4eeac3;this['clear'](this['getContext']()),this[_0x49a482(0x201)](),this[_0x49a482(0x205)]&&this['animator'][_0x49a482(0x210)](),this['animator']=null,this['canvasLayer']=null;}}if(mapv__namespace!==null&&mapv__namespace!==void 0x0&&mapv__namespace[_0x4eeac3(0x1d8)])mapv__namespace['DataSet']['prototype']['transferCoordinate']=function(_0x2e2662,_0x23e7d0,_0x1ab31d,_0x4d4b39){const _0x4fc9a4={_0x4f98c5:0x20f},_0x47c365=_0x4eeac3;_0x4d4b39=_0x4d4b39||_0x47c365(0x206),_0x1ab31d=_0x1ab31d||'coordinates';for(let _0x1dc0da=0x0;_0x1dc0da<_0x2e2662['length'];_0x1dc0da++){const _0x1aead5=_0x2e2662[_0x1dc0da]['geometry'],_0x2898c9=_0x1aead5[_0x1ab31d];switch(_0x1aead5['type']){case _0x47c365(0x1e6):{const _0xd0612=_0x23e7d0(_0x2898c9);_0xd0612?_0x1aead5[_0x4d4b39]=_0xd0612:_0x1aead5[_0x4d4b39]=[-0x3e7,-0x3e7];}break;case'LineString':{const _0x21afe4=[];for(let _0x486912=0x0;_0x486912<_0x2898c9['length'];_0x486912++){const _0x2244f3=_0x23e7d0(_0x2898c9[_0x486912]);_0x2244f3&&_0x21afe4['push'](_0x2244f3);}_0x1aead5[_0x4d4b39]=_0x21afe4;}break;case'MultiLineString':case _0x47c365(0x1c1):{const _0x3042f1=_0x53076f(_0x2898c9);_0x1aead5[_0x4d4b39]=_0x3042f1;}break;case _0x47c365(0x1ba):{const _0x18c0e2=[];for(let _0xd42020=0x0;_0xd42020<_0x2898c9[_0x47c365(0x1b3)];_0xd42020++){const _0x27d1b6=_0x53076f(_0x2898c9[_0xd42020]);_0x27d1b6[_0x47c365(0x1b3)]>0x0&&_0x18c0e2['push'](_0x27d1b6);}_0x1aead5[_0x4d4b39]=_0x18c0e2;}break;}}function _0x53076f(_0x2fd814){const _0x5365b0=_0x47c365,_0x3958c7=[];for(let _0x1b96c9=0x0;_0x1b96c9<_0x2fd814['length'];_0x1b96c9++){const _0x523500=_0x2fd814[_0x1b96c9],_0x121d81=[];for(let _0x180a7e=0x0;_0x180a7e<_0x523500['length'];_0x180a7e++){const _0xd3258f=_0x23e7d0(_0x523500[_0x180a7e]);_0xd3258f&&_0x121d81['push'](_0xd3258f);}_0x121d81['length']>0x0&&_0x3958c7[_0x5365b0(_0x4fc9a4._0x4f98c5)](_0x121d81);}return _0x3958c7;}return _0x2e2662;};else throw new Error('请引入\x20mapv\x20库\x20');const Cesium=mars3d__namespace['Cesium'],BaseLayer=mars3d__namespace['layer']['BaseLayer'];class MapVLayer extends BaseLayer{constructor(_0x447613,_0x19e86a){const _0x4cee52={_0x2b735a:0x1d8},_0x22923c=_0x4eeac3;super(_0x447613),this['_pointerEvents']=this['options']['pointerEvents'],this['dataSet']=_0x19e86a||new mapv__namespace[(_0x22923c(_0x4cee52._0x2b735a))](_0x447613['data']),this[_0x22923c(0x213)]=null;}get['pointerEvents'](){return this['_pointerEvents'];}set['pointerEvents'](_0x487f39){const _0x5059f6=_0x4eeac3;this['_pointerEvents']=_0x487f39,this[_0x5059f6(0x213)]&&(_0x487f39?this[_0x5059f6(0x213)]['style'][_0x5059f6(0x1c4)]='all':this['canvas']['style']['pointerEvents']=_0x5059f6(0x20b));}['_showHook'](_0x254f64){const _0x45d8cb={_0x19ecab:0x203},_0x3eafe3=_0x4eeac3;_0x254f64?this['canvas'][_0x3eafe3(0x217)]['display']='block':this[_0x3eafe3(0x213)][_0x3eafe3(0x217)][_0x3eafe3(_0x45d8cb._0x19ecab)]='none';}['_mountedHook'](){const _0x3e12da={_0x520271:0x1b1,_0x5527e4:0x1f2,_0x40ca66:0x1f5,_0x1c3ee5:0x1de},_0x36143a=_0x4eeac3;this['_map'][_0x36143a(_0x3e12da._0x520271)]['mapvDepthTest']=this['options']['depthTest']??!![],this['_map']['scene']['mapvAutoHeight']=this[_0x36143a(_0x3e12da._0x5527e4)]['clampToGround']??![],this[_0x36143a(_0x3e12da._0x40ca66)][_0x36143a(0x1b1)]['mapvFixedHeight']=this['options'][_0x36143a(_0x3e12da._0x1c3ee5)]??0x0;}['_addedHook'](){const _0x400cab={_0x1c0bb9:0x1bc,_0x1ab339:0x218,_0x5b1c49:0x218,_0x12f856:0x1bc,_0x384961:0x1f5,_0xbb19f1:0x216,_0xf64d45:0x204},_0x566120=_0x4eeac3;this[_0x566120(_0x400cab._0x1c0bb9)]&&(!this[_0x566120(0x1bc)][_0x566120(_0x400cab._0x1ab339)]||this['dataSet'][_0x566120(_0x400cab._0x5b1c49)]['length']===0x0)&&(this[_0x566120(_0x400cab._0x12f856)]['_data']=[]['concat'](this['dataSet']['_dataCache'])),this['_mapVRenderer']=new MapVRenderer(this[_0x566120(_0x400cab._0x384961)],this[_0x566120(0x1bc)],this['options'],this),this['initDevicePixelRatio'](),this['canvas']=this['_createCanvas'](),this[_0x566120(_0x400cab._0xbb19f1)]=this['render'][_0x566120(_0x400cab._0xf64d45)](this),this['bindEvent'](),this['_reset']();}['_removedHook'](){const _0x50269e={_0x2c0d94:0x1e5,_0x327161:0x1e8},_0x140b54=_0x4eeac3;this[_0x140b54(_0x50269e._0x2c0d94)](),this['_mapVRenderer']&&(this[_0x140b54(0x1d5)][_0x140b54(_0x50269e._0x327161)](),this['_mapVRenderer']=null),this['canvas']['parentElement'][_0x140b54(0x1e0)](this['canvas']);}['initDevicePixelRatio'](){this['devicePixelRatio']=window['devicePixelRatio']||0x1;}['bindEvent'](){const _0x562dfb={_0x23dfdc:0x20e,_0x1e5644:0x207},_0xf6803f=_0x4eeac3;var _0x52e2a0,_0x269be4;this['_map']['on'](mars3d__namespace['EventType']['mouseDown'],this[_0xf6803f(_0x562dfb._0x23dfdc)],this),this['_map']['on'](mars3d__namespace['EventType']['cameraMoveStart'],this['_onMoveStartEvent'],this),this['_map']['on'](mars3d__namespace['EventType']['cameraMoveEnd'],this['_onMoveEndEvent'],this),(_0x52e2a0=this['options'])!==null&&_0x52e2a0!==void 0x0&&(_0x52e2a0=_0x52e2a0['methods'])!==null&&_0x52e2a0!==void 0x0&&_0x52e2a0['click']&&this[_0xf6803f(0x1f5)]['on'](mars3d__namespace[_0xf6803f(_0x562dfb._0x1e5644)]['click'],this['_onMapClick'],this),(_0x269be4=this['options'])!==null&&_0x269be4!==void 0x0&&(_0x269be4=_0x269be4['methods'])!==null&&_0x269be4!==void 0x0&&_0x269be4['mousemove']&&this[_0xf6803f(0x1f5)]['on'](mars3d__namespace[_0xf6803f(0x207)][_0xf6803f(0x1b4)],this['_onMapMouseMove'],this);}['unbindEvent'](){const _0x545769={_0x374e74:0x207,_0xeb6412:0x1f2,_0x29d90e:0x1cd,_0x34ad20:0x1dd,_0x5d59ce:0x207},_0x23c22d=_0x4eeac3;var _0x125abf,_0x3ff3a7;this['_map']['off'](mars3d__namespace[_0x23c22d(_0x545769._0x374e74)]['mouseDown'],this[_0x23c22d(0x20e)],this),this['_map']['off'](mars3d__namespace['EventType']['cameraMoveStart'],this['_onMoveStartEvent'],this),this['_map']['off'](mars3d__namespace['EventType']['cameraMoveEnd'],this['_onMoveEndEvent'],this),this[_0x23c22d(0x1f5)]['off'](mars3d__namespace['EventType']['postRender'],this['_reset'],this),(_0x125abf=this['options'])!==null&&_0x125abf!==void 0x0&&(_0x125abf=_0x125abf['methods'])!==null&&_0x125abf!==void 0x0&&_0x125abf['click']&&this['_map']['off'](mars3d__namespace[_0x23c22d(_0x545769._0x374e74)]['click'],this['_onMapClick'],this),(_0x3ff3a7=this[_0x23c22d(_0x545769._0xeb6412)])!==null&&_0x3ff3a7!==void 0x0&&(_0x3ff3a7=_0x3ff3a7[_0x23c22d(_0x545769._0x29d90e)])!==null&&_0x3ff3a7!==void 0x0&&_0x3ff3a7[_0x23c22d(_0x545769._0x34ad20)]&&this['_map']['off'](mars3d__namespace[_0x23c22d(_0x545769._0x5d59ce)][_0x23c22d(0x1b4)],this['_onMapMouseMove'],this);}['_onMoveStartEvent'](){const _0x40befc={_0x5e70f1:0x1eb,_0x52899d:0x1f5},_0x53783e=_0x4eeac3;this[_0x53783e(0x1d5)]&&(this['_mapVRenderer']['animatorMovestartEvent'](),this['_map']['off'](mars3d__namespace['EventType'][_0x53783e(_0x40befc._0x5e70f1)],this['_reset'],this),this[_0x53783e(_0x40befc._0x52899d)]['on'](mars3d__namespace['EventType'][_0x53783e(_0x40befc._0x5e70f1)],this[_0x53783e(0x1fc)],this));}['_onMoveEndEvent'](){const _0x57541f={_0x1ba87c:0x1fc},_0x3fc808=_0x4eeac3;this['_mapVRenderer']&&(this['_map']['off'](mars3d__namespace['EventType']['postRender'],this[_0x3fc808(_0x57541f._0x1ba87c)],this),this['_mapVRenderer']['animatorMoveendEvent'](),this[_0x3fc808(0x1fc)]());}['_setOptionsHook'](_0x1e6b21,_0x1a53a3){const _0x350d4e={_0x4e2749:0x200},_0xa0745f=_0x4eeac3;this['_removedHook'](),this[_0xa0745f(_0x350d4e._0x4e2749)]();}['addData'](_0x43dcf8){this['_mapVRenderer']&&this['_mapVRenderer']['addData'](_0x43dcf8,this['options']);}['updateData'](_0x539971){this['_mapVRenderer']&&this['_mapVRenderer']['updateData'](_0x539971,this['options']);}['getData'](){return this['_mapVRenderer']&&(this['dataSet']=this['_mapVRenderer']['getData']()),this['dataSet'];}['removeData'](_0x405806){this['_mapVRenderer']&&this['_mapVRenderer']['removeData'](_0x405806);}['removeAllData'](){this['_mapVRenderer']&&this['_mapVRenderer']['clearData']();}['_createCanvas'](){const _0x5ba41b={_0xa9cfb2:0x1c2,_0x21c8b1:0x1cb,_0x1539b5:0x217,_0x37cbb8:0x217},_0xf5adc8=_0x4eeac3,_0x4db94f=mars3d__namespace['DomUtil']['create']('canvas',_0xf5adc8(0x1e1),this['_map']['container']);_0x4db94f['id']=this['id'],_0x4db94f['style'][_0xf5adc8(_0x5ba41b._0xa9cfb2)]='absolute',_0x4db94f[_0xf5adc8(0x217)]['top']='0px',_0x4db94f[_0xf5adc8(0x217)][_0xf5adc8(0x215)]='0px',_0x4db94f['width']=parseInt(this['_map'][_0xf5adc8(0x213)]['width']),_0x4db94f['height']=parseInt(this['_map']['canvas']['height']),_0x4db94f['style']['width']=this[_0xf5adc8(0x1f5)]['canvas']['style']['width'],_0x4db94f['style'][_0xf5adc8(_0x5ba41b._0x21c8b1)]=this[_0xf5adc8(0x1f5)]['canvas']['style']['height'],_0x4db94f[_0xf5adc8(_0x5ba41b._0x1539b5)]['pointerEvents']=this[_0xf5adc8(0x1e7)]?_0xf5adc8(0x1fd):'none',_0x4db94f[_0xf5adc8(_0x5ba41b._0x37cbb8)]['zIndex']=this['options']['zIndex']??0x9;if(this['options']['context']==='2d'){const _0x4f5a00=this['devicePixelRatio'];_0x4db94f['getContext'](this['options']['context'])['scale'](_0x4f5a00,_0x4f5a00);}return _0x4db94f;}['_reset'](){this['resize'](),this['render']();}[_0x4eeac3(0x209)](){this['_reset']();}['remove'](){const _0x3c9327=_0x4eeac3;this['_mapVRenderer']&&(this['_mapVRenderer'][_0x3c9327(0x1e8)](),this['_mapVRenderer']=null),this['canvas']['parentElement']['removeChild'](this[_0x3c9327(0x213)]);}[_0x4eeac3(0x216)](){const _0xb86f9f=_0x4eeac3;this[_0xb86f9f(0x1d5)]['_canvasUpdate']();}['resize'](){const _0x1e17df={_0xbd8c40:0x217,_0x5a5a44:0x213,_0x149893:0x213,_0x1a97a0:0x1cb},_0x96de65=_0x4eeac3;if(this[_0x96de65(0x213)]){const _0x3fea5b=this[_0x96de65(0x213)];_0x3fea5b['style'][_0x96de65(0x1c2)]='absolute',_0x3fea5b['style']['top']='0px',_0x3fea5b[_0x96de65(_0x1e17df._0xbd8c40)]['left']='0px',_0x3fea5b['width']=parseInt(this['_map'][_0x96de65(_0x1e17df._0x5a5a44)]['width']),_0x3fea5b[_0x96de65(0x1cb)]=parseInt(this['_map']['canvas']['height']),_0x3fea5b['style']['width']=this['_map'][_0x96de65(_0x1e17df._0x149893)]['style']['width'],_0x3fea5b['style'][_0x96de65(0x1cb)]=this['_map']['canvas']['style'][_0x96de65(_0x1e17df._0x1a97a0)];}}['getRectangle'](_0x520f6c){const _0x52ca6f={_0x42f6c6:0x218,_0x194e86:0x211,_0x136b80:0x1bc},_0x40dbfa=_0x4eeac3;if(!this[_0x40dbfa(0x1bc)]||!this['dataSet'][_0x40dbfa(_0x52ca6f._0x42f6c6)])return;const _0x20d8df=mars3d__namespace['Util'][_0x40dbfa(_0x52ca6f._0x194e86)]({'type':'FeatureCollection','features':this[_0x40dbfa(_0x52ca6f._0x136b80)]['_data']});if(!_0x20d8df)return;return _0x520f6c!==null&&_0x520f6c!==void 0x0&&_0x520f6c['isFormat']?_0x20d8df:Cesium['Rectangle']['fromDegrees'](_0x20d8df['xmin'],_0x20d8df['ymin'],_0x20d8df[_0x40dbfa(0x1d3)],_0x20d8df['ymax']);}[_0x4eeac3(0x1ef)](_0x3d3d2a){const _0x53a90b={_0x17e27d:0x1bf,_0x487bb7:0x1d5},_0x35837a=_0x4eeac3;this[_0x35837a(_0x53a90b._0x17e27d)]=_0x3d3d2a,this[_0x35837a(_0x53a90b._0x487bb7)]&&this['_mapVRenderer']['clickEvent'](_0x3d3d2a['windowPosition'],_0x3d3d2a);}['_onMapMouseMove'](_0x755d53){this['_cache_event']=_0x755d53,this['_mapVRenderer']&&this['_mapVRenderer']['mousemoveEvent'](_0x755d53['windowPosition'],_0x755d53);}['on'](_0x3d7252,_0x2ff470,_0x24c138){const _0x2c4c8c={_0x172633:0x1e9,_0x222390:0x1f2,_0x2f1566:0x207,_0x2b4c11:0x1b9},_0x32e9e9=_0x4eeac3;this['options']['methods']=this['options']['methods']||{};if(_0x3d7252===mars3d__namespace['EventType'][_0x32e9e9(_0x2c4c8c._0x172633)])this[_0x32e9e9(_0x2c4c8c._0x222390)]['methods']['click']=_0x14f53c=>{_0x14f53c&&_0x2ff470['bind'](_0x24c138)({...this['_cache_event'],'layer':this,'data':_0x14f53c});},this['_map']['on'](mars3d__namespace[_0x32e9e9(_0x2c4c8c._0x2f1566)]['click'],this['_onMapClick'],this);else _0x3d7252===mars3d__namespace['EventType']['mouseMove']&&(this['options']['methods']['mousemove']=_0x1d872e=>{_0x1d872e&&_0x2ff470['bind'](_0x24c138)({...this['_cache_event'],'layer':this,'data':_0x1d872e});},this['_map']['on'](mars3d__namespace['EventType'][_0x32e9e9(0x1b4)],this[_0x32e9e9(_0x2c4c8c._0x2b4c11)],this));return this;}[_0x4eeac3(0x1da)](_0x41ca64,_0x22e4f0){const _0x56fd1d={_0x160faf:0x1ef,_0x1c78fc:0x1f2},_0x5327f3=_0x4eeac3;if(_0x41ca64==='click'){var _0x68b00a;this['_map']['off'](_0x41ca64,this[_0x5327f3(_0x56fd1d._0x160faf)],this),(_0x68b00a=this['options'][_0x5327f3(0x1cd)])!==null&&_0x68b00a!==void 0x0&&_0x68b00a['mousemove']&&delete this['options']['methods']['click'];}else{if(_0x41ca64==='mouseMove'){var _0x2c257c;this['_map'][_0x5327f3(0x1da)](_0x41ca64,this['_onMapMouseMove'],this),(_0x2c257c=this['options']['methods'])!==null&&_0x2c257c!==void 0x0&&_0x2c257c['mousemove']&&delete this[_0x5327f3(_0x56fd1d._0x1c78fc)]['methods']['mousemove'];}}return this;}}function _0x1af6(_0x4e2f92,_0x5994a9){const _0x10e712=_0x10e7();return _0x1af6=function(_0x1af609,_0x21763d){_0x1af609=_0x1af609-0x1b0;let _0x1aab6f=_0x10e712[_0x1af609];return _0x1aab6f;},_0x1af6(_0x4e2f92,_0x5994a9);}mars3d__namespace['LayerUtil']['register']('mapv',MapVLayer),mars3d__namespace['layer'][_0x4eeac3(0x1c9)]=MapVLayer,mars3d__namespace['mapv']=mapv__namespace,exports['MapVLayer']=MapVLayer,Object['keys'](mapv)[_0x4eeac3(0x1ce)](function(_0x3468f1){const _0x4f4415={_0xc0899f:0x1e2},_0x72426c=_0x4eeac3;if(_0x3468f1!==_0x72426c(_0x4f4415._0xc0899f)&&!exports['hasOwnProperty'](_0x3468f1))Object['defineProperty'](exports,_0x3468f1,{'enumerable':!![],'get':function(){return mapv[_0x3468f1];}});}),Object['defineProperty'](exports,_0x4eeac3(0x20d),{'value':!![]}); }));