/** * Mars3D平台插件,结合mapv可视化功能插件 mars3d-mapv * * 版本信息:v3.10.12 * 编译日期:2026-01-11 17:27 * 版权所有:Copyright by 火星科技 http://mars3d.cn * 使用单位:山东慧创信息科技有限公司 ,2025-08-04 */ (function (global, factory) { typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, (window.mars3d || require('mars3d')), (window.mapv || require('mapv'))) : typeof define === 'function' && define.amd ? define(['exports', 'mars3d', 'mapv'], factory) : (global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory(global["mars3d-mapv"] = {}, global.mars3d, global.mapv)); })(this, (function (exports, mars3d, mapv) { 'use strict';const _0x264411=_0x323a;(function(_0x3172fc,_0x140122){const _0xc435c3={_0x4e0cb5:0x173,_0x399b24:0x16c,_0x162209:0x17e,_0x114b41:0x1a1,_0x19e131:0x17f,_0x4d32eb:0x19d},_0x4f45a2=_0x323a,_0x2d592c=_0x3172fc();while(!![]){try{const _0x2f5bcb=-parseInt(_0x4f45a2(_0xc435c3._0x4e0cb5))/0x1+parseInt(_0x4f45a2(0x1bd))/0x2+-parseInt(_0x4f45a2(_0xc435c3._0x399b24))/0x3+-parseInt(_0x4f45a2(_0xc435c3._0x162209))/0x4+-parseInt(_0x4f45a2(_0xc435c3._0x114b41))/0x5*(-parseInt(_0x4f45a2(_0xc435c3._0x19e131))/0x6)+-parseInt(_0x4f45a2(0x194))/0x7*(-parseInt(_0x4f45a2(_0xc435c3._0x4d32eb))/0x8)+parseInt(_0x4f45a2(0x17a))/0x9;if(_0x2f5bcb===_0x140122)break;else _0x2d592c['push'](_0x2d592c['shift']());}catch(_0x12da00){_0x2d592c['push'](_0x2d592c['shift']());}}}(_0x359f,0x7889b));function _0x359f(){const _0x516040=['isEnabledTime','clearRect','EventType','initDevicePixelRatio','scene','positionWC','getData','clearData','0px','_pointerEvents','none','_onMapMouseMove','click','initDataRange','fillStyle','context','size','1887658DDijlY','pointerEvents','_cache_event','updateData','mars3d-mapv插件注册成功\x20\x20\x20\x20\x20版本:','mapvDepthTest','depthTest','getSize','options','level','drawContext','updateCallback','render','请引入\x20mapv\x20库\x20','_data','__esModule','_addedHook','2026-01-11\x2017:26','update','SceneMode','properties','canvas','pointCountMax','forEach','length','max','addData','2581362nvSBNc','getZoom','time','_map','defineProperty','unbindEvent','width','581621ixkpyv','dataSet','resize','create','bindEvent','devicePixelRatio','_onMoveEndEvent','8360676tUsfSV','stop','animation','removeData','2114984DdeKot','6lCzYHQ','pointCountMin','DataSet','camera','getOwnPropertyDescriptor','push','_onMoveStartEvent','MultiPolygon','concat','DomUtil','_mapVRenderer','getContext','bind','supercluster','utilDataRangeIntensity','getHeight','default','animator','get','container','cameraMoveEnd','6608ewjhLt','block','mousemove','COLOR_BUFFER_BIT','mars3d-mapv','animatorMoveendEvent','height','keys','step','3896lSkGTx','fromDegrees','canvasLayer','style','660115EclgkY','_onMapClick','methods','draw','EllipsoidalOccluder','BaseLayer','mode','auto','postRender','off','filter'];_0x359f=function(){return _0x516040;};return _0x359f();}function _0x323a(_0x3a9ac1,_0xefe080){const _0x359fed=_0x359f();return _0x323a=function(_0x323a5b,_0x567218){_0x323a5b=_0x323a5b-0x165;let _0x5db9bb=_0x359fed[_0x323a5b];return _0x5db9bb;},_0x323a(_0x3a9ac1,_0xefe080);}function _interopNamespace(_0x484c79){const _0x4e7a9b={_0x2d410c:0x1cc,_0x50c2ba:0x176,_0x1e3a72:0x19b},_0x5cdaf7={_0x5ad2ae:0x18f,_0x48d2b4:0x183},_0x2de570=_0x323a;if(_0x484c79&&_0x484c79[_0x2de570(_0x4e7a9b._0x2d410c)])return _0x484c79;var _0x14fc41=Object[_0x2de570(_0x4e7a9b._0x50c2ba)](null);return _0x484c79&&Object[_0x2de570(_0x4e7a9b._0x1e3a72)](_0x484c79)[_0x2de570(0x168)](function(_0x178491){const _0x35b046=_0x2de570;if(_0x178491!==_0x35b046(_0x5cdaf7._0x5ad2ae)){var _0x34aba5=Object[_0x35b046(_0x5cdaf7._0x48d2b4)](_0x484c79,_0x178491);Object['defineProperty'](_0x14fc41,_0x178491,_0x34aba5['get']?_0x34aba5:{'enumerable':!![],'get':function(){return _0x484c79[_0x178491];}});}}),_0x14fc41['default']=_0x484c79,_0x14fc41;}var mars3d__namespace=_interopNamespace(mars3d),mapv__namespace=_interopNamespace(mapv);const version='3.10.12',buildTime=_0x264411(0x1ce),Cesium$1=mars3d__namespace['Cesium'],baiduMapLayer=mapv__namespace?mapv__namespace['baiduMapLayer']:null,BaseLayer$1=baiduMapLayer?baiduMapLayer['__proto__']:Function;class MapVRenderer extends BaseLayer$1{constructor(_0x3b9061,_0x409375,_0x2902dd,_0x279374){const _0x572761={_0x3836f6:0x174,_0x3abca0:0x17c},_0x3ecb79=_0x264411;super(_0x3b9061,_0x409375,_0x2902dd);if(!BaseLayer$1)return;this['map']=_0x3b9061,this['scene']=_0x3b9061['scene'],this[_0x3ecb79(_0x572761._0x3836f6)]=_0x409375,_0x2902dd=_0x2902dd||{},this['init'](_0x2902dd),this['argCheck'](_0x2902dd),this['initDevicePixelRatio'](),this['canvasLayer']=_0x279374,this['stopAniamation']=!0x1,this['animation']=_0x2902dd[_0x3ecb79(_0x572761._0x3abca0)];}[_0x264411(0x1af)](){const _0x367caa={_0x17a23d:0x178},_0x59fb09=_0x264411;this['devicePixelRatio']=window[_0x59fb09(_0x367caa._0x17a23d)]||0x1;}['addAnimatorEvent'](){}['animatorMovestartEvent'](){const _0x45e739=_0x264411,_0x508583=this['options']['animation'];this['isEnabledTime']()&&this['animator']&&(this['steps'][_0x45e739(0x19c)]=_0x508583['stepsRange']['start']);}[_0x264411(0x199)](){this['isEnabledTime']()&&this['animator'];}['getContext'](){const _0x403f80={_0x340698:0x1bb},_0x512416=_0x264411;return this['canvasLayer']['canvas']['getContext'](this[_0x512416(_0x403f80._0x340698)]);}['init'](_0x301201){const _0x5b9658={_0x483165:0x1b9,_0x1170bf:0x19f},_0x1b836b=_0x264411;this['options']=_0x301201,this[_0x1b836b(_0x5b9658._0x483165)](_0x301201),this[_0x1b836b(0x1bb)]=this['options']['context']||'2d',Cesium$1['defined'](this['options']['zIndex'])&&this[_0x1b836b(_0x5b9658._0x1170bf)]&&this['canvasLayer']['setZIndex']&&this[_0x1b836b(0x19f)]['setZIndex'](this['options']['zIndex']),this['initAnimator']();}['_canvasUpdate'](_0x3bf3c7){const _0x2787ad={_0xd685ad:0x18a,_0x5c54cd:0x1ac,_0xb39ce7:0x1c5,_0x17b3dc:0x167,_0x52d0dc:0x16a,_0x1ecd94:0x180,_0x6dc386:0x18c,_0x15fec9:0x1c5,_0x16a856:0x1ba,_0x8c2a7f:0x191,_0x796ec3:0x1c7,_0x388ca2:0x1c8},_0x203f06={_0x422353:0x16e},_0xb03e6e={_0x5c9bbe:0x1d0},_0x421eb1=_0x264411;if(!this['canvasLayer']||this['stopAniamation'])return;const _0x182f30=this['scene'],_0x4c5889=this['options'][_0x421eb1(0x17c)],_0x4d9415=this[_0x421eb1(_0x2787ad._0xd685ad)]();if(this[_0x421eb1(_0x2787ad._0x5c54cd)]()){if(void 0x0===_0x3bf3c7)return void this['clear'](_0x4d9415);this['context']==='2d'&&(_0x4d9415['save'](),_0x4d9415['globalCompositeOperation']='destination-out',_0x4d9415['fillStyle']='rgba(0,\x200,\x200,\x20.1)',_0x4d9415['fillRect'](0x0,0x0,_0x4d9415['canvas']['width'],_0x4d9415['canvas']['height']),_0x4d9415['restore']());}else this['clear'](_0x4d9415);if(this['context']==='2d')for(const _0x530fdf in this[_0x421eb1(_0x2787ad._0xb39ce7)]){_0x4d9415[_0x530fdf]=this['options'][_0x530fdf];}else _0x4d9415['clear'](_0x4d9415[_0x421eb1(0x197)]);const _0x4dd702={'transferCoordinate':function(_0x2a944b){const _0x4f44bb=_0x421eb1,_0xf683cd=null;let _0x18f0ab=_0x182f30['mapvFixedHeight'];_0x182f30['mapvAutoHeight']&&(_0x18f0ab=_0x182f30[_0x4f44bb(0x18e)](Cesium$1['Cartographic']['fromDegrees'](_0x2a944b[0x0],_0x2a944b[0x1])));const _0x3b2ef7=Cesium$1['Cartesian3']['fromDegrees'](_0x2a944b[0x0],_0x2a944b[0x1],_0x18f0ab);if(!_0x3b2ef7)return _0xf683cd;const _0x159c2f=mars3d__namespace['PointTrans']['toWindowCoordinates'](_0x182f30,_0x3b2ef7);if(!_0x159c2f)return _0xf683cd;if(_0x182f30[_0x4f44bb(0x1c2)]&&_0x182f30[_0x4f44bb(0x1a7)]===Cesium$1[_0x4f44bb(_0xb03e6e._0x5c9bbe)]['SCENE3D']){const _0x3a7c8a=new Cesium$1[(_0x4f44bb(0x1a5))](_0x182f30['globe']['ellipsoid'],_0x182f30[_0x4f44bb(0x182)][_0x4f44bb(0x1b1)]),_0x1e7c1a=_0x3a7c8a['isPointVisible'](_0x3b2ef7);if(!_0x1e7c1a)return _0xf683cd;}return[_0x159c2f['x'],_0x159c2f['y']];}};void 0x0!==_0x3bf3c7&&(_0x4dd702[_0x421eb1(0x1ab)]=function(_0x107024){const _0x4cfff2=_0x421eb1,_0xc2e834=_0x4c5889['trails']||0xa;return!!(_0x3bf3c7&&_0x107024[_0x4cfff2(0x16e)]>_0x3bf3c7-_0xc2e834&&_0x107024[_0x4cfff2(_0x203f06._0x422353)]<_0x3bf3c7);});let _0x33aacc;if(this[_0x421eb1(_0x2787ad._0xb39ce7)]['draw']==='cluster'&&(!this['options']['maxClusterZoom']||this['options']['maxClusterZoom']>=this[_0x421eb1(0x16d)]())){this['map']['getExtent']();const _0x55dd41=this['getZoom'](),_0x239c2d=this[_0x421eb1(0x18c)]['getClusters']([-0xb4,-0x5a,0xb4,0x5a],_0x55dd41);this[_0x421eb1(_0x2787ad._0x17b3dc)]=this['supercluster']['trees'][_0x55dd41][_0x421eb1(_0x2787ad._0x52d0dc)],this[_0x421eb1(_0x2787ad._0x1ecd94)]=this[_0x421eb1(_0x2787ad._0x6dc386)]['trees'][_0x55dd41]['min'];let _0x4b6acb={},_0x3ec047=null,_0x509be5=null;this[_0x421eb1(_0x2787ad._0x17b3dc)]===this['pointCountMin']?(_0x3ec047=this['options']['fillStyle'],_0x509be5=this['options']['minSize']||0x8):_0x4b6acb=new mapv__namespace[(_0x421eb1(0x18d))]({'min':this[_0x421eb1(0x180)],'max':this['pointCountMax'],'minSize':this[_0x421eb1(_0x2787ad._0xb39ce7)]['minSize']||0x8,'maxSize':this['options']['maxSize']||0x1e,'gradient':this[_0x421eb1(_0x2787ad._0x15fec9)]['gradient']});for(let _0x43392a=0x0;_0x43392a<_0x239c2d['length'];_0x43392a++){const _0x3f8f08=_0x239c2d[_0x43392a];_0x3f8f08['properties']&&_0x3f8f08[_0x421eb1(0x165)]['cluster_id']?(_0x239c2d[_0x43392a]['size']=_0x509be5||_0x4b6acb[_0x421eb1(0x1c4)](_0x3f8f08['properties']['point_count']),_0x239c2d[_0x43392a][_0x421eb1(_0x2787ad._0x16a856)]=_0x3ec047||_0x4b6acb['getColor'](_0x3f8f08['properties']['point_count'])):_0x239c2d[_0x43392a]['size']=this['options'][_0x421eb1(0x1bc)];}this['clusterDataSet']['set'](_0x239c2d),_0x33aacc=this['clusterDataSet'][_0x421eb1(_0x2787ad._0x8c2a7f)](_0x4dd702);}else _0x33aacc=this['dataSet'][_0x421eb1(0x191)](_0x4dd702);this['processData'](_0x33aacc);this['options']['unit']==='m'&&this[_0x421eb1(_0x2787ad._0x15fec9)][_0x421eb1(0x1bc)]&&(this['options']['_size']=this['options']['size']);const _0x8288aa=mars3d__namespace['PointTrans']['toWindowCoordinates'](_0x182f30,Cesium$1['Cartesian3']['fromDegrees'](0x0,0x0));if(!_0x8288aa)return;this[_0x421eb1(_0x2787ad._0x796ec3)](_0x4d9415,new mapv__namespace['DataSet'](_0x33aacc),this['options'],_0x8288aa),this['options']['updateCallback']&&this[_0x421eb1(_0x2787ad._0x15fec9)][_0x421eb1(_0x2787ad._0x388ca2)](_0x3bf3c7);}['updateData'](_0x4d94d6,_0xbaf1d6){const _0x463683={_0x52f541:0x1cf},_0x597b6f=_0x264411;let _0x52653e=_0x4d94d6;_0x52653e&&_0x52653e['get']&&(_0x52653e=_0x52653e['get']()),void 0x0!==_0x52653e&&this['dataSet']['set'](_0x52653e),super[_0x597b6f(_0x463683._0x52f541)]({'options':_0xbaf1d6});}['addData'](_0x470971,_0x1c2df4){let _0xebff0b=_0x470971;_0x470971&&_0x470971['get']&&(_0xebff0b=_0x470971['get']()),this['dataSet']['add'](_0xebff0b),this['update']({'options':_0x1c2df4});}[_0x264411(0x1b2)](){const _0x46b5d7={_0x4351c4:0x174},_0x5c5ce9=_0x264411;return this[_0x5c5ce9(_0x46b5d7._0x4351c4)];}['removeData'](_0x2f7fdf){const _0x34ff9e=_0x264411;if(this['dataSet']){const _0x2a2658=this['dataSet'][_0x34ff9e(0x191)]({'filter':function(_0x1c57c4){return _0x2f7fdf==null||typeof _0x2f7fdf!=='function'||!_0x2f7fdf(_0x1c57c4);}});this['dataSet']['set'](_0x2a2658),this['update']({'options':null});}}['clearData'](){const _0x58999a={_0x271f63:0x174,_0x48d0a5:0x1cf},_0x84582b=_0x264411;this[_0x84582b(_0x58999a._0x271f63)]&&this['dataSet']['clear'](),this[_0x84582b(_0x58999a._0x48d0a5)]({'options':null});}['draw'](){const _0x3f571a={_0x483ba1:0x1a4},_0x373b4f=_0x264411;this['canvasLayer'][_0x373b4f(_0x3f571a._0x483ba1)]();}['clear'](_0x5ec54d){const _0x2b0871={_0x66fc41:0x166},_0x4021e2=_0x264411;_0x5ec54d&&_0x5ec54d[_0x4021e2(0x1ad)]&&_0x5ec54d['clearRect'](0x0,0x0,_0x5ec54d[_0x4021e2(0x166)]['width'],_0x5ec54d[_0x4021e2(_0x2b0871._0x66fc41)]['height']);}['getZoom'](){const _0x1f1a76={_0x325197:0x1c6},_0xb043d4=_0x264411;return this['map'][_0xb043d4(_0x1f1a76._0x325197)];}['destroy'](){const _0x456acc={_0x58d34e:0x1b3},_0x441ace=_0x264411;this['clear'](this[_0x441ace(0x18a)]()),this[_0x441ace(_0x456acc._0x58d34e)](),this['animator']&&this['animator'][_0x441ace(0x17b)](),this[_0x441ace(0x190)]=null,this['canvasLayer']=null;}}if(mapv__namespace!==null&&mapv__namespace!==void 0x0&&mapv__namespace[_0x264411(0x181)])mapv__namespace['DataSet']['prototype']['transferCoordinate']=function(_0x212984,_0x3b84e5,_0xe3a0bd,_0x23e0b5){const _0xfc2e38={_0x111369:0x186,_0x4cb043:0x184},_0x282e62=_0x264411;_0x23e0b5=_0x23e0b5||'_coordinates',_0xe3a0bd=_0xe3a0bd||'coordinates';for(let _0x5ef3d2=0x0;_0x5ef3d2<_0x212984[_0x282e62(0x169)];_0x5ef3d2++){const _0x1d3f8c=_0x212984[_0x5ef3d2]['geometry'],_0x13ca49=_0x1d3f8c[_0xe3a0bd];switch(_0x1d3f8c['type']){case'Point':{const _0x4ebc55=_0x3b84e5(_0x13ca49);_0x4ebc55?_0x1d3f8c[_0x23e0b5]=_0x4ebc55:_0x1d3f8c[_0x23e0b5]=[-0x3e7,-0x3e7];}break;case'LineString':{const _0x1c87b2=[];for(let _0x4f9db5=0x0;_0x4f9db5<_0x13ca49['length'];_0x4f9db5++){const _0x4c8e1d=_0x3b84e5(_0x13ca49[_0x4f9db5]);_0x4c8e1d&&_0x1c87b2['push'](_0x4c8e1d);}_0x1d3f8c[_0x23e0b5]=_0x1c87b2;}break;case'MultiLineString':case'Polygon':{const _0x8f5128=_0x3cc511(_0x13ca49);_0x1d3f8c[_0x23e0b5]=_0x8f5128;}break;case _0x282e62(_0xfc2e38._0x111369):{const _0x206197=[];for(let _0x198b9a=0x0;_0x198b9a<_0x13ca49['length'];_0x198b9a++){const _0x560792=_0x3cc511(_0x13ca49[_0x198b9a]);_0x560792['length']>0x0&&_0x206197[_0x282e62(_0xfc2e38._0x4cb043)](_0x560792);}_0x1d3f8c[_0x23e0b5]=_0x206197;}break;}}function _0x3cc511(_0x48826a){const _0x150771=_0x282e62,_0x719694=[];for(let _0x8943d1=0x0;_0x8943d1<_0x48826a[_0x150771(0x169)];_0x8943d1++){const _0x3e09cc=_0x48826a[_0x8943d1],_0x1c87ce=[];for(let _0x1f1f49=0x0;_0x1f1f49<_0x3e09cc['length'];_0x1f1f49++){const _0xb879c2=_0x3b84e5(_0x3e09cc[_0x1f1f49]);_0xb879c2&&_0x1c87ce['push'](_0xb879c2);}_0x1c87ce['length']>0x0&&_0x719694['push'](_0x1c87ce);}return _0x719694;}return _0x212984;};else throw new Error(_0x264411(0x1ca));const Cesium=mars3d__namespace['Cesium'],BaseLayer=mars3d__namespace['layer'][_0x264411(0x1a6)];class MapVLayer extends BaseLayer{constructor(_0x522cea,_0x5a8540){const _0x1d2617={_0x40a2d1:0x1c5},_0x5afbec=_0x264411;super(_0x522cea),this[_0x5afbec(0x1b5)]=this[_0x5afbec(_0x1d2617._0x40a2d1)]['pointerEvents'],this['dataSet']=_0x5a8540||new mapv__namespace['DataSet'](_0x522cea['data']),this['canvas']=null;}get[_0x264411(0x1be)](){return this['_pointerEvents'];}set['pointerEvents'](_0x4157bf){const _0x442eef=_0x264411;this['_pointerEvents']=_0x4157bf,this['canvas']&&(_0x4157bf?this['canvas'][_0x442eef(0x1a0)]['pointerEvents']='all':this['canvas']['style']['pointerEvents']='none');}['_showHook'](_0x371f11){const _0x1d7023={_0x430693:0x195},_0x261425=_0x264411;_0x371f11?this['canvas'][_0x261425(0x1a0)]['display']=_0x261425(_0x1d7023._0x430693):this['canvas']['style']['display']=_0x261425(0x1b6);}['_mountedHook'](){const _0x234a5a={_0x226fd1:0x1c3},_0x27ccca=_0x264411;this['_map'][_0x27ccca(0x1b0)]['mapvDepthTest']=this['options'][_0x27ccca(_0x234a5a._0x226fd1)]??!![],this['_map'][_0x27ccca(0x1b0)]['mapvAutoHeight']=this[_0x27ccca(0x1c5)]['clampToGround']??![],this['_map']['scene']['mapvFixedHeight']=this['options']['fixedHeight']??0x0;}['_addedHook'](){const _0xa27ba1={_0x235fd1:0x174,_0x4fbc57:0x1cb,_0x442f47:0x169,_0x53cbca:0x187},_0x4009e0=_0x264411;this['dataSet']&&(!this['dataSet']['_data']||this[_0x4009e0(_0xa27ba1._0x235fd1)][_0x4009e0(_0xa27ba1._0x4fbc57)][_0x4009e0(_0xa27ba1._0x442f47)]===0x0)&&(this['dataSet']['_data']=[][_0x4009e0(_0xa27ba1._0x53cbca)](this['dataSet']['_dataCache'])),this[_0x4009e0(0x189)]=new MapVRenderer(this['_map'],this['dataSet'],this['options'],this),this['initDevicePixelRatio'](),this['canvas']=this['_createCanvas'](),this[_0x4009e0(0x1c9)]=this['render']['bind'](this),this['bindEvent'](),this['_reset']();}['_removedHook'](){const _0xb006f8=_0x264411;this[_0xb006f8(0x171)](),this['_mapVRenderer']&&(this['_mapVRenderer']['destroy'](),this['_mapVRenderer']=null),this[_0xb006f8(0x166)]['parentElement']['removeChild'](this['canvas']);}['initDevicePixelRatio'](){this['devicePixelRatio']=window['devicePixelRatio']||0x1;}[_0x264411(0x177)](){const _0x209a78={_0x57d479:0x185,_0x498154:0x193,_0x31761d:0x16f},_0x2e117c=_0x264411;var _0x4bf4c4,_0x479c9e;this[_0x2e117c(0x16f)]['on'](mars3d__namespace['EventType']['mouseDown'],this[_0x2e117c(_0x209a78._0x57d479)],this),this['_map']['on'](mars3d__namespace['EventType']['cameraMoveStart'],this['_onMoveStartEvent'],this),this['_map']['on'](mars3d__namespace['EventType'][_0x2e117c(_0x209a78._0x498154)],this['_onMoveEndEvent'],this),(_0x4bf4c4=this['options'])!==null&&_0x4bf4c4!==void 0x0&&(_0x4bf4c4=_0x4bf4c4['methods'])!==null&&_0x4bf4c4!==void 0x0&&_0x4bf4c4['click']&&this['_map']['on'](mars3d__namespace['EventType']['click'],this['_onMapClick'],this),(_0x479c9e=this['options'])!==null&&_0x479c9e!==void 0x0&&(_0x479c9e=_0x479c9e['methods'])!==null&&_0x479c9e!==void 0x0&&_0x479c9e['mousemove']&&this[_0x2e117c(_0x209a78._0x31761d)]['on'](mars3d__namespace['EventType']['mouseMove'],this['_onMapMouseMove'],this);}[_0x264411(0x171)](){const _0x118762={_0x3d934c:0x16f,_0x33dea4:0x16f,_0x1b38ed:0x1ae,_0x4fc334:0x1c5,_0x19ddb5:0x1a3,_0x5d9715:0x196,_0x1a7c0d:0x1aa},_0x29b78b=_0x264411;var _0x54b44f,_0x508136;this['_map']['off'](mars3d__namespace['EventType']['mouseDown'],this['_onMoveStartEvent'],this),this[_0x29b78b(_0x118762._0x3d934c)]['off'](mars3d__namespace[_0x29b78b(0x1ae)]['cameraMoveStart'],this['_onMoveStartEvent'],this),this[_0x29b78b(_0x118762._0x33dea4)]['off'](mars3d__namespace[_0x29b78b(_0x118762._0x1b38ed)]['cameraMoveEnd'],this[_0x29b78b(0x179)],this),this['_map']['off'](mars3d__namespace['EventType'][_0x29b78b(0x1a9)],this['_reset'],this),(_0x54b44f=this['options'])!==null&&_0x54b44f!==void 0x0&&(_0x54b44f=_0x54b44f['methods'])!==null&&_0x54b44f!==void 0x0&&_0x54b44f['click']&&this['_map']['off'](mars3d__namespace[_0x29b78b(0x1ae)]['click'],this[_0x29b78b(0x1a2)],this),(_0x508136=this[_0x29b78b(_0x118762._0x4fc334)])!==null&&_0x508136!==void 0x0&&(_0x508136=_0x508136[_0x29b78b(_0x118762._0x19ddb5)])!==null&&_0x508136!==void 0x0&&_0x508136[_0x29b78b(_0x118762._0x5d9715)]&&this['_map'][_0x29b78b(_0x118762._0x1a7c0d)](mars3d__namespace['EventType']['mouseMove'],this['_onMapMouseMove'],this);}['_onMoveStartEvent'](){this['_mapVRenderer']&&(this['_mapVRenderer']['animatorMovestartEvent'](),this['_map']['off'](mars3d__namespace['EventType']['postRender'],this['_reset'],this),this['_map']['on'](mars3d__namespace['EventType']['postRender'],this['_reset'],this));}['_onMoveEndEvent'](){const _0x32431d={_0x248c95:0x1a9,_0x4a26f3:0x189},_0x3bc569=_0x264411;this[_0x3bc569(0x189)]&&(this['_map']['off'](mars3d__namespace['EventType'][_0x3bc569(_0x32431d._0x248c95)],this['_reset'],this),this[_0x3bc569(_0x32431d._0x4a26f3)]['animatorMoveendEvent'](),this['_reset']());}['_setOptionsHook'](_0x408b69,_0x2d8773){const _0x37c8bd=_0x264411;this['_removedHook'](),this[_0x37c8bd(0x1cd)]();}[_0x264411(0x16b)](_0x2fc3e4){this['_mapVRenderer']&&this['_mapVRenderer']['addData'](_0x2fc3e4,this['options']);}['updateData'](_0x5ddd10){const _0x3a731f={_0x16d67c:0x189,_0x3dff9e:0x1c0},_0x4868ca=_0x264411;this[_0x4868ca(_0x3a731f._0x16d67c)]&&this['_mapVRenderer'][_0x4868ca(_0x3a731f._0x3dff9e)](_0x5ddd10,this['options']);}['getData'](){const _0x113292=_0x264411;return this[_0x113292(0x189)]&&(this['dataSet']=this['_mapVRenderer']['getData']()),this['dataSet'];}[_0x264411(0x17d)](_0x16fd45){const _0x6d6a2a={_0x2c1c73:0x189,_0x1ff958:0x17d},_0x570b92=_0x264411;this[_0x570b92(_0x6d6a2a._0x2c1c73)]&&this['_mapVRenderer'][_0x570b92(_0x6d6a2a._0x1ff958)](_0x16fd45);}['removeAllData'](){const _0x3f0764={_0x759871:0x1b3},_0x481fa6=_0x264411;this['_mapVRenderer']&&this['_mapVRenderer'][_0x481fa6(_0x3f0764._0x759871)]();}['_createCanvas'](){const _0x2fe14c={_0x3e01e2:0x198,_0x2ed0bc:0x16f,_0x74b427:0x1b4,_0x4ad41c:0x19a,_0x9bfb57:0x16f,_0x192f4c:0x19a,_0x31f26d:0x1b5,_0x5f19f2:0x1a8,_0x39fb1e:0x1c5,_0x105153:0x1c5},_0x3bf7de=_0x264411,_0x127754=mars3d__namespace[_0x3bf7de(0x188)]['create']('canvas',_0x3bf7de(_0x2fe14c._0x3e01e2),this[_0x3bf7de(_0x2fe14c._0x2ed0bc)][_0x3bf7de(0x192)]);_0x127754['id']=this['id'],_0x127754['style']['position']='absolute',_0x127754['style']['top']=_0x3bf7de(0x1b4),_0x127754[_0x3bf7de(0x1a0)]['left']=_0x3bf7de(_0x2fe14c._0x74b427),_0x127754['width']=parseInt(this['_map']['canvas']['width']),_0x127754[_0x3bf7de(_0x2fe14c._0x4ad41c)]=parseInt(this['_map']['canvas']['height']),_0x127754['style']['width']=this[_0x3bf7de(_0x2fe14c._0x9bfb57)]['canvas']['style']['width'],_0x127754['style']['height']=this['_map']['canvas']['style'][_0x3bf7de(_0x2fe14c._0x192f4c)],_0x127754['style']['pointerEvents']=this[_0x3bf7de(_0x2fe14c._0x31f26d)]?_0x3bf7de(_0x2fe14c._0x5f19f2):'none',_0x127754['style']['zIndex']=this['options']['zIndex']??0x9;if(this[_0x3bf7de(_0x2fe14c._0x39fb1e)]['context']==='2d'){const _0x48b95a=this[_0x3bf7de(0x178)];_0x127754['getContext'](this[_0x3bf7de(_0x2fe14c._0x105153)]['context'])['scale'](_0x48b95a,_0x48b95a);}return _0x127754;}['_reset'](){const _0x3327f5=_0x264411;this['resize'](),this[_0x3327f5(0x1c9)]();}[_0x264411(0x1a4)](){this['_reset']();}['remove'](){const _0x2c9cad={_0x2adc3d:0x189},_0x501b07=_0x264411;this['_mapVRenderer']&&(this[_0x501b07(_0x2c9cad._0x2adc3d)]['destroy'](),this[_0x501b07(0x189)]=null),this['canvas']['parentElement']['removeChild'](this['canvas']);}[_0x264411(0x1c9)](){const _0x3cb7b3={_0x26840e:0x189},_0x409fbc=_0x264411;this[_0x409fbc(_0x3cb7b3._0x26840e)]['_canvasUpdate']();}[_0x264411(0x175)](){const _0x3ca685={_0x143e9:0x166,_0x331956:0x172,_0x5b4579:0x172,_0x540371:0x166,_0x2232df:0x172,_0x65e49b:0x166,_0x1658a7:0x19a},_0x314840=_0x264411;if(this['canvas']){const _0x3c62b1=this['canvas'];_0x3c62b1['style']['position']='absolute',_0x3c62b1['style']['top']='0px',_0x3c62b1['style']['left']='0px',_0x3c62b1['width']=parseInt(this['_map'][_0x314840(_0x3ca685._0x143e9)][_0x314840(_0x3ca685._0x331956)]),_0x3c62b1['height']=parseInt(this['_map'][_0x314840(_0x3ca685._0x143e9)]['height']),_0x3c62b1['style'][_0x314840(_0x3ca685._0x5b4579)]=this['_map'][_0x314840(_0x3ca685._0x540371)][_0x314840(0x1a0)][_0x314840(_0x3ca685._0x2232df)],_0x3c62b1[_0x314840(0x1a0)][_0x314840(0x19a)]=this['_map'][_0x314840(_0x3ca685._0x65e49b)]['style'][_0x314840(_0x3ca685._0x1658a7)];}}['getRectangle'](_0x2f03d9){const _0x41388c={_0x5c006:0x174,_0x3d64da:0x1cb,_0x10f27d:0x19e},_0x51c5a3=_0x264411;if(!this[_0x51c5a3(0x174)]||!this[_0x51c5a3(_0x41388c._0x5c006)][_0x51c5a3(_0x41388c._0x3d64da)])return;const _0x5e6111=mars3d__namespace['PolyUtil']['getExtentByGeoJSON']({'type':'FeatureCollection','features':this['dataSet']['_data']});if(!_0x5e6111)return;return _0x2f03d9!==null&&_0x2f03d9!==void 0x0&&_0x2f03d9['isFormat']?_0x5e6111:Cesium['Rectangle'][_0x51c5a3(_0x41388c._0x10f27d)](_0x5e6111['xmin'],_0x5e6111['ymin'],_0x5e6111['xmax'],_0x5e6111['ymax']);}['_onMapClick'](_0x4722b9){const _0x2914ef=_0x264411;this['_cache_event']=_0x4722b9,this['_mapVRenderer']&&this[_0x2914ef(0x189)]['clickEvent'](_0x4722b9['windowPosition'],_0x4722b9);}['_onMapMouseMove'](_0x4ac3f9){const _0x5b7361=_0x264411;this['_cache_event']=_0x4ac3f9,this['_mapVRenderer']&&this[_0x5b7361(0x189)]['mousemoveEvent'](_0x4ac3f9['windowPosition'],_0x4ac3f9);}['on'](_0x320da7,_0x30a885,_0x53f806){const _0x5e5d13={_0x25ecd0:0x1a3,_0xd17e3a:0x1ae},_0x1c2818={_0x307824:0x18b},_0x7f32f0={_0x5c2a6d:0x18b,_0x4c8b59:0x1bf},_0x4478a9=_0x264411;this[_0x4478a9(0x1c5)]['methods']=this['options'][_0x4478a9(_0x5e5d13._0x25ecd0)]||{};if(_0x320da7===mars3d__namespace['EventType']['click'])this['options']['methods']['click']=_0x2a58a9=>{const _0x4a46dc=_0x4478a9;_0x2a58a9&&_0x30a885[_0x4a46dc(_0x7f32f0._0x5c2a6d)](_0x53f806)({...this[_0x4a46dc(_0x7f32f0._0x4c8b59)],'layer':this,'data':_0x2a58a9});},this['_map']['on'](mars3d__namespace[_0x4478a9(_0x5e5d13._0xd17e3a)]['click'],this['_onMapClick'],this);else _0x320da7===mars3d__namespace['EventType']['mouseMove']&&(this[_0x4478a9(0x1c5)]['methods'][_0x4478a9(0x196)]=_0x919a=>{const _0x22ca51=_0x4478a9;_0x919a&&_0x30a885[_0x22ca51(_0x1c2818._0x307824)](_0x53f806)({...this['_cache_event'],'layer':this,'data':_0x919a});},this['_map']['on'](mars3d__namespace['EventType']['mouseMove'],this[_0x4478a9(0x1b7)],this));return this;}['off'](_0x1e2c96,_0x2f5c04){const _0x460600={_0xe0429e:0x1b8,_0x19f5fb:0x1a3},_0x408e16=_0x264411;if(_0x1e2c96==='click'){var _0x19bb62;this['_map']['off'](_0x1e2c96,this['_onMapClick'],this),(_0x19bb62=this['options']['methods'])!==null&&_0x19bb62!==void 0x0&&_0x19bb62['mousemove']&&delete this[_0x408e16(0x1c5)]['methods'][_0x408e16(_0x460600._0xe0429e)];}else{if(_0x1e2c96==='mouseMove'){var _0x1e64fd;this['_map']['off'](_0x1e2c96,this[_0x408e16(0x1b7)],this),(_0x1e64fd=this['options']['methods'])!==null&&_0x1e64fd!==void 0x0&&_0x1e64fd[_0x408e16(0x196)]&&delete this['options'][_0x408e16(_0x460600._0x19f5fb)]['mousemove'];}}return this;}}mars3d__namespace['LayerUtil']['register']('mapv',MapVLayer),mars3d__namespace['layer']['MapVLayer']=MapVLayer,mars3d__namespace['mapv']=mapv__namespace,mars3d__namespace['Log']['logInfo'](_0x264411(0x1c1)+version+'\x20\x20\x20\x20编译日期:'+buildTime),exports['MapVLayer']=MapVLayer,Object['keys'](mapv)['forEach'](function(_0x11b16f){const _0x4836ef={_0x30275d:0x18f},_0x46c56f=_0x264411;if(_0x11b16f!==_0x46c56f(_0x4836ef._0x30275d)&&!exports['hasOwnProperty'](_0x11b16f))Object[_0x46c56f(0x170)](exports,_0x11b16f,{'enumerable':!![],'get':function(){return mapv[_0x11b16f];}});}),Object['defineProperty'](exports,'__esModule',{'value':!![]}); }));