16 lines
22 KiB
JavaScript
16 lines
22 KiB
JavaScript
|
|
/**
|
|||
|
|
* Mars3D平台插件,结合mapv可视化功能插件 mars3d-mapv
|
|||
|
|
*
|
|||
|
|
* 版本信息:v3.7.3
|
|||
|
|
* 编译日期:2024-02-05 13:29:31
|
|||
|
|
* 版权所有:Copyright by 火星科技 http://mars3d.cn
|
|||
|
|
* 使用单位:免费公开版 ,2024-01-15
|
|||
|
|
*/
|
|||
|
|
(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 _0x51b9be=_0x52af;(function(_0x44cc04,_0x4c5281){const _0x3f10cc={_0x1f539c:0x165,_0x1af7cb:0x159,_0x2215b5:0x162,_0x191bf5:0x12a},_0x1a1298=_0x52af,_0x103036=_0x44cc04();while(!![]){try{const _0x536693=-parseInt(_0x1a1298(_0x3f10cc._0x1f539c))/0x1+-parseInt(_0x1a1298(_0x3f10cc._0x1af7cb))/0x2+parseInt(_0x1a1298(0x148))/0x3*(-parseInt(_0x1a1298(0x16e))/0x4)+parseInt(_0x1a1298(_0x3f10cc._0x2215b5))/0x5+-parseInt(_0x1a1298(0x12b))/0x6*(-parseInt(_0x1a1298(0x158))/0x7)+parseInt(_0x1a1298(_0x3f10cc._0x191bf5))/0x8*(parseInt(_0x1a1298(0x174))/0x9)+-parseInt(_0x1a1298(0x179))/0xa;if(_0x536693===_0x4c5281)break;else _0x103036['push'](_0x103036['shift']());}catch(_0x1dbd61){_0x103036['push'](_0x103036['shift']());}}}(_0x2a11,0xdb8b2));function _interopNamespace(_0x1d4871){const _0xc6ba22={_0x5e2c6f:0x175},_0x1a38e0=_0x52af;if(_0x1d4871&&_0x1d4871['__esModule'])return _0x1d4871;var _0x354929=Object[_0x1a38e0(_0xc6ba22._0x5e2c6f)](null);return _0x1d4871&&Object['keys'](_0x1d4871)['forEach'](function(_0x231b1d){const _0x427214=_0x1a38e0;if(_0x231b1d!=='default'){var _0x30299c=Object['getOwnPropertyDescriptor'](_0x1d4871,_0x231b1d);Object['defineProperty'](_0x354929,_0x231b1d,_0x30299c[_0x427214(0x17c)]?_0x30299c:{'enumerable':!![],'get':function(){return _0x1d4871[_0x231b1d];}});}}),_0x354929['default']=_0x1d4871,_0x354929;}var mapv__namespace=_interopNamespace(mapv),mars3d__namespace=_interopNamespace(mars3d);const Cesium$1=mars3d__namespace['Cesium'],baiduMapLayer=mapv__namespace?mapv__namespace[_0x51b9be(0x160)]:null,BaseLayer$1=baiduMapLayer?baiduMapLayer[_0x51b9be(0x17f)]:Function;function _0x52af(_0x95f0ab,_0x4dfac9){const _0x2a11bf=_0x2a11();return _0x52af=function(_0x52afd0,_0x1667cf){_0x52afd0=_0x52afd0-0x11b;let _0xc8603e=_0x2a11bf[_0x52afd0];return _0xc8603e;},_0x52af(_0x95f0ab,_0x4dfac9);}function _0x2a11(){const _0xa3bd5a=['restore','filter','_onMoveStartEvent','33ajpnaa','devicePixelRatio','addData','updateCallback','render','left','clampToGround','postRender','animator','function','windowPosition','stop','isEnabledTime','bind','prototype','DataSet','735zkvJYD','421568lEscCH','width','scale','click','resize','context','dataSet','baiduMapLayer','_mapVRenderer','7028535AbdpPB','_data','LineString','907527ctzAop','Cartographic','animation','transferCoordinate','zIndex','mousemove','methods','update','_onMapMouseMove','341252FZTnNs','keys','canvasLayer','LayerUtil','parentElement','remove','3285540puPkhT','create','clickEvent','globe','getData','6639980SGSgxf','concat','defineProperty','get','mapvDepthTest','getRectangle','__proto__','init','height','top','0px','_createCanvas','_onMapClick','positionWC','_showHook','_map','EllipsoidalOccluder','EventType','clear','mouseMove','fromDegrees','container','absolute','16kjwipk','84810qsGqjh','style','destroy','getHeight','clearRect','options','Rectangle','xmax','_removedHook','camera','initDataRange','isPointVisible','mouseDown','clearData','_cache_event','layer','push','_pointerEvents','canvas','off','getContext','data','processData','_reset','_addedHook','length'];_0x2a11=function(){return _0xa3bd5a;};return _0x2a11();}class MapVRenderer extends BaseLayer$1{constructor(_0x279065,_0x4a2bdc,_0x6d38bc,_0x34182a){super(_0x279065,_0x4a2bdc,_0x6d38bc);if(!BaseLayer$1)return;this['map']=_0x279065,this['scene']=_0x279065['scene'],this['dataSet']=_0x4a2bdc,_0x6d38bc=_0x6d38bc||{},this['init'](_0x6d38bc),this['argCheck'](_0x6d38bc),this['initDevicePixelRatio'](),this['canvasLayer']=_0x34182a,this['stopAniamation']=!0x1,this['animation']=_0x6d38bc['animation'];}['initDevicePixelRatio'](){const _0x3e6524={_0x5614be:0x149},_0x5544ca=_0x51b9be;this[_0x5544ca(_0x3e6524._0x5614be)]=window['devicePixelRatio']||0x1;}['addAnimatorEvent'](){}['animatorMovestartEvent'](){const _0x2eba9f=this['options']['animation'];this['isEnabledTime']()&&this['animator']&&(this['steps']['step']=_0x2eba9f['stepsRange']['start']);}['animatorMoveendEvent'](){this['isEnabledTime']()&&this['animator'];}['getContext'](){return this['canvasLayer']['canvas']['getContext'](this['context']);}[_0x51b9b
|
|||
|
|
}));
|