Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

mars2d-mapv

Package Overview
Dependencies
Maintainers
1
Versions
48
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mars2d-mapv - npm Package Compare versions

Comparing version 3.2.2 to 3.2.3

6

dist/mars2d-mapv.js
/**
* Mars2D平台插件,结合mapv可视化功能插件 mars2d-mapv
*
* 版本信息:v3.2.2
* 编译日期:2024-03-25 20:03:44
* 版本信息:v3.2.3
* 编译日期:2024-04-12 11:25:38
* 版权所有:Copyright by 火星科技 http://mars2d.cn

@@ -14,3 +14,3 @@ * 使用单位:免费公开版 ,2024-01-16

})(this, (function (exports, mapv, mars2d) {
'use strict';function _0x2c98(_0x556dbc,_0x53c654){const _0x3f69ea=_0x3f69();return _0x2c98=function(_0x2c9823,_0x436fc2){_0x2c9823=_0x2c9823-0x1e1;let _0x929cde=_0x3f69ea[_0x2c9823];return _0x929cde;},_0x2c98(_0x556dbc,_0x53c654);}const _0x469791=_0x2c98;(function(_0x366213,_0x2eb598){const _0x2e5a07={_0x12b090:0x1e5,_0x58e16e:0x22a,_0x2904b4:0x215},_0x4f08ec=_0x2c98,_0x455296=_0x366213();while(!![]){try{const _0x4acb4c=parseInt(_0x4f08ec(0x20f))/0x1*(-parseInt(_0x4f08ec(0x1fc))/0x2)+-parseInt(_0x4f08ec(0x21f))/0x3+parseInt(_0x4f08ec(_0x2e5a07._0x12b090))/0x4+parseInt(_0x4f08ec(_0x2e5a07._0x58e16e))/0x5+parseInt(_0x4f08ec(0x216))/0x6*(parseInt(_0x4f08ec(0x20b))/0x7)+-parseInt(_0x4f08ec(_0x2e5a07._0x2904b4))/0x8*(-parseInt(_0x4f08ec(0x1fb))/0x9)+-parseInt(_0x4f08ec(0x1f5))/0xa;if(_0x4acb4c===_0x2eb598)break;else _0x455296['push'](_0x455296['shift']());}catch(_0x5963ea){_0x455296['push'](_0x455296['shift']());}}}(_0x3f69,0x46421));function _interopNamespace(_0x432323){const _0x3b1c00={_0x506092:0x1ec,_0xd0d50b:0x1e1},_0x303f29=_0x2c98;if(_0x432323&&_0x432323[_0x303f29(0x20a)])return _0x432323;var _0x282c61=Object['create'](null);return _0x432323&&Object['keys'](_0x432323)['forEach'](function(_0x536019){const _0x317ffe=_0x303f29;if(_0x536019!==_0x317ffe(_0x3b1c00._0x506092)){var _0x3fe6d7=Object['getOwnPropertyDescriptor'](_0x432323,_0x536019);Object['defineProperty'](_0x282c61,_0x536019,_0x3fe6d7[_0x317ffe(_0x3b1c00._0xd0d50b)]?_0x3fe6d7:{'enumerable':!![],'get':function(){return _0x432323[_0x536019];}});}}),_0x282c61['default']=_0x432323,_0x282c61;}var mapv__namespace=_interopNamespace(mapv),mars2d__namespace=_interopNamespace(mars2d);const L$1=mars2d__namespace['L'];if(!mapv__namespace['DataSet'])throw new Error(_0x469791(0x220));const baiduMapLayer=mapv__namespace?mapv__namespace[_0x469791(0x227)]:null,BaseLayer=baiduMapLayer?baiduMapLayer[_0x469791(0x209)]:Function;function _0x3f69(){const _0x30eea4=['animator','width','moveStartEvent','filter','moveend','_mapVRenderer','clearData','1705968pJBiaH','请引入\x20mapv\x20库','processData','zoomStartEvent','movestart','time','unbindEvent','methods','baiduMapLayer','Util','canvasLayer','2392695PTENyE','MapVLayer','latLngToAccurateContainerPoint','trails','lat','style','get','latLngToContainerPoint','update','updateData','857948vGHCSE','layerPoint','hasOwnProperty','height','pid','_map','defineProperty','default','maxZoom','minZoom','options','initialize','isEnabledTime','moveEndEvent','getNorthWest','canvas','2139480kpozVa','context','click','leaflet-layer\x20leaflet-zoom-animated','steps','LayerUtil','4320666KdXZYf','7730dgTEDA','_hide','mousemoveEvent','getData','destination-out','map','getTopLeft','render','container','remove','devicePixelRatio','updateCallback','initAnimator','__proto__','__esModule','393729mPomGI','_resize','zoomstart','latLng','143ZnvoIE','mousemove','save','mapv渲染异常','mapv','dataSet','8RjhtmT','48BqMBgS','overlayPane'];_0x3f69=function(){return _0x30eea4;};return _0x3f69();}class MapVRenderer extends BaseLayer{constructor(_0x31b404,_0x46cd83,_0x196468,_0x2241a9){const _0x4d4242={_0x1b2173:0x229},_0x414fb9=_0x469791;_0x2241a9=_0x2241a9||{},super(_0x31b404,_0x196468,_0x2241a9);if(!BaseLayer)return;this[_0x414fb9(_0x4d4242._0x1b2173)]=_0x46cd83,this['init'](_0x2241a9),this['argCheck'](_0x2241a9),this['bindEvent']();}['clickEvent'](_0x373a89){const _0x1cf8aa={_0x56956c:0x206},_0x1c540e=_0x469791,_0x31590d=this['map']['containerPointToLayerPoint']([0x0,0x0]),_0x1de0cf=this[_0x1c540e(_0x1cf8aa._0x56956c)]=this['canvasLayer'][_0x1c540e(_0x1cf8aa._0x56956c)]=window['devicePixelRatio'],_0x18912a=_0x373a89['layerPoint'];super['clickEvent'](L$1['point']((_0x18912a['x']-_0x31590d['x'])/_0x1de0cf,(_0x18912a['y']-_0x31590d['y'])/_0x1de0cf),_0x373a89);}['mousemoveEvent'](_0xff446e){const _0x4c33cc={_0x4cee7b:0x1e6,_0x3bd6da:0x1fe},_0x11364b=_0x469791,_0xaa01e5=_0xff446e[_0x11364b(_0x4c33cc._0x4cee7b)];super[_0x11364b(_0x4c33cc._0x3bd6da)](_0xaa01e5,_0xff446e);}['bindEvent'](){const _0x331e24={_0x2496e1:0x201,_0xf9e0cb:0x1ef,_0x4fa604:0x1f7,_0x458f91:0x223,_0x1499c0:0x222},_0x439074=_0x469791,_0x368683=this[_0x439074(_0x331e24._0x2496e1)];this[_0x439074(_0x331e24._0xf9e0cb)]['methods']&&(this['options']['methods'][_0x439074(_0x331e24._0x4fa604)]&&_0x368683['on'](_0x439074(_0x331e24._0x4fa604),this['clickEvent'],this),this[_0x439074(_0x331e24._0xf9e0cb)]['methods'][_0x439074(0x210)]&&_0x368683['on']('mousemove',this['mousemoveEvent'],this)),this['map']['on'](_0x439074(_0x331e24._0x458f91),this['moveStartEvent'],this),this['map']['on'](_0x439074(0x21c),this['moveEndEvent'],this),this['map']['on']('zoomstart',this[_0x439074(_0x331e24._0x1499c0)],this);}['destroy'](){const _0x2c677a={_0x55475e:0x218},_0x4c5b12=_0x469791;this[_0x4c5b12(0x225)](),this['clearData']();this[_0x4c5b12(_0x2c677a._0x55475e)]&&(this['animator']['stop'](),this['animator']=null);this['canvasLayer']=null,this[_0x4c5b12(0x201)]=null;for(const _0x162e7c in this){delete this[_0x162e7c];}}[_0x469791(0x225)](){const _0x443c61={_0x11f9dd:0x21a,_0x5fbce3:0x1f2,_0x539e5b:0x20d},_0x52a7c6=_0x469791,_0x231bc0=this['map'];this['options'][_0x52a7c6(0x226)]&&(this['options']['methods'][_0x52a7c6(0x1f7)]&&_0x231bc0['off']('click',this['clickEvent'],this),this['options']['methods'][_0x52a7c6(0x210)]&&_0x231bc0['off']('mousemove',this['mousemoveEvent'],this)),this['map']['off']('movestart',this[_0x52a7c6(_0x443c61._0x11f9dd)],this),this['map']['off'](_0x52a7c6(0x21c),this[_0x52a7c6(_0x443c61._0x5fbce3)],this),this['map']['off'](_0x52a7c6(_0x443c61._0x539e5b),this['zoomStartEvent'],this);}['getContext'](){return this['canvasLayer']['getCanvas']()['getContext'](this['context']);}['addData'](_0x2bc42d,_0x392d51){const _0x12d405=_0x469791;let _0x285ab8=_0x2bc42d;_0x2bc42d&&_0x2bc42d['get']&&(_0x285ab8=_0x2bc42d['get']()),this[_0x12d405(0x214)]['add'](_0x285ab8),this['update']({'options':_0x392d51});}['update'](_0x2da94a){const _0x187550={_0x5841c2:0x1e1},_0x26fe02=_0x469791,_0x3b19d5=_0x2da94a||{};let _0x1e13a7=_0x3b19d5['data'];_0x1e13a7&&_0x1e13a7[_0x26fe02(_0x187550._0x5841c2)]&&(_0x1e13a7=_0x1e13a7['get']()),_0x1e13a7!==undefined&&this['dataSet']['set'](_0x1e13a7),super['update']({'options':_0x3b19d5['options']});}['getData'](){return this['dataSet'];}['removeData'](_0x2ebebd){const _0x4c2917={_0x5bfae5:0x214},_0x3e6fe6=_0x469791;if(!this['dataSet'])return;const _0x242604=this['dataSet']['get']({'filter':function(_0x15c116){return _0x2ebebd!=null&&typeof _0x2ebebd==='function'?!_0x2ebebd(_0x15c116):!![];}});this[_0x3e6fe6(_0x4c2917._0x5bfae5)]['set'](_0x242604),this['update']({'options':null});}[_0x469791(0x21e)](){const _0x242327={_0x4206a0:0x1e3},_0x2c435c=_0x469791;this[_0x2c435c(0x214)]&&this['dataSet']['clear'](),this[_0x2c435c(_0x242327._0x4206a0)]({'options':null});}['_canvasUpdate'](_0x52c950){const _0x3a897b={_0x21cec2:0x229,_0x26c70e:0x200,_0x4c8d4d:0x22c,_0xd454f7:0x214,_0x223005:0x221,_0x1e3267:0x212},_0x385118={_0x2b203e:0x22d,_0x1f7679:0x224},_0x4f1873={_0x1fa74f:0x20e,_0x2be1a4:0x22e},_0x24ac17=_0x469791;if(!this[_0x24ac17(_0x3a897b._0x21cec2)])return;const _0x2c8f04=this;try{const _0x3078c7=_0x2c8f04[_0x24ac17(0x1ef)]['animation'],_0x2248a2=this['getContext'](),_0x30eba6=this['map'];if(_0x2c8f04['isEnabledTime']()){if(_0x52c950===undefined){this['clear'](_0x2248a2);return;}this['context']==='2d'&&(_0x2248a2[_0x24ac17(0x211)](),_0x2248a2['globalCompositeOperation']=_0x24ac17(_0x3a897b._0x26c70e),_0x2248a2['fillStyle']='rgba(0,\x200,\x200,\x20.1)',_0x2248a2['fillRect'](0x0,0x0,_0x2248a2['canvas']['width'],_0x2248a2['canvas']['height']),_0x2248a2['restore']());}else this['clear'](_0x2248a2);if(this['context']==='2d')for(const _0x681bcd in _0x2c8f04['options']){_0x2248a2[_0x681bcd]=_0x2c8f04['options'][_0x681bcd];}else _0x2248a2['clear'](_0x2248a2['COLOR_BUFFER_BIT']);if(_0x2c8f04['options'][_0x24ac17(0x1ee)]&&_0x30eba6['getZoom']()<_0x2c8f04['options']['minZoom']||_0x2c8f04['options']['maxZoom']&&_0x30eba6['getZoom']()>_0x2c8f04['options'][_0x24ac17(0x1ed)])return;const _0x43d3d3=_0x30eba6['getBounds'](),_0x13b226=_0x43d3d3['getEast']()-_0x43d3d3['getWest'](),_0x19f4f1=_0x43d3d3['getNorth']()-_0x43d3d3['getSouth'](),_0x53a00c=_0x30eba6['getSize'](),_0x30a1a5=_0x13b226/_0x53a00c['x'],_0x51c62e=_0x19f4f1/_0x53a00c['y'],_0x29d73b=this[_0x24ac17(_0x3a897b._0x21cec2)][_0x24ac17(0x202)](),_0x15f513=_0x30eba6[_0x24ac17(_0x3a897b._0x4c8d4d)](_0x29d73b),_0x58a5ad={'transferCoordinate':function(_0x4ddc2f){const _0x2c59a7=_0x24ac17;let _0x3666b3;_0x2c8f04[_0x2c59a7(0x1f6)]==='2d'?_0x3666b3=_0x30eba6['latLngToAccurateContainerPoint'](L$1[_0x2c59a7(_0x4f1873._0x1fa74f)](_0x4ddc2f[0x1],_0x4ddc2f[0x0])):_0x3666b3={'x':(_0x4ddc2f[0x0]-_0x29d73b['lng'])/_0x30a1a5,'y':(_0x29d73b[_0x2c59a7(_0x4f1873._0x2be1a4)]-_0x4ddc2f[0x1])/_0x51c62e};const _0x508353={'x':_0x3666b3['x']-_0x15f513['x'],'y':_0x3666b3['y']-_0x15f513['x']};return[_0x508353['x'],_0x508353['y']];}};_0x52c950!==undefined&&(_0x58a5ad[_0x24ac17(0x21b)]=function(_0x578f8f){const _0x56082e=_0x24ac17,_0x98f8a0=_0x3078c7[_0x56082e(_0x385118._0x2b203e)]||0xa;return _0x52c950&&_0x578f8f[_0x56082e(_0x385118._0x1f7679)]>_0x52c950-_0x98f8a0&&_0x578f8f['time']<_0x52c950;});const _0x14116b=_0x2c8f04[_0x24ac17(_0x3a897b._0xd454f7)]['get'](_0x58a5ad);this[_0x24ac17(_0x3a897b._0x223005)](_0x14116b),_0x2c8f04[_0x24ac17(0x1ef)]['_size']=_0x2c8f04['options']['size'];const _0x15ac83=_0x30eba6[_0x24ac17(0x1e2)](L$1['latLng'](0x0,0x0)),_0x177e85={'x':_0x15ac83['x']-_0x15f513['x'],'y':_0x15ac83['y']-_0x15f513['y']};_0x14116b&&_0x14116b['length']>0x0&&this['drawContext'](_0x2248a2,_0x14116b,_0x2c8f04['options'],_0x177e85),_0x2c8f04['options']['updateCallback']&&_0x2c8f04['options'][_0x24ac17(0x207)](_0x52c950);}catch(_0x5b0bd8){console['log'](_0x24ac17(_0x3a897b._0x1e3267),_0x5b0bd8);}}['init'](_0x34925a){const _0x574048={_0x3817bb:0x1ef,_0x4d52e3:0x1ef,_0x17273f:0x208},_0x55616a=_0x469791,_0x298671=this;_0x298671[_0x55616a(_0x574048._0x3817bb)]=_0x34925a,this['initDataRange'](_0x34925a),this['context']=_0x298671[_0x55616a(_0x574048._0x4d52e3)]['context']||'2d',_0x298671['options']['zIndex']&&(this['canvasLayer']&&this[_0x55616a(0x229)]['setZIndex'](_0x298671['options']['zIndex'])),this[_0x55616a(_0x574048._0x17273f)]();}['addAnimatorEvent'](){}['moveStartEvent'](){const _0xabc78f={_0xd48090:0x218},_0x5abd5c=_0x469791,_0x23ca4a=this['options']['animation'];this[_0x5abd5c(0x1f1)]()&&this[_0x5abd5c(_0xabc78f._0xd48090)]&&(this[_0x5abd5c(0x1f9)]['step']=_0x23ca4a['stepsRange']['start'],this[_0x5abd5c(0x1fd)]());}['moveEndEvent'](){this['canvasLayer']['draw'](),this['_show']();}['zoomStartEvent'](){this['_hide']();}['clear'](_0x1734de){const _0x181cf0={_0x553f9b:0x219},_0x2680d0=_0x469791;_0x1734de&&_0x1734de['clearRect']&&_0x1734de['clearRect'](0x0,0x0,_0x1734de['canvas'][_0x2680d0(_0x181cf0._0x553f9b)],_0x1734de['canvas']['height']);}[_0x469791(0x1fd)](){this['canvasLayer']['canvas']['style']['display']='none';}['_show'](){const _0x24c05b=_0x469791;this[_0x24c05b(0x229)][_0x24c05b(0x1f4)]['style']['display']='block';}['draw'](){const _0x49856d={_0x414381:0x229},_0x4a0c82=_0x469791;this[_0x4a0c82(_0x49856d._0x414381)]['draw']();}}const L=mars2d__namespace['L'];class MapVLayer extends L['Layer']{[_0x469791(0x1f0)](_0x5eebac={},_0x5472f3){const _0xcefdf9={_0x7949d4:0x1ef},_0x396f0d=_0x469791;this['options']=_0x5eebac,this['dataSet']=_0x5472f3||new mapv__namespace['DataSet'](_0x5eebac['data']),this['options']['id']=this['options']['id']??mars2d__namespace[_0x396f0d(0x228)]['createGuid'](),this[_0x396f0d(_0xcefdf9._0x7949d4)][_0x396f0d(0x1e9)]=this[_0x396f0d(0x1ef)]['pid']??-0x1;}get['isAdded'](){return this['_map']&&this['_map']['hasLayer'](this);}get[_0x469791(0x1e9)](){const _0x2b679f={_0x535d10:0x1e9},_0x532b1a=_0x469791;return this['options'][_0x532b1a(_0x2b679f._0x535d10)];}set[_0x469791(0x1e9)](_0x39bd2c){this['options']['pid']=_0x39bd2c;}get['id'](){return this['options']['id'];}set['id'](_0x47172d){this['options']['id']=_0x47172d;}get['name'](){return this['options']['name'];}set['name'](_0x222750){this['options']['name']=_0x222750;}['onAdd'](_0x2cde1b){const _0x1cbb18={_0x127880:0x1ea,_0x24639b:0x22f,_0x3dfa55:0x1e8},_0x46d2f8=_0x469791;this[_0x46d2f8(_0x1cbb18._0x127880)]=_0x2cde1b;const _0x169fb7=_0x2cde1b['getPane'](this['options']['pane']||_0x46d2f8(0x217)),_0x4ca13f=L['DomUtil']['create']('div',_0x46d2f8(0x1f8),_0x169fb7);_0x4ca13f['style']['position']='absolute',_0x4ca13f['style']['top']='0px',_0x4ca13f['style']['left']='0px',_0x4ca13f['style']['zIndex']=this['options']['zIndex']||0x63,this['canvas']=this['_createCanvas'](),_0x4ca13f['appendChild'](this[_0x46d2f8(0x1f4)]);const _0x53bbe0=_0x2cde1b['getSize']();_0x4ca13f[_0x46d2f8(_0x1cbb18._0x24639b)]['width']=_0x53bbe0['x']+'px',_0x4ca13f[_0x46d2f8(_0x1cbb18._0x24639b)][_0x46d2f8(_0x1cbb18._0x3dfa55)]=_0x53bbe0['y']+'px',this['container']=_0x4ca13f,this['dataSet']&&(!this['dataSet']['_data']||this['dataSet']['_data']['length']===0x0)&&(this['dataSet']['_data']=[]['concat'](this['dataSet']['_dataCache'])),this['_mapVRenderer']=new MapVRenderer(_0x2cde1b,this,this['dataSet'],this[_0x46d2f8(0x1ef)]),this['draw'](),this['fire']('loaded');}['onRemove'](_0x31f1f3){const _0x20622e={_0x36268b:0x205},_0x4dbf41=_0x469791;this['_mapVRenderer']['destroy'](),delete this['_mapVRenderer'],L['DomUtil'][_0x4dbf41(_0x20622e._0x36268b)](this[_0x4dbf41(0x204)]),delete this['container'],delete this[_0x4dbf41(0x1f4)];}['addData'](_0x2b87b7){const _0x54906d=_0x469791;this['_mapVRenderer']&&this[_0x54906d(0x21d)]['addData'](_0x2b87b7,this['options']);}[_0x469791(0x1e4)](_0x994828){const _0x11c225=_0x469791;this['_mapVRenderer']&&this['_mapVRenderer'][_0x11c225(0x1e4)](_0x994828,this['options']);}[_0x469791(0x1ff)](){const _0x19d0ce=_0x469791;return this['_mapVRenderer']&&(this[_0x19d0ce(0x214)]=this['_mapVRenderer']['getData']()),this[_0x19d0ce(0x214)];}['removeData'](_0x4de309){const _0xb6de5e={_0xc1df0:0x21d},_0x5ac4e9=_0x469791;this['_mapVRenderer']&&this[_0x5ac4e9(_0xb6de5e._0xc1df0)]['removeData'](_0x4de309);}['removeAllData'](){const _0x385006=_0x469791;this['_mapVRenderer']&&this['_mapVRenderer'][_0x385006(0x21e)]();}['draw'](){this['_reset']();}['setZIndex'](_0x12b257){const _0x2aaeaa={_0x3fe5bb:0x204},_0x1184de=_0x469791;this[_0x1184de(0x1ef)]['zIndex']=_0x12b257,this[_0x1184de(_0x2aaeaa._0x3fe5bb)]&&(this['container']['style']['zIndex']=_0x12b257);}['render'](){this['_mapVRenderer']['_canvasUpdate']();}['getCanvas'](){return this['canvas'];}['getContainer'](){return this['container'];}['getTopLeft'](){const _0x46282f={_0x243a6b:0x1f3},_0x3bd0c1=_0x469791,_0x2e49c0=this['_map'];let _0x1a02d0;if(_0x2e49c0){const _0x252bce=_0x2e49c0['getBounds']();_0x1a02d0=_0x252bce[_0x3bd0c1(_0x46282f._0x243a6b)]();}return _0x1a02d0;}['_createCanvas'](){const _0x490361={_0x569517:0x22f,_0x3ed35b:0x22f,_0x54731e:0x1ef},_0x48ad54=_0x469791,_0x5062ab=document['createElement']('canvas');_0x5062ab['style']['position']='absolute',_0x5062ab[_0x48ad54(_0x490361._0x569517)]['top']=0x0+'px',_0x5062ab[_0x48ad54(_0x490361._0x3ed35b)]['left']=0x0+'px',_0x5062ab['style']['pointerEvents']='none',_0x5062ab['style']['zIndex']=this[_0x48ad54(_0x490361._0x54731e)]['zIndex']||0x258;const _0x1610a6=typeof window==='undefined'?{}:window,_0x251d1a=this['devicePixelRatio']=_0x1610a6['devicePixelRatio'];return this['options'][_0x48ad54(0x1f6)]==='2d'&&_0x5062ab['getContext']('2d')['scale'](_0x251d1a,_0x251d1a),_0x5062ab;}[_0x469791(0x20c)](){const _0x56e2a0=_0x469791,_0x4e26c6=this[_0x56e2a0(0x1f4)];if(!_0x4e26c6)return;const _0x53818d=this['_map'],_0x2ed131=_0x53818d['getSize']();_0x4e26c6['width']=_0x2ed131['x'],_0x4e26c6['height']=_0x2ed131['y'],_0x4e26c6['style'][_0x56e2a0(0x219)]=_0x2ed131['x']+'px',_0x4e26c6['style']['height']=_0x2ed131['y']+'px';const _0x5f2773=_0x53818d['getBounds'](),_0x500e55=_0x53818d['latLngToLayerPoint'](_0x5f2773['getNorthWest']());L['DomUtil']['setPosition'](_0x4e26c6,_0x500e55);}['_reset'](){this['_resize'](),this['_render']();}['redraw'](){const _0x82d181=_0x469791;this[_0x82d181(0x20c)](),this['_render']();}['_render'](){const _0x304a2d={_0x5673c4:0x203},_0x360d1e=_0x469791;this[_0x360d1e(_0x304a2d._0x5673c4)]();}}mars2d__namespace['layer'][_0x469791(0x22b)]=MapVLayer,mars2d__namespace[_0x469791(0x1fa)]['register'](_0x469791(0x213),MapVLayer),exports[_0x469791(0x22b)]=MapVLayer,Object['keys'](mapv)['forEach'](function(_0x29ec9f){const _0x9a6a9e=_0x469791;if(_0x29ec9f!==_0x9a6a9e(0x1ec)&&!exports[_0x9a6a9e(0x1e7)](_0x29ec9f))Object[_0x9a6a9e(0x1eb)](exports,_0x29ec9f,{'enumerable':!![],'get':function(){return mapv[_0x29ec9f];}});}),Object['defineProperty'](exports,'__esModule',{'value':!![]});
'use strict';const _0x111c8e=_0x37bb;(function(_0xdc0203,_0x4ccf38){const _0x6145d3={_0x5c63cb:0x180,_0x4a9111:0x1a7,_0x1506c5:0x151,_0x114dac:0x1bb,_0x17640a:0x1a9,_0x497882:0x16a},_0x231cda=_0x37bb,_0x28b764=_0xdc0203();while(!![]){try{const _0x22166b=-parseInt(_0x231cda(0x16d))/0x1*(-parseInt(_0x231cda(0x153))/0x2)+parseInt(_0x231cda(_0x6145d3._0x5c63cb))/0x3+parseInt(_0x231cda(_0x6145d3._0x4a9111))/0x4*(-parseInt(_0x231cda(0x156))/0x5)+-parseInt(_0x231cda(_0x6145d3._0x1506c5))/0x6*(parseInt(_0x231cda(_0x6145d3._0x114dac))/0x7)+-parseInt(_0x231cda(0x15c))/0x8+parseInt(_0x231cda(0x15b))/0x9*(-parseInt(_0x231cda(_0x6145d3._0x17640a))/0xa)+parseInt(_0x231cda(_0x6145d3._0x497882))/0xb;if(_0x22166b===_0x4ccf38)break;else _0x28b764['push'](_0x28b764['shift']());}catch(_0x17c8c6){_0x28b764['push'](_0x28b764['shift']());}}}(_0x386b,0x7e33d));function _interopNamespace(_0x807498){const _0x53af12={_0x5117fd:0x175},_0xdeee25={_0x40d477:0x19a,_0x1c2ed3:0x17a},_0x500b0f={_0x510378:0x186,_0x2d1b3d:0x18a,_0x44ba23:0x186,_0x153917:0x18a},_0x29f3c0=_0x37bb,_0xbb2676=(function(){let _0x1687e5=!![];return function(_0x195b00,_0x202b20){const _0x3f1be5=_0x1687e5?function(){if(_0x202b20){const _0x53ac44=_0x202b20['apply'](_0x195b00,arguments);return _0x202b20=null,_0x53ac44;}}:function(){};return _0x1687e5=![],_0x3f1be5;};}()),_0x1400c1=_0xbb2676(this,function(){const _0x155a85=_0x37bb;return _0x1400c1[_0x155a85(_0x500b0f._0x510378)]()[_0x155a85(0x193)](_0x155a85(_0x500b0f._0x2d1b3d))[_0x155a85(_0x500b0f._0x44ba23)]()['constructor'](_0x1400c1)['search'](_0x155a85(_0x500b0f._0x153917));});_0x1400c1();if(_0x807498&&_0x807498['__esModule'])return _0x807498;var _0x4b0db6=Object[_0x29f3c0(0x1c0)](null);return _0x807498&&Object[_0x29f3c0(0x141)](_0x807498)['forEach'](function(_0x15e4e6){const _0x23bd5d=_0x29f3c0;if(_0x15e4e6!=='default'){var _0xeeda34=Object[_0x23bd5d(_0xdeee25._0x40d477)](_0x807498,_0x15e4e6);Object[_0x23bd5d(_0xdeee25._0x1c2ed3)](_0x4b0db6,_0x15e4e6,_0xeeda34['get']?_0xeeda34:{'enumerable':!![],'get':function(){return _0x807498[_0x15e4e6];}});}}),_0x4b0db6[_0x29f3c0(_0x53af12._0x5117fd)]=_0x807498,_0x4b0db6;}function _0x37bb(_0x2557b4,_0x1ec9bd){const _0x3b0039=_0x386b();return _0x37bb=function(_0x27822b,_0x389637){_0x27822b=_0x27822b-0x13a;let _0x386b11=_0x3b0039[_0x27822b];if(_0x37bb['EMSXgy']===undefined){var _0x37bb02=function(_0x3190fe){const _0xcca04e='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x593a08='',_0x3ba02f='',_0x35f00c=_0x593a08+_0x37bb02;for(let _0x5303d7=0x0,_0xff1323,_0x5c9b59,_0x5b31fa=0x0;_0x5c9b59=_0x3190fe['charAt'](_0x5b31fa++);~_0x5c9b59&&(_0xff1323=_0x5303d7%0x4?_0xff1323*0x40+_0x5c9b59:_0x5c9b59,_0x5303d7++%0x4)?_0x593a08+=_0x35f00c['charCodeAt'](_0x5b31fa+0xa)-0xa!==0x0?String['fromCharCode'](0xff&_0xff1323>>(-0x2*_0x5303d7&0x6)):_0x5303d7:0x0){_0x5c9b59=_0xcca04e['indexOf'](_0x5c9b59);}for(let _0x19007b=0x0,_0x2c7864=_0x593a08['length'];_0x19007b<_0x2c7864;_0x19007b++){_0x3ba02f+='%'+('00'+_0x593a08['charCodeAt'](_0x19007b)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x3ba02f);};_0x37bb['gQfSUd']=_0x37bb02,_0x2557b4=arguments,_0x37bb['EMSXgy']=!![];}const _0x584759=_0x3b0039[0x0],_0x58ea88=_0x27822b+_0x584759,_0x437d8b=_0x2557b4[_0x58ea88];if(!_0x437d8b){const _0x807498=function(_0xbb2676){this['BMEZxX']=_0xbb2676,this['EoSfoV']=[0x1,0x0,0x0],this['iogWWH']=function(){return'newState';},this['TEgKFF']='\x5cw+\x20*\x5c(\x5c)\x20*{\x5cw+\x20*',this['JzLlgc']='[\x27|\x22].+[\x27|\x22];?\x20*}';};_0x807498['prototype']['RXvPnO']=function(){const _0x1400c1=new RegExp(this['TEgKFF']+this['JzLlgc']),_0x4b0db6=_0x1400c1['test'](this['iogWWH']['toString']())?--this['EoSfoV'][0x1]:--this['EoSfoV'][0x0];return this['rVifRr'](_0x4b0db6);},_0x807498['prototype']['rVifRr']=function(_0x1687e5){if(!Boolean(~_0x1687e5))return _0x1687e5;return this['rHADux'](this['BMEZxX']);},_0x807498['prototype']['rHADux']=function(_0x195b00){for(let _0x202b20=0x0,_0x3f1be5=this['EoSfoV']['length'];_0x202b20<_0x3f1be5;_0x202b20++){this['EoSfoV']['push'](Math['round'](Math['random']())),_0x3f1be5=this['EoSfoV']['length'];}return _0x195b00(this['EoSfoV'][0x0]);},new _0x807498(_0x37bb)['RXvPnO'](),_0x386b11=_0x37bb['gQfSUd'](_0x386b11),_0x2557b4[_0x58ea88]=_0x386b11;}else _0x386b11=_0x437d8b;return _0x386b11;},_0x37bb(_0x2557b4,_0x1ec9bd);}var mapv__namespace=_interopNamespace(mapv),mars2d__namespace=_interopNamespace(mars2d);const L$1=mars2d__namespace['L'];if(!mapv__namespace['DataSet'])throw new Error(_0x111c8e(0x1b1));const baiduMapLayer=mapv__namespace?mapv__namespace[_0x111c8e(0x144)]:null,BaseLayer=baiduMapLayer?baiduMapLayer[_0x111c8e(0x15a)]:Function;class MapVRenderer extends BaseLayer{constructor(_0x1618cb,_0x4a70b5,_0x56c8bf,_0x4de9b6){const _0x225459={_0x195f7a:0x19c,_0x1bbfa6:0x174},_0x17b86b=_0x111c8e;_0x4de9b6=_0x4de9b6||{},super(_0x1618cb,_0x56c8bf,_0x4de9b6);if(!BaseLayer)return;this[_0x17b86b(0x16e)]=_0x4a70b5,this[_0x17b86b(_0x225459._0x195f7a)](_0x4de9b6),this[_0x17b86b(0x17d)](_0x4de9b6),this[_0x17b86b(_0x225459._0x1bbfa6)]();}[_0x111c8e(0x163)](_0x427cf9){const _0x2da5a5={_0x5980cc:0x1a0,_0x729b6b:0x1ca},_0xba8266=_0x111c8e,_0x5dd3b8=this['map'][_0xba8266(_0x2da5a5._0x5980cc)]([0x0,0x0]),_0x53d95d=this['devicePixelRatio']=this[_0xba8266(0x16e)]['devicePixelRatio']=window[_0xba8266(0x154)],_0x52d6e9=_0x427cf9[_0xba8266(_0x2da5a5._0x729b6b)];super['clickEvent'](L$1['point']((_0x52d6e9['x']-_0x5dd3b8['x'])/_0x53d95d,(_0x52d6e9['y']-_0x5dd3b8['y'])/_0x53d95d),_0x427cf9);}[_0x111c8e(0x169)](_0x2a66b3){const _0x7bccd9={_0x42f883:0x169},_0x5c5bc5=_0x111c8e,_0x12915d=_0x2a66b3['layerPoint'];super[_0x5c5bc5(_0x7bccd9._0x42f883)](_0x12915d,_0x2a66b3);}['bindEvent'](){const _0x29bb50={_0x3c1bec:0x178,_0xc167ba:0x1b9,_0x277ac6:0x142,_0x394494:0x169,_0x5e23d0:0x1c8,_0x5d5a7b:0x1c7,_0x1e0fd6:0x1c8,_0x4d35b3:0x1c8},_0x2a64e6=_0x111c8e,_0x29ac36=this['map'];this['options'][_0x2a64e6(_0x29bb50._0x3c1bec)]&&(this[_0x2a64e6(_0x29bb50._0xc167ba)]['methods'][_0x2a64e6(_0x29bb50._0x277ac6)]&&_0x29ac36['on'](_0x2a64e6(0x142),this[_0x2a64e6(0x163)],this),this[_0x2a64e6(0x1b9)]['methods'][_0x2a64e6(0x160)]&&_0x29ac36['on']('mousemove',this[_0x2a64e6(_0x29bb50._0x394494)],this)),this[_0x2a64e6(_0x29bb50._0x5e23d0)]['on'](_0x2a64e6(0x1c6),this[_0x2a64e6(_0x29bb50._0x5d5a7b)],this),this[_0x2a64e6(_0x29bb50._0x1e0fd6)]['on']('moveend',this['moveEndEvent'],this),this[_0x2a64e6(_0x29bb50._0x4d35b3)]['on']('zoomstart',this[_0x2a64e6(0x196)],this);}[_0x111c8e(0x1b8)](){const _0x2b2757={_0x2a6978:0x1c4,_0x34ffc3:0x16e},_0x102bf0=_0x111c8e;this[_0x102bf0(0x1b0)](),this['clearData']();this['animator']&&(this[_0x102bf0(_0x2b2757._0x2a6978)][_0x102bf0(0x171)](),this[_0x102bf0(_0x2b2757._0x2a6978)]=null);this[_0x102bf0(_0x2b2757._0x34ffc3)]=null,this[_0x102bf0(0x1c8)]=null;for(const _0x4a3799 in this){delete this[_0x4a3799];}}[_0x111c8e(0x1b0)](){const _0x42a6c3={_0x225b78:0x178,_0x3a52ff:0x1b9,_0x30f03f:0x142,_0x8cb0e1:0x195,_0x576247:0x142,_0x2d9a5e:0x195,_0x1b8273:0x196},_0x485276=_0x111c8e,_0x19c27f=this[_0x485276(0x1c8)];this['options'][_0x485276(_0x42a6c3._0x225b78)]&&(this[_0x485276(_0x42a6c3._0x3a52ff)]['methods'][_0x485276(_0x42a6c3._0x30f03f)]&&_0x19c27f[_0x485276(_0x42a6c3._0x8cb0e1)](_0x485276(_0x42a6c3._0x576247),this['clickEvent'],this),this[_0x485276(0x1b9)][_0x485276(_0x42a6c3._0x225b78)][_0x485276(0x160)]&&_0x19c27f[_0x485276(0x195)]('mousemove',this[_0x485276(0x169)],this)),this['map'][_0x485276(0x195)](_0x485276(0x1c6),this[_0x485276(0x1c7)],this),this[_0x485276(0x1c8)][_0x485276(_0x42a6c3._0x8cb0e1)](_0x485276(0x1aa),this['moveEndEvent'],this),this[_0x485276(0x1c8)][_0x485276(_0x42a6c3._0x2d9a5e)](_0x485276(0x161),this[_0x485276(_0x42a6c3._0x1b8273)],this);}['getContext'](){const _0x3fa017={_0x51f6f5:0x13b,_0x1a47fd:0x1b4},_0x3e8d17=_0x111c8e;return this['canvasLayer'][_0x3e8d17(0x172)]()[_0x3e8d17(_0x3fa017._0x51f6f5)](this[_0x3e8d17(_0x3fa017._0x1a47fd)]);}['addData'](_0x2fe89f,_0x2da97f){const _0x176201={_0x5bf380:0x1a6,_0x4ac65e:0x18d},_0xbc6862=_0x111c8e;let _0x13bef1=_0x2fe89f;_0x2fe89f&&_0x2fe89f[_0xbc6862(_0x176201._0x5bf380)]&&(_0x13bef1=_0x2fe89f[_0xbc6862(0x1a6)]());this[_0xbc6862(_0x176201._0x4ac65e)][_0xbc6862(0x177)](_0x13bef1);const _0x220972={};_0x220972[_0xbc6862(0x1b9)]=_0x2da97f,this['update'](_0x220972);}['update'](_0x2180d6){const _0x3f518d={_0x1f22a6:0x1a6},_0x38783d=_0x111c8e,_0x25df59=_0x2180d6||{};let _0x38ab1e=_0x25df59[_0x38783d(0x18e)];_0x38ab1e&&_0x38ab1e[_0x38783d(0x1a6)]&&(_0x38ab1e=_0x38ab1e[_0x38783d(_0x3f518d._0x1f22a6)]());_0x38ab1e!==undefined&&this['dataSet'][_0x38783d(0x155)](_0x38ab1e);const _0x5bf3da={};_0x5bf3da[_0x38783d(0x1b9)]=_0x25df59[_0x38783d(0x1b9)],super['update'](_0x5bf3da);}[_0x111c8e(0x1b6)](){const _0x49301e={_0x131f21:0x18d},_0x1804b3=_0x111c8e;return this[_0x1804b3(_0x49301e._0x131f21)];}[_0x111c8e(0x183)](_0x484182){const _0x3e74f1={_0xa0081e:0x18d,_0x101bd2:0x18d,_0xe21b70:0x1a6,_0x130546:0x1b9,_0x13da9d:0x1b2},_0xb7b11=_0x111c8e;if(!this[_0xb7b11(_0x3e74f1._0xa0081e)])return;const _0x464caa=this[_0xb7b11(_0x3e74f1._0x101bd2)][_0xb7b11(_0x3e74f1._0xe21b70)]({'filter':function(_0x48c299){const _0x42d992=_0xb7b11;return _0x484182!=null&&typeof _0x484182===_0x42d992(0x13c)?!_0x484182(_0x48c299):!![];}});this['dataSet']['set'](_0x464caa);const _0x515b3d={};_0x515b3d[_0xb7b11(_0x3e74f1._0x130546)]=null,this[_0xb7b11(_0x3e74f1._0x13da9d)](_0x515b3d);}[_0x111c8e(0x16c)](){const _0x2cb88a={_0x3a09c5:0x1b9,_0x20fbaa:0x1b2},_0x17795f=_0x111c8e;this[_0x17795f(0x18d)]&&this['dataSet']['clear']();const _0xade52a={};_0xade52a[_0x17795f(_0x2cb88a._0x3a09c5)]=null,this[_0x17795f(_0x2cb88a._0x20fbaa)](_0xade52a);}['_canvasUpdate'](_0x590dde){const _0x5b0acb={_0x39f8fb:0x16e,_0x422c49:0x14a,_0x583278:0x1c8,_0xf9b0fe:0x189,_0x284e91:0x173,_0x348740:0x1c1,_0x3f4f13:0x140,_0xb45967:0x1ab,_0x2e8fa5:0x191,_0xd89ff5:0x1b4,_0x2b2910:0x15f,_0x5f4eff:0x197,_0x281ba0:0x1b9,_0x4fc0c9:0x176,_0x4ee815:0x146,_0x1db608:0x167,_0x5e7f28:0x199,_0x1844b5:0x1b5,_0x4615f0:0x13a,_0xe790c1:0x152,_0x7f10f6:0x18d,_0x47490f:0x1a6,_0x4014d7:0x14c,_0x105311:0x1b9},_0x1a384c={_0x17523f:0x19b,_0x3e6845:0x164},_0x211a6c={_0x3fcf98:0x1b4,_0x5636d8:0x152,_0xb02ce6:0x149,_0x192c82:0x192},_0x161ea0=_0x111c8e;if(!this[_0x161ea0(_0x5b0acb._0x39f8fb)])return;const _0x2b9d63=this;try{const _0x2d0508=_0x2b9d63['options'][_0x161ea0(_0x5b0acb._0x422c49)],_0x2ac96d=this['getContext'](),_0x431d74=this[_0x161ea0(_0x5b0acb._0x583278)];if(_0x2b9d63[_0x161ea0(_0x5b0acb._0xf9b0fe)]()){if(_0x590dde===undefined){this[_0x161ea0(0x191)](_0x2ac96d);return;}this['context']==='2d'&&(_0x2ac96d[_0x161ea0(_0x5b0acb._0x284e91)](),_0x2ac96d[_0x161ea0(_0x5b0acb._0x348740)]=_0x161ea0(0x1ad),_0x2ac96d['fillStyle']=_0x161ea0(_0x5b0acb._0x3f4f13),_0x2ac96d[_0x161ea0(0x165)](0x0,0x0,_0x2ac96d[_0x161ea0(0x185)]['width'],_0x2ac96d['canvas'][_0x161ea0(_0x5b0acb._0xb45967)]),_0x2ac96d[_0x161ea0(0x166)]());}else this[_0x161ea0(_0x5b0acb._0x2e8fa5)](_0x2ac96d);if(this[_0x161ea0(_0x5b0acb._0xd89ff5)]==='2d')for(const _0x521a82 in _0x2b9d63[_0x161ea0(0x1b9)]){_0x2ac96d[_0x521a82]=_0x2b9d63['options'][_0x521a82];}else _0x2ac96d[_0x161ea0(_0x5b0acb._0x2e8fa5)](_0x2ac96d['COLOR_BUFFER_BIT']);if(_0x2b9d63['options'][_0x161ea0(0x1a1)]&&_0x431d74[_0x161ea0(0x197)]()<_0x2b9d63['options'][_0x161ea0(0x1a1)]||_0x2b9d63['options'][_0x161ea0(_0x5b0acb._0x2b2910)]&&_0x431d74[_0x161ea0(_0x5b0acb._0x5f4eff)]()>_0x2b9d63[_0x161ea0(_0x5b0acb._0x281ba0)][_0x161ea0(0x15f)])return;const _0x422f19=_0x431d74[_0x161ea0(_0x5b0acb._0x4fc0c9)](),_0x335613=_0x422f19[_0x161ea0(_0x5b0acb._0x4ee815)]()-_0x422f19['getWest'](),_0x90a935=_0x422f19[_0x161ea0(_0x5b0acb._0x1db608)]()-_0x422f19[_0x161ea0(_0x5b0acb._0x5e7f28)](),_0x968216=_0x431d74[_0x161ea0(_0x5b0acb._0x1844b5)](),_0x5a3ec7=_0x335613/_0x968216['x'],_0x162e26=_0x90a935/_0x968216['y'],_0x5a4d54=this[_0x161ea0(_0x5b0acb._0x39f8fb)][_0x161ea0(_0x5b0acb._0x4615f0)](),_0x25a83e=_0x431d74[_0x161ea0(_0x5b0acb._0xe790c1)](_0x5a4d54),_0xfc97e9={'transferCoordinate':function(_0x26c3da){const _0x4e52c8=_0x161ea0;let _0x5a44e1;if(_0x2b9d63[_0x4e52c8(_0x211a6c._0x3fcf98)]==='2d')_0x5a44e1=_0x431d74[_0x4e52c8(_0x211a6c._0x5636d8)](L$1[_0x4e52c8(_0x211a6c._0xb02ce6)](_0x26c3da[0x1],_0x26c3da[0x0]));else{const _0x30c709={};_0x30c709['x']=(_0x26c3da[0x0]-_0x5a4d54[_0x4e52c8(_0x211a6c._0x192c82)])/_0x5a3ec7,_0x30c709['y']=(_0x5a4d54['lat']-_0x26c3da[0x1])/_0x162e26,_0x5a44e1=_0x30c709;}const _0x2b498d={};_0x2b498d['x']=_0x5a44e1['x']-_0x25a83e['x'],_0x2b498d['y']=_0x5a44e1['y']-_0x25a83e['x'];const _0x42ee94=_0x2b498d;return[_0x42ee94['x'],_0x42ee94['y']];}};_0x590dde!==undefined&&(_0xfc97e9['filter']=function(_0x111f17){const _0x1a059e=_0x161ea0,_0xc24c21=_0x2d0508[_0x1a059e(_0x1a384c._0x17523f)]||0xa;return _0x590dde&&_0x111f17[_0x1a059e(0x164)]>_0x590dde-_0xc24c21&&_0x111f17[_0x1a059e(_0x1a384c._0x3e6845)]<_0x590dde;});const _0x12c24f=_0x2b9d63[_0x161ea0(_0x5b0acb._0x7f10f6)][_0x161ea0(_0x5b0acb._0x47490f)](_0xfc97e9);this[_0x161ea0(0x187)](_0x12c24f),_0x2b9d63[_0x161ea0(_0x5b0acb._0x281ba0)][_0x161ea0(0x1ae)]=_0x2b9d63['options'][_0x161ea0(0x14e)];const _0x355756=_0x431d74[_0x161ea0(_0x5b0acb._0x4014d7)](L$1['latLng'](0x0,0x0)),_0x3ba621={};_0x3ba621['x']=_0x355756['x']-_0x25a83e['x'],_0x3ba621['y']=_0x355756['y']-_0x25a83e['y'];const _0x3ef544=_0x3ba621;_0x12c24f&&_0x12c24f[_0x161ea0(0x198)]>0x0&&this['drawContext'](_0x2ac96d,_0x12c24f,_0x2b9d63['options'],_0x3ef544),_0x2b9d63[_0x161ea0(_0x5b0acb._0x105311)]['updateCallback']&&_0x2b9d63['options'][_0x161ea0(0x17e)](_0x590dde);}catch(_0x348372){console[_0x161ea0(0x1bf)]('mapv渲染异常',_0x348372);}}['init'](_0x4a898a){const _0x3b8b5f={_0x35aa44:0x17c,_0x23e9b7:0x1b9,_0x2f93c6:0x162,_0xc47bfb:0x16e,_0xb7fbe3:0x16e,_0x35bc90:0x14d},_0x57244c=_0x111c8e,_0x3b01d7=this;_0x3b01d7[_0x57244c(0x1b9)]=_0x4a898a,this[_0x57244c(_0x3b8b5f._0x35aa44)](_0x4a898a),this['context']=_0x3b01d7[_0x57244c(_0x3b8b5f._0x23e9b7)][_0x57244c(0x1b4)]||'2d',_0x3b01d7['options'][_0x57244c(_0x3b8b5f._0x2f93c6)]&&(this[_0x57244c(_0x3b8b5f._0xc47bfb)]&&this[_0x57244c(_0x3b8b5f._0xb7fbe3)][_0x57244c(0x19d)](_0x3b01d7['options'][_0x57244c(0x162)])),this[_0x57244c(_0x3b8b5f._0x35bc90)]();}['addAnimatorEvent'](){}['moveStartEvent'](){const _0x39039b={_0x2c72a4:0x1b9,_0x49ddc4:0x13e},_0x5680b6=_0x111c8e,_0x47f621=this[_0x5680b6(_0x39039b._0x2c72a4)]['animation'];this['isEnabledTime']()&&this['animator']&&(this['steps'][_0x5680b6(0x1af)]=_0x47f621[_0x5680b6(0x168)]['start'],this[_0x5680b6(_0x39039b._0x49ddc4)]());}['moveEndEvent'](){const _0x36d8e5={_0x4644ec:0x170},_0x3015ba=_0x111c8e;this['canvasLayer'][_0x3015ba(0x18b)](),this[_0x3015ba(_0x36d8e5._0x4644ec)]();}[_0x111c8e(0x196)](){const _0x3202ac={_0x4c6301:0x13e},_0x3d10c5=_0x111c8e;this[_0x3d10c5(_0x3202ac._0x4c6301)]();}[_0x111c8e(0x191)](_0x3d7e9f){const _0x1d05b3={_0x43f2d0:0x1c2,_0x19bbbe:0x1c2,_0x4360b3:0x185},_0x340a7d=_0x111c8e;_0x3d7e9f&&_0x3d7e9f[_0x340a7d(_0x1d05b3._0x43f2d0)]&&_0x3d7e9f[_0x340a7d(_0x1d05b3._0x19bbbe)](0x0,0x0,_0x3d7e9f[_0x340a7d(_0x1d05b3._0x4360b3)]['width'],_0x3d7e9f[_0x340a7d(0x185)]['height']);}['_hide'](){const _0xa227f4={_0x1556d6:0x16e,_0x51963c:0x185,_0x5cd637:0x181},_0x39a357=_0x111c8e;this[_0x39a357(_0xa227f4._0x1556d6)][_0x39a357(_0xa227f4._0x51963c)][_0x39a357(_0xa227f4._0x5cd637)]['display']='none';}['_show'](){const _0x2f872f={_0x2cbfd1:0x16e},_0x5c27ca=_0x111c8e;this[_0x5c27ca(_0x2f872f._0x2cbfd1)]['canvas']['style']['display']=_0x5c27ca(0x16b);}['draw'](){const _0x1d731b={_0x29c490:0x16e,_0x3f5e21:0x18b},_0x517b0b=_0x111c8e;this[_0x517b0b(_0x1d731b._0x29c490)][_0x517b0b(_0x1d731b._0x3f5e21)]();}}const L=mars2d__namespace['L'];class MapVLayer extends L[_0x111c8e(0x190)]{[_0x111c8e(0x157)](_0x1d84ed={},_0x3dd48a){const _0x1e1611={_0x5eca6f:0x1b9,_0x3c0cd8:0x14b,_0x2946c0:0x1b9,_0x2bcd4e:0x13f,_0x27d493:0x1c9},_0x2bda21=_0x111c8e;var _0xc67545,_0x5462fe;this[_0x2bda21(_0x1e1611._0x5eca6f)]=_0x1d84ed,this['dataSet']=_0x3dd48a||new mapv__namespace[(_0x2bda21(_0x1e1611._0x3c0cd8))](_0x1d84ed[_0x2bda21(0x18e)]),this['options']['id']=(_0xc67545=this[_0x2bda21(_0x1e1611._0x2946c0)]['id'])!==null&&_0xc67545!==void 0x0?_0xc67545:mars2d__namespace[_0x2bda21(_0x1e1611._0x2bcd4e)][_0x2bda21(0x18f)](),this[_0x2bda21(_0x1e1611._0x2946c0)][_0x2bda21(0x1c9)]=(_0x5462fe=this['options'][_0x2bda21(_0x1e1611._0x27d493)])!==null&&_0x5462fe!==void 0x0?_0x5462fe:-0x1;}get['isAdded'](){const _0x4f3812={_0x17365c:0x194},_0x28228d=_0x111c8e;return this[_0x28228d(_0x4f3812._0x17365c)]&&this['_map']['hasLayer'](this);}get['pid'](){const _0x5da0c7={_0x2911f7:0x1b9,_0x4c5f12:0x1c9},_0x5a17cf=_0x111c8e;return this[_0x5a17cf(_0x5da0c7._0x2911f7)][_0x5a17cf(_0x5da0c7._0x4c5f12)];}set[_0x111c8e(0x1c9)](_0xc21201){const _0x2135c5=_0x111c8e;this[_0x2135c5(0x1b9)]['pid']=_0xc21201;}get['id'](){const _0x12d231={_0x1e91bd:0x1b9},_0x129079=_0x111c8e;return this[_0x129079(_0x12d231._0x1e91bd)]['id'];}set['id'](_0xc93c66){const _0x13debe={_0x3b4ac5:0x1b9},_0xfe6585=_0x111c8e;this[_0xfe6585(_0x13debe._0x3b4ac5)]['id']=_0xc93c66;}get[_0x111c8e(0x143)](){const _0x39fa25=_0x111c8e;return this[_0x39fa25(0x1b9)]['name'];}set['name'](_0x515a8f){const _0x445174={_0x3104d9:0x143},_0x1f72b0=_0x111c8e;this['options'][_0x1f72b0(_0x445174._0x3104d9)]=_0x515a8f;}['onAdd'](_0x5b719f){const _0x31e6a1={_0x43189d:0x1b9,_0x50e6bf:0x1a3,_0x3f6bd6:0x181,_0x2807b0:0x19e,_0x11519a:0x159,_0xc8069e:0x181,_0x49dac0:0x162,_0x519add:0x1a4,_0x69e9b1:0x185,_0x23484f:0x1b5,_0x8b54d7:0x13d,_0x1b1248:0x18d,_0x1ab4b1:0x198,_0x123b44:0x18d,_0x1a85b3:0x1b3},_0x11c831=_0x111c8e;this['_map']=_0x5b719f;const _0x4ec124=_0x5b719f[_0x11c831(0x17b)](this[_0x11c831(_0x31e6a1._0x43189d)]['pane']||'overlayPane'),_0x4851c4=L['DomUtil']['create'](_0x11c831(_0x31e6a1._0x50e6bf),'leaflet-layer\x20leaflet-zoom-animated',_0x4ec124);_0x4851c4[_0x11c831(_0x31e6a1._0x3f6bd6)][_0x11c831(0x1a5)]=_0x11c831(_0x31e6a1._0x2807b0),_0x4851c4[_0x11c831(0x181)]['top']='0px',_0x4851c4['style'][_0x11c831(_0x31e6a1._0x11519a)]='0px',_0x4851c4[_0x11c831(_0x31e6a1._0xc8069e)][_0x11c831(_0x31e6a1._0x49dac0)]=this[_0x11c831(0x1b9)][_0x11c831(0x162)]||0x63,this['canvas']=this[_0x11c831(_0x31e6a1._0x519add)](),_0x4851c4[_0x11c831(0x147)](this[_0x11c831(_0x31e6a1._0x69e9b1)]);const _0x30f6da=_0x5b719f[_0x11c831(_0x31e6a1._0x23484f)]();_0x4851c4['style'][_0x11c831(_0x31e6a1._0x8b54d7)]=_0x30f6da['x']+'px',_0x4851c4['style']['height']=_0x30f6da['y']+'px',this['container']=_0x4851c4,this[_0x11c831(_0x31e6a1._0x1b1248)]&&(!this['dataSet'][_0x11c831(0x150)]||this['dataSet'][_0x11c831(0x150)][_0x11c831(_0x31e6a1._0x1ab4b1)]===0x0)&&(this[_0x11c831(_0x31e6a1._0x123b44)][_0x11c831(0x150)]=[][_0x11c831(0x1c3)](this[_0x11c831(0x18d)][_0x11c831(0x179)])),this['_mapVRenderer']=new MapVRenderer(_0x5b719f,this,this['dataSet'],this[_0x11c831(0x1b9)]),this[_0x11c831(0x18b)](),this[_0x11c831(_0x31e6a1._0x1a85b3)]('loaded');}[_0x111c8e(0x1ac)](_0xbb5803){const _0x2b707a={_0x2cf672:0x17f,_0x465650:0x1be},_0x3aa555=_0x111c8e;this['_mapVRenderer']['destroy'](),delete this[_0x3aa555(0x1a8)],L[_0x3aa555(0x15e)][_0x3aa555(_0x2b707a._0x2cf672)](this[_0x3aa555(_0x2b707a._0x465650)]),delete this['container'],delete this[_0x3aa555(0x185)];}[_0x111c8e(0x18c)](_0x496d58){const _0x29b06e={_0x14eb2b:0x1b9},_0x158a44=_0x111c8e;this['_mapVRenderer']&&this['_mapVRenderer'][_0x158a44(0x18c)](_0x496d58,this[_0x158a44(_0x29b06e._0x14eb2b)]);}[_0x111c8e(0x1ba)](_0x48d445){const _0x3ec577={_0x5450ed:0x1a8,_0x2ba0f0:0x1b9},_0xed375c=_0x111c8e;this['_mapVRenderer']&&this[_0xed375c(_0x3ec577._0x5450ed)]['updateData'](_0x48d445,this[_0xed375c(_0x3ec577._0x2ba0f0)]);}[_0x111c8e(0x1b6)](){const _0x29c994={_0xdaf498:0x1a8,_0x55afb2:0x18d,_0x464bb3:0x18d},_0x703b29=_0x111c8e;return this[_0x703b29(_0x29c994._0xdaf498)]&&(this[_0x703b29(_0x29c994._0x55afb2)]=this[_0x703b29(0x1a8)]['getData']()),this[_0x703b29(_0x29c994._0x464bb3)];}[_0x111c8e(0x183)](_0x595827){const _0x3dd58f={_0x366376:0x1a8},_0x3de908=_0x111c8e;this[_0x3de908(0x1a8)]&&this[_0x3de908(_0x3dd58f._0x366376)]['removeData'](_0x595827);}['removeAllData'](){const _0x4e34bd={_0x4fb4ec:0x1a8,_0x64624b:0x1a8},_0x52663d=_0x111c8e;this[_0x52663d(_0x4e34bd._0x4fb4ec)]&&this[_0x52663d(_0x4e34bd._0x64624b)]['clearData']();}[_0x111c8e(0x18b)](){const _0x337b5f=_0x111c8e;this[_0x337b5f(0x158)]();}[_0x111c8e(0x19d)](_0x3d809c){const _0xad19ab={_0x1af78d:0x1b9,_0x394473:0x181,_0x2eb5c1:0x162},_0x26f031=_0x111c8e;this[_0x26f031(_0xad19ab._0x1af78d)][_0x26f031(0x162)]=_0x3d809c,this['container']&&(this['container'][_0x26f031(_0xad19ab._0x394473)][_0x26f031(_0xad19ab._0x2eb5c1)]=_0x3d809c);}[_0x111c8e(0x182)](){const _0x5817bd={_0xa17bed:0x1a8,_0xd45994:0x188},_0x3898e4=_0x111c8e;this[_0x3898e4(_0x5817bd._0xa17bed)][_0x3898e4(_0x5817bd._0xd45994)]();}[_0x111c8e(0x172)](){const _0x6a6b67=_0x111c8e;return this[_0x6a6b67(0x185)];}['getContainer'](){const _0x52c5bc={_0x191908:0x1be},_0x51ccaa=_0x111c8e;return this[_0x51ccaa(_0x52c5bc._0x191908)];}[_0x111c8e(0x13a)](){const _0x2bd45d={_0x45d743:0x194,_0x5f5600:0x176},_0x5903fb=_0x111c8e,_0x1e13d6=this[_0x5903fb(_0x2bd45d._0x45d743)];let _0x73aaea;if(_0x1e13d6){const _0x10c8ba=_0x1e13d6[_0x5903fb(_0x2bd45d._0x5f5600)]();_0x73aaea=_0x10c8ba[_0x5903fb(0x14f)]();}return _0x73aaea;}['_createCanvas'](){const _0x2d4d8d={_0x5bf988:0x1c5,_0xe3253f:0x1a5,_0x3cc294:0x19e,_0x2d947e:0x181,_0x4c0450:0x181,_0x71cc3d:0x1b4,_0x4f138b:0x13b,_0x228c7b:0x184},_0x1233e2=_0x111c8e,_0x5d68c6=document[_0x1233e2(_0x2d4d8d._0x5bf988)]('canvas');_0x5d68c6['style'][_0x1233e2(_0x2d4d8d._0xe3253f)]=_0x1233e2(_0x2d4d8d._0x3cc294),_0x5d68c6[_0x1233e2(_0x2d4d8d._0x2d947e)]['top']=0x0+'px',_0x5d68c6['style']['left']=0x0+'px',_0x5d68c6[_0x1233e2(_0x2d4d8d._0x4c0450)]['pointerEvents']=_0x1233e2(0x1bc),_0x5d68c6[_0x1233e2(_0x2d4d8d._0x2d947e)]['zIndex']=this[_0x1233e2(0x1b9)][_0x1233e2(0x162)]||0x258;const _0x3a88a9=typeof window==='undefined'?{}:window,_0x596003=this['devicePixelRatio']=_0x3a88a9['devicePixelRatio'];return this['options'][_0x1233e2(_0x2d4d8d._0x71cc3d)]==='2d'&&_0x5d68c6[_0x1233e2(_0x2d4d8d._0x4f138b)]('2d')[_0x1233e2(_0x2d4d8d._0x228c7b)](_0x596003,_0x596003),_0x5d68c6;}[_0x111c8e(0x1bd)](){const _0x317860={_0x613888:0x185,_0x54330d:0x1b5,_0x2e8d70:0x1ab,_0x1606cb:0x181,_0x2a6d79:0x176},_0x101dca=_0x111c8e,_0x5412fc=this[_0x101dca(_0x317860._0x613888)];if(!_0x5412fc)return;const _0x502896=this['_map'],_0x335f54=_0x502896[_0x101dca(_0x317860._0x54330d)]();_0x5412fc['width']=_0x335f54['x'],_0x5412fc[_0x101dca(_0x317860._0x2e8d70)]=_0x335f54['y'],_0x5412fc[_0x101dca(_0x317860._0x1606cb)]['width']=_0x335f54['x']+'px',_0x5412fc['style']['height']=_0x335f54['y']+'px';const _0x57794f=_0x502896[_0x101dca(_0x317860._0x2a6d79)](),_0x584efe=_0x502896[_0x101dca(0x16f)](_0x57794f['getNorthWest']());L[_0x101dca(0x15e)]['setPosition'](_0x5412fc,_0x584efe);}[_0x111c8e(0x158)](){const _0x1d0693={_0x5e8cd0:0x19f},_0x39435d=_0x111c8e;this['_resize'](),this[_0x39435d(_0x1d0693._0x5e8cd0)]();}['redraw'](){this['_resize'](),this['_render']();}['_render'](){this['render']();}}mars2d__namespace['layer'][_0x111c8e(0x1a2)]=MapVLayer,mars2d__namespace['LayerUtil']['register'](_0x111c8e(0x15d),MapVLayer),exports['MapVLayer']=MapVLayer,Object[_0x111c8e(0x141)](mapv)[_0x111c8e(0x1b7)](function(_0x333631){if(_0x333631!=='default'&&!exports['hasOwnProperty'](_0x333631))Object['defineProperty'](exports,_0x333631,{'enumerable':!![],'get':function(){return mapv[_0x333631];}});});const _0x2c7864={};_0x2c7864[_0x111c8e(0x148)]=!![],Object['defineProperty'](exports,_0x111c8e(0x145),_0x2c7864);function _0x386b(){const _0xce4f41=['B2zM','EM9VBvn0yxj0rxzLBNq','z2v0wM9VBq','BgvUz3rO','z2v0u291DgG','z2v0t3DUuhjVCgvYDhLezxnJCMLWDg9Y','DhjHAwXZ','Aw5PDa','C2v0wKLUzgv4','ywjZB2X1Dgu','x3jLBMrLCG','y29UDgfPBMvYug9PBNruB0XHEwvYug9PBNq','BwLUwM9VBq','twfWvKXHEwvY','zgL2','x2nYzwf0zunHBNzHCW','Cg9ZAxrPB24','z2v0','mti1ndHWD251Cey','x21HCfzszw5KzxjLCG','mta5mfvIq0HssG','Bw92zwvUza','AgvPz2H0','B25szw1VDMu','zgvZDgLUyxrPB24TB3v0','x3nPEMu','C3rLCa','Dw5IAw5KrxzLBNq','6k+35BYv5ywLig1HChyG5BQt','DxbKyxrL','zMLYzq','y29UDgv4Da','z2v0u2L6zq','z2v0rgf0yq','zM9YrwfJAa','zgvZDhjVEq','B3b0Aw9UCW','DxbKyxrLrgf0yq','ntKYnJa2n0nls0PirW','BM9Uzq','x3jLC2L6zq','y29UDgfPBMvY','Bg9N','y3jLyxrL','z2XVyMfSq29TCg9ZAxrLt3bLCMf0Aw9U','y2XLyxjszwn0','y29Uy2f0','yw5PBwf0B3i','y3jLyxrLrwXLBwvUDa','Bw92zxn0yxj0','Bw92zvn0yxj0rxzLBNq','BwfW','CgLK','Bgf5zxjqB2LUDa','z2v0vg9WtgvMDa','z2v0q29UDgv4Da','zNvUy3rPB24','D2LKDgG','x2HPzgu','vxrPBa','CMDIysGWlcaWlcaWlcaUmsK','A2v5CW','y2XPy2S','BMfTzq','yMfPzhvnyxbmyxLLCG','x19LC01VzhvSzq','z2v0rwfZDa','yxbWzw5Kq2HPBgq','DMfSDwu','Bgf0tg5N','yw5PBwf0Aw9U','rgf0yvnLDa','Bgf0tg5Nvg9dB250ywLUzxjqB2LUDa','Aw5PDefUAw1HDg9Y','C2L6zq','z2v0tM9YDgHxzxn0','x2rHDge','nLLYBwnICq','Bgf0tg5Nvg9by2n1CMf0zunVBNrHAw5LCLbVAw50','mJi5mtrXDhrvEK8','zgv2AwnLugL4zwXsyxrPBW','C2v0','mtuXnvLNAxjwuW','Aw5PDgLHBgL6zq','x3jLC2v0','BgvMDa','x19WCM90B19F','mJi0odjeqMXxvuu','nda4odGYnePlDe9TtG','BwfWDG','rg9TvxrPBa','Bwf4wM9VBq','Bw91C2vTB3zL','EM9VBxn0yxj0','EKLUzgv4','y2XPy2TfDMvUDa','DgLTzq','zMLSBfjLy3q','CMvZDg9Yzq','z2v0tM9YDgG','C3rLChnsyw5Nzq','Bw91C2vTB3zLrxzLBNq','mJC4nZa4nZzWuxbvEKW','yMXVy2S','y2XLyxjeyxrH','ouz0v0TxAq','y2fUDMfZtgf5zxi','Bgf0tg5Nvg9myxLLCLbVAw50','x3nOB3C','C3rVCa','z2v0q2fUDMfZ','C2f2zq','yMLUzev2zw50','zgvMyxvSDa','z2v0qM91BMrZ','ywrK','Bwv0Ag9KCW','x2rHDgfdywnOzq','zgvMAw5LuhjVCgvYDhK','z2v0ugfUzq','Aw5PDerHDgfsyw5Nzq','yxjNq2HLy2S','DxbKyxrLq2fSBgjHy2S','CMvTB3zL','mtm4mtCXovr6BgnlvW','C3r5Bgu','CMvUzgvY','CMvTB3zLrgf0yq','C2nHBgu','y2fUDMfZ','Dg9tDhjPBMC','ChjVy2vZC0rHDge','x2nHBNzHC1vWzgf0zq','AxnfBMfIBgvKvgLTzq','kcGOlISPkYKRksSK','zhjHDW','ywrKrgf0yq','zgf0yvnLDa','zgf0yq','y3jLyxrLr3vPza','tgf5zxi','y2XLyxi','Bg5N','C2vHCMnO','x21HCa'];_0x386b=function(){return _0xce4f41;};return _0x386b();}
}));
{
"name": "mars2d-mapv",
"version": "3.2.2",
"version": "3.2.3",
"description": "Mars2D平台插件,结合mapv可视化功能插件",

@@ -13,3 +13,3 @@ "main": "dist/mars2d-mapv.js",

"devDependencies": {
"mars2d": "~3.2.2"
"mars2d": "~3.2.3"
},

@@ -16,0 +16,0 @@ "scripts": {

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc