mars2d-mapv 3.2.8 → 3.2.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/mars2d-mapv.js +15 -0
- package/package.json +3 -6
- package/dist/mars2d-mapv.js +0 -15
package/mars2d-mapv.js
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Mars2D平台插件,结合mapv可视化功能插件 mars2d-mapv
|
|
3
|
+
*
|
|
4
|
+
* 版本信息:v3.2.10
|
|
5
|
+
* 编译日期:2024-12-22 18:57
|
|
6
|
+
* 版权所有:Copyright by 火星科技 http://mars2d.cn
|
|
7
|
+
* 使用单位:免费公开版 ,2024-01-16
|
|
8
|
+
*/
|
|
9
|
+
(function (global, factory) {
|
|
10
|
+
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, (window.mapv || require('mapv')), (window.mars2d || require('mars2d'))) :
|
|
11
|
+
typeof define === 'function' && define.amd ? define(['exports', 'mapv', 'mars2d'], factory) :
|
|
12
|
+
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory(global["mars2d-mapv"] = {}, global.mapv, global.mars2d));
|
|
13
|
+
})(this, (function (exports, mapv, mars2d) {
|
|
14
|
+
'use strict';(function(_0x6c6141,_0x1773d1){const _0x3a8e87={_0x2932e5:0x244,_0x3b3f12:0x1f0,_0x328be0:0x23b,_0x3171fc:0x307,_0xdb3994:0x34a,_0x2d7e56:0x305,_0x450c97:0x322},_0x2d42d6={_0x5f307e:0x2db};function _0x43a3c6(_0x456618,_0x3a8117){return _0x1083(_0x3a8117- -_0x2d42d6._0x5f307e,_0x456618);}const _0x20045e=_0x6c6141();function _0xc3da88(_0xb3e69a,_0x144afc){return _0x1083(_0x144afc-0x267,_0xb3e69a);}while(!![]){try{const _0x4dc451=parseInt(_0x43a3c6(-0x25b,-_0x3a8e87._0x2932e5))/0x1+-parseInt(_0x43a3c6(-0x215,-0x22d))/0x2*(parseInt(_0x43a3c6(-_0x3a8e87._0x3b3f12,-0x225))/0x3)+-parseInt(_0x43a3c6(-_0x3a8e87._0x328be0,-0x245))/0x4+parseInt(_0xc3da88(_0x3a8e87._0x3171fc,0x325))/0x5*(-parseInt(_0xc3da88(_0x3a8e87._0xdb3994,0x32c))/0x6)+parseInt(_0x43a3c6(-0x250,-0x21a))/0x7*(parseInt(_0x43a3c6(-0x282,-0x269))/0x8)+parseInt(_0x43a3c6(-0x28d,-0x259))/0x9*(parseInt(_0xc3da88(_0x3a8e87._0x2d7e56,_0x3a8e87._0x450c97))/0xa)+-parseInt(_0x43a3c6(-0x27c,-0x247))/0xb;if(_0x4dc451===_0x1773d1)break;else _0x20045e['push'](_0x20045e['shift']());}catch(_0xf74cb){_0x20045e['push'](_0x20045e['shift']());}}}(_0x4258,0xea6b1));function _interopNamespace(_0x3a85b2){const _0x2ad881={_0x1fef5d:0xa5,_0x32c7f1:0x83,_0x40bc44:0x20e};if(_0x3a85b2&&_0x3a85b2[_0x5757f5(-_0x2ad881._0x1fef5d,-_0x2ad881._0x32c7f1)])return _0x3a85b2;function _0xbc2c36(_0x203147,_0x407156){return _0x1083(_0x407156-0x16b,_0x203147);}var _0x142b89=Object['create'](null);_0x3a85b2&&Object[_0xbc2c36(_0x2ad881._0x40bc44,0x1e4)](_0x3a85b2)['forEach'](function(_0x468518){function _0x1362ba(_0xfee745,_0x58815f){return _0xbc2c36(_0xfee745,_0x58815f- -0x3f2);}if(_0x468518!=='default'){var _0x3abe5d=Object['getOwnPropertyDescriptor'](_0x3a85b2,_0x468518);Object[_0x1362ba(-0x1e1,-0x1e0)](_0x142b89,_0x468518,_0x3abe5d['get']?_0x3abe5d:{'enumerable':!![],'get':function(){return _0x3a85b2[_0x468518];}});}});function _0x5757f5(_0x36ba5c,_0x148d77){return _0x1083(_0x36ba5c- -0x147,_0x148d77);}return _0x142b89['default']=_0x3a85b2,_0x142b89;}var mapv__namespace=_interopNamespace(mapv),mars2d__namespace=_interopNamespace(mars2d);function _0x1083(_0x42d460,_0x48ec83){const _0x425817=_0x4258();return _0x1083=function(_0x10838d,_0x5979d8){_0x10838d=_0x10838d-0x66;let _0x5b9942=_0x425817[_0x10838d];if(_0x1083['DnuSWa']===undefined){var _0x380a57=function(_0x5ceb0e){const _0x3e73b8='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0xfebf25='',_0x357811='';for(let _0x492af3=0x0,_0x1bef17,_0x273ded,_0x5c5c54=0x0;_0x273ded=_0x5ceb0e['charAt'](_0x5c5c54++);~_0x273ded&&(_0x1bef17=_0x492af3%0x4?_0x1bef17*0x40+_0x273ded:_0x273ded,_0x492af3++%0x4)?_0xfebf25+=String['fromCharCode'](0xff&_0x1bef17>>(-0x2*_0x492af3&0x6)):0x0){_0x273ded=_0x3e73b8['indexOf'](_0x273ded);}for(let _0x3a85b2=0x0,_0x142b89=_0xfebf25['length'];_0x3a85b2<_0x142b89;_0x3a85b2++){_0x357811+='%'+('00'+_0xfebf25['charCodeAt'](_0x3a85b2)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x357811);};_0x1083['OLomBl']=_0x380a57,_0x42d460=arguments,_0x1083['DnuSWa']=!![];}const _0x18db0d=_0x425817[0x0],_0x2fe86d=_0x10838d+_0x18db0d,_0x481be4=_0x42d460[_0x2fe86d];return!_0x481be4?(_0x5b9942=_0x1083['OLomBl'](_0x5b9942),_0x42d460[_0x2fe86d]=_0x5b9942):_0x5b9942=_0x481be4,_0x5b9942;},_0x1083(_0x42d460,_0x48ec83);}const L$1=mars2d__namespace['L'];function _0x2ddbb9(_0x5230cb,_0x187a93){return _0x1083(_0x5230cb-0x377,_0x187a93);}if(!mapv__namespace['DataSet'])throw new Error(_0xd34775(-0x2d7,-0x2f1));function _0xd34775(_0x2d87f9,_0x5e3a1b){return _0x1083(_0x5e3a1b- -0x35e,_0x2d87f9);}const baiduMapLayer=mapv__namespace?mapv__namespace['baiduMapLayer']:null,BaseLayer=baiduMapLayer?baiduMapLayer['__proto__']:Function;class MapVRenderer extends BaseLayer{constructor(_0xab1099,_0x419017,_0x2cccae,_0x2e3085){const _0x25ccb3={_0x4086ba:0x91,_0x2e3c42:0x7d,_0x247335:0x6f};function _0x48b1da(_0x2c3801,_0x59cfe0){return _0xd34775(_0x59cfe0,_0x2c3801-0x281);}_0x2e3085=_0x2e3085||{};function _0x276fb2(_0x2c41f0,_0x2d6597){return _0xd34775(_0x2c41f0,_0x2d6597-0x252);}super(_0xab1099,_0x2cccae,_0x2e3085);if(!BaseLayer)return;this['canvasLayer']=_0x419017,this['init'](_0x2e3085),this[_0x276fb2(-_0x25ccb3._0x4086ba,-_0x25ccb3._0x2e3c42)](_0x2e3085),this[_0x276fb2(-_0x25ccb3._0x247335,-0x3e)]();}[_0x2ddbb9(0x426,0x41b)](_0x3e18a1){const _0x527bd2={_0x3db802:0x1b1,_0x40311d:0x1d9,_0x505381:0x202,_0x4eaf2e:0x1df,_0x17635a:0x206,_0x34f46b:0x1df},_0x38e30b={_0x3a8012:0x1a6},_0x2ba759=this['map'][_0x10b5b4(-_0x527bd2._0x3db802,-_0x527bd2._0x40311d)]([0x0,0x0]),_0x16ce16=this['devicePixelRatio']=this['canvasLayer'][_0x10b5b4(-0x204,-_0x527bd2._0x505381)]=window['devicePixelRatio'],_0x1da213=_0x3e18a1[_0x10b5b4(-_0x527bd2._0x4eaf2e,-_0x527bd2._0x17635a)];function _0x2eda2c(_0x28e6cd,_0x2e41c9){return _0x2ddbb9(_0x28e6cd- -_0x38e30b._0x3a8012,_0x2e41c9);}function _0x10b5b4(_0x3b663e,_0x41e871){return _0x2ddbb9(_0x41e871- -0x61a,_0x3b663e);}super['clickEvent'](L$1[_0x10b5b4(-0x1df,-_0x527bd2._0x34f46b)]((_0x1da213['x']-_0x2ba759['x'])/_0x16ce16,(_0x1da213['y']-_0x2ba759['y'])/_0x16ce16),_0x3e18a1);}['mousemoveEvent'](_0x417d06){const _0x4bb50b={_0x778130:0xf5},_0x7af209={_0x5ecf77:0x4f4};function _0x378dca(_0x14569c,_0x1af48b){return _0xd34775(_0x1af48b,_0x14569c-0x5e7);}function _0x54efe7(_0x4f6125,_0x5af52a){return _0x2ddbb9(_0x5af52a- -_0x7af209._0x5ecf77,_0x4f6125);}const _0x4eb9f1=_0x417d06[_0x54efe7(-_0x4bb50b._0x778130,-0xe0)];super[_0x378dca(0x351,0x383)](_0x4eb9f1,_0x417d06);}['bindEvent'](){const _0x1aec49={_0x594c16:0x29,_0x4acd9b:0x32,_0x44be16:0x52,_0x6b8613:0x78},_0x1bf74d=this['map'];this['options'][_0x482068(-_0x1aec49._0x594c16,-0x4e)]&&(this['options'][_0x482068(-0x46,-0x4e)]['click']&&_0x1bf74d['on'](_0x482068(-0xa4,-0x76),this['clickEvent'],this),this[_0x639902(-0x71,-0x53)]['methods']['mousemove']&&_0x1bf74d['on']('mousemove',this[_0x482068(-0x45,-0x22)],this));this['map']['on']('movestart',this[_0x482068(-_0x1aec49._0x4acd9b,-_0x1aec49._0x44be16)],this),this['map']['on'](_0x482068(-_0x1aec49._0x6b8613,-0x83),this['moveEndEvent'],this);function _0x482068(_0x296cc6,_0x3ba403){return _0x2ddbb9(_0x3ba403- -0x461,_0x296cc6);}function _0x639902(_0x4a64f0,_0x12c7f6){return _0xd34775(_0x4a64f0,_0x12c7f6-0x249);}this['map']['on']('zoomstart',this['zoomStartEvent'],this);}['destroy'](){const _0x2d7421={_0x1b0bbd:0x339,_0x2e3a20:0x23f,_0x3c60cc:0x379,_0x24ea8c:0x280},_0x237275={_0x598bb1:0x621};this[_0x32db3e(_0x2d7421._0x1b0bbd,0x332)](),this[_0xdcf216(-0x252,-_0x2d7421._0x2e3a20)]();function _0x32db3e(_0x43e269,_0x2add78){return _0xd34775(_0x43e269,_0x2add78-_0x237275._0x598bb1);}this['animator']&&(this['animator'][_0x32db3e(_0x2d7421._0x3c60cc,0x36c)](),this[_0xdcf216(-_0x2d7421._0x24ea8c,-0x28e)]=null);this['canvasLayer']=null;function _0xdcf216(_0x5eccd6,_0x5367f2){return _0xd34775(_0x5367f2,_0x5eccd6-0x68);}this['map']=null;for(const _0x3a46d2 in this){delete this[_0x3a46d2];}}['unbindEvent'](){const _0x9a092e={_0x4a3c59:0x53,_0x244d73:0x37,_0x320314:0x31a,_0x2f1681:0x2d,_0x81a5d1:0x5e,_0x1cfa60:0x3d,_0x4761ec:0x3e,_0x1f4257:0x2d,_0x450d74:0x315,_0x1113ea:0x2a},_0x5dee55=this['map'];this[_0x4addde(_0x9a092e._0x4a3c59,_0x9a092e._0x244d73)]['methods']&&(this['options']['methods']['click']&&_0x5dee55[_0x201bd9(-_0x9a092e._0x320314,-0x336)]('click',this[_0x4addde(_0x9a092e._0x2f1681,0x24)],this),this['options']['methods']['mousemove']&&_0x5dee55[_0x201bd9(-_0x9a092e._0x320314,-0x2f3)](_0x201bd9(-0x2ef,-0x2da),this[_0x4addde(_0x9a092e._0x81a5d1,_0x9a092e._0x1cfa60)],this));function _0x201bd9(_0x47a958,_0x2972b4){return _0xd34775(_0x2972b4,_0x47a958- -0x61);}this['map'][_0x201bd9(-0x31a,-0x310)]('movestart',this[_0x4addde(-0x19,0xd)],this);function _0x4addde(_0x5cf664,_0x428190){return _0x2ddbb9(_0x428190- -0x402,_0x5cf664);}this[_0x4addde(_0x9a092e._0x4761ec,_0x9a092e._0x1f4257)][_0x201bd9(-0x31a,-_0x9a092e._0x450d74)]('moveend',this['moveEndEvent'],this),this['map'][_0x201bd9(-_0x9a092e._0x320314,-0x336)]('zoomstart',this[_0x4addde(-_0x9a092e._0x1113ea,-0x1f)],this);}[_0xd34775(-0x296,-0x2aa)](){return this['canvasLayer']['getCanvas']()['getContext'](this['context']);}[_0x2ddbb9(0x3dd,0x3de)](_0x4ef3da,_0x2c322d){const _0x195d59={_0x35cf1d:0x1c9,_0xb2c5b5:0x2eb},_0x125d93={_0x56d664:0x611};let _0x4ba095=_0x4ef3da;_0x4ef3da&&_0x4ef3da[_0x96a930(-0x1da,-_0x195d59._0x35cf1d)]&&(_0x4ba095=_0x4ef3da['get']());this['dataSet']['add'](_0x4ba095);function _0x96a930(_0xe96d9a,_0x13af80){return _0x2ddbb9(_0xe96d9a- -_0x125d93._0x56d664,_0x13af80);}const _0x4133aa={};function _0x121cfb(_0x533afa,_0x498547){return _0xd34775(_0x533afa,_0x498547-0x587);}_0x4133aa[_0x121cfb(0x2d0,_0x195d59._0xb2c5b5)]=_0x2c322d,this['update'](_0x4133aa);}[_0xd34775(-0x292,-0x2a2)](_0x2e46c7){const _0x4d26e7={_0x3aba93:0x2dd,_0x141633:0x2eb},_0x2851ad={_0x479b13:0x58},_0x301eb2=_0x2e46c7||{};let _0x437c47=_0x301eb2['data'];_0x437c47&&_0x437c47['get']&&(_0x437c47=_0x437c47['get']());function _0x3f3f24(_0x5373de,_0x532dd2){return _0xd34775(_0x532dd2,_0x5373de- -_0x2851ad._0x479b13);}_0x437c47!==undefined&&this[_0x3f3f24(-0x317,-0x330)][_0x2115ca(-_0x4d26e7._0x3aba93,-_0x4d26e7._0x141633)](_0x437c47);const _0x349097={};_0x349097['options']=_0x301eb2['options'];function _0x2115ca(_0x4b0a12,_0x4c83c2){return _0xd34775(_0x4b0a12,_0x4c83c2- -0x17);}super['update'](_0x349097);}['getData'](){return this['dataSet'];}[_0xd34775(-0x2d6,-0x2c3)](_0x397b34){const _0x54d9d0={_0x278482:0xb3,_0x4c1764:0xe6,_0x3ad3d2:0x461,_0x5613a5:0x12a,_0x20f87e:0xfb,_0x30448d:0xd3},_0xab23b3={_0x5395c9:0x720};if(!this[_0x12592c(-_0x54d9d0._0x278482,-_0x54d9d0._0x4c1764)])return;function _0x5ab4d0(_0x5c0e89,_0x1357f1){return _0xd34775(_0x5c0e89,_0x1357f1-_0xab23b3._0x5395c9);}const _0x1b5b8c=this[_0x5ab4d0(0x47a,0x461)]['get']({'filter':function(_0x50ab33){return _0x397b34!=null&&typeof _0x397b34==='function'?!_0x397b34(_0x50ab33):!![];}});function _0x12592c(_0x540cc2,_0x232f74){return _0x2ddbb9(_0x232f74- -0x4fc,_0x540cc2);}this[_0x5ab4d0(0x46d,_0x54d9d0._0x3ad3d2)][_0x12592c(-_0x54d9d0._0x5613a5,-_0x54d9d0._0x20f87e)](_0x1b5b8c);const _0x3f9604={};_0x3f9604[_0x12592c(-0xa4,-0xc3)]=null,this[_0x12592c(-_0x54d9d0._0x30448d,-0xc9)](_0x3f9604);}[_0x2ddbb9(0x41b,0x423)](){const _0x1f38fa={_0x328e9f:0x247,_0x29de8d:0x261,_0x1b1569:0x213},_0xa01c5b={_0x44ce37:0x646};function _0x341409(_0x43b816,_0x584453){return _0x2ddbb9(_0x584453- -_0xa01c5b._0x44ce37,_0x43b816);}this[_0x341409(-_0x1f38fa._0x328e9f,-0x230)]&&this['dataSet']['clear']();const _0x5c238c={};function _0x3a6059(_0x177628,_0x1d7584){return _0x2ddbb9(_0x1d7584- -0x6b1,_0x177628);}_0x5c238c[_0x3a6059(-_0x1f38fa._0x29de8d,-0x278)]=null,this[_0x341409(-0x1ec,-_0x1f38fa._0x1b1569)](_0x5c238c);}[_0x2ddbb9(0x415,0x407)](_0x3b9876){const _0x415496={_0x3a0850:0x66,_0x99ba7f:0x74,_0x3ada92:0x50,_0x196b41:0x2c,_0x4abe37:0x367,_0x4882af:0xe,_0x5424db:0x53,_0x4cd299:0x313,_0x194287:0x30b,_0x11ddec:0x365,_0xaa515b:0x386,_0x308fc2:0x2d,_0x4d685c:0x319,_0x32957c:0x17,_0x33357f:0x16,_0x54db95:0x30d,_0x29559c:0x3a},_0x7b402a={_0x4159e1:0x363},_0x4ab8ac={_0x57e278:0x213,_0x3ff9e5:0x201},_0x3f2acd={_0x127f24:0x1c3},_0x5bfdab={_0x3e3cdc:0x77};function _0xe82579(_0x1b1dca,_0x499c91){return _0xd34775(_0x499c91,_0x1b1dca-0x285);}if(!this[_0xe82579(-_0x415496._0x3a0850,-_0x415496._0x99ba7f)])return;function _0x276d31(_0x5188fe,_0x22b3b1){return _0xd34775(_0x22b3b1,_0x5188fe- -_0x5bfdab._0x3e3cdc);}const _0x314681=this;try{const _0xaa3ed9=_0x314681['options'][_0xe82579(-0x44,-0x24)],_0x326c75=this['getContext'](),_0x121af1=this['map'];if(_0x314681['isEnabledTime']()){if(_0x3b9876===undefined){this['clear'](_0x326c75);return;}this[_0xe82579(-_0x415496._0x3ada92,-_0x415496._0x196b41)]==='2d'&&(_0x326c75['save'](),_0x326c75[_0x276d31(-_0x415496._0x4abe37,-0x387)]=_0xe82579(-_0x415496._0x4882af,0x5),_0x326c75['fillStyle']='rgba(0,\x200,\x200,\x20.1)',_0x326c75['fillRect'](0x0,0x0,_0x326c75[_0xe82579(-0x53,-0x4c)]['width'],_0x326c75[_0xe82579(-_0x415496._0x5424db,-0x47)]['height']),_0x326c75['restore']());}else this['clear'](_0x326c75);if(this['context']==='2d')for(const _0x44d676 in _0x314681[_0x276d31(-0x313,-0x318)]){_0x326c75[_0x44d676]=_0x314681[_0x276d31(-_0x415496._0x4cd299,-_0x415496._0x194287)][_0x44d676];}else _0x326c75['clear'](_0x326c75['COLOR_BUFFER_BIT']);if(_0x314681['options']['minZoom']&&_0x121af1['getZoom']()<_0x314681['options']['minZoom']||_0x314681[_0xe82579(-0x17,-0x40)][_0xe82579(-0x58,-0x5f)]&&_0x121af1['getZoom']()>_0x314681['options']['maxZoom'])return;const _0x511873=_0x121af1[_0x276d31(-0x36d,-_0x415496._0x11ddec)](),_0x4e8317=_0x511873['getEast']()-_0x511873['getWest'](),_0x20e1ba=_0x511873[_0x276d31(-0x36b,-_0x415496._0xaa515b)]()-_0x511873[_0x276d31(-0x35b,-0x36e)](),_0x579513=_0x121af1[_0xe82579(-0x47,-_0x415496._0x308fc2)](),_0x511ab5=_0x4e8317/_0x579513['x'],_0x5dd673=_0x20e1ba/_0x579513['y'],_0xeb90ac=this['canvasLayer']['getTopLeft'](),_0x2edb93=_0x121af1['latLngToAccurateContainerPoint'](_0xeb90ac),_0x13eec6={'transferCoordinate':function(_0x19a874){let _0x27a1af;if(_0x314681[_0x491f13(-0x1dd,-_0x4ab8ac._0x57e278)]==='2d')_0x27a1af=_0x121af1[_0x491f13(-_0x4ab8ac._0x3ff9e5,-0x1ea)](L$1['latLng'](_0x19a874[0x1],_0x19a874[0x0]));else{const _0x1f6d97={};_0x1f6d97['x']=(_0x19a874[0x0]-_0xeb90ac['lng'])/_0x511ab5,_0x1f6d97['y']=(_0xeb90ac['lat']-_0x19a874[0x1])/_0x5dd673,_0x27a1af=_0x1f6d97;}function _0x491f13(_0x559ffe,_0x16c2fe){return _0xe82579(_0x16c2fe- -_0x3f2acd._0x127f24,_0x559ffe);}const _0x499762={};_0x499762['x']=_0x27a1af['x']-_0x2edb93['x'];function _0x2bc0b4(_0x557879,_0x26f6e9){return _0xe82579(_0x26f6e9-0x2e1,_0x557879);}_0x499762['y']=_0x27a1af['y']-_0x2edb93['x'];const _0x321303=_0x499762;return[_0x321303['x'],_0x321303['y']];}};_0x3b9876!==undefined&&(_0x13eec6['filter']=function(_0x50e4a8){function _0x5534fd(_0x79fe17,_0x5a7191){return _0x276d31(_0x79fe17-0x15,_0x5a7191);}const _0x139e1c=_0xaa3ed9['trails']||0xa;return _0x3b9876&&_0x50e4a8['time']>_0x3b9876-_0x139e1c&&_0x50e4a8[_0x5534fd(-0x33d,-_0x7b402a._0x4159e1)]<_0x3b9876;});const _0x31da32=_0x314681['dataSet'][_0x276d31(-0x315,-0x2fa)](_0x13eec6);this[_0x276d31(-0x30e,-_0x415496._0x4d685c)](_0x31da32),_0x314681['options']['_size']=_0x314681[_0xe82579(-_0x415496._0x32957c,0xd)][_0xe82579(-_0x415496._0x33357f,_0x415496._0x4882af)];const _0x5890f7=_0x121af1[_0x276d31(-0x34e,-0x361)](L$1['latLng'](0x0,0x0)),_0x50dc4d={};_0x50dc4d['x']=_0x5890f7['x']-_0x2edb93['x'],_0x50dc4d['y']=_0x5890f7['y']-_0x2edb93['y'];const _0x1db167=_0x50dc4d;_0x31da32&&_0x31da32['length']>0x0&&this['drawContext'](_0x326c75,_0x31da32,_0x314681['options'],_0x1db167),_0x314681['options'][_0x276d31(-0x32f,-_0x415496._0x54db95)]&&_0x314681['options']['updateCallback'](_0x3b9876);}catch(_0xd82efb){console[_0xe82579(-0x4d,-_0x415496._0x29559c)]('mapv渲染异常',_0xd82efb);}}[_0xd34775(-0x2a7,-0x2b3)](_0x25549e){const _0x2a5624={_0x2bd3a7:0xc6,_0x428b9b:0x128,_0x351b15:0x142,_0x44a0de:0x145},_0x57b20e={_0x3b69d2:0x174},_0x1711c3=this;_0x1711c3['options']=_0x25549e,this['initDataRange'](_0x25549e),this[_0x2def79(-0x164,-0x161)]=_0x1711c3[_0x55cece(-_0x2a5624._0x2bd3a7,-0xf2)]['context']||'2d';function _0x55cece(_0x2de9e4,_0x164f38){return _0xd34775(_0x2de9e4,_0x164f38-0x1aa);}function _0x2def79(_0x369ad3,_0x264aac){return _0xd34775(_0x369ad3,_0x264aac-_0x57b20e._0x3b69d2);}_0x1711c3[_0x2def79(-0x117,-_0x2a5624._0x428b9b)][_0x2def79(-0x127,-_0x2a5624._0x351b15)]&&(this['canvasLayer']&&this[_0x2def79(-0x153,-0x177)]['setZIndex'](_0x1711c3['options'][_0x2def79(-_0x2a5624._0x44a0de,-_0x2a5624._0x351b15)])),this['initAnimator']();}['addAnimatorEvent'](){}['moveStartEvent'](){const _0x24c802={_0x40db10:0x21e,_0x625d1c:0x225,_0x12c761:0x22d,_0x2830b6:0x22b},_0x118bb1={_0x5799b1:0x61a},_0x3fd34c={_0x434acd:0x653};function _0x44a035(_0x5d5cc1,_0x2968ee){return _0x2ddbb9(_0x5d5cc1- -_0x3fd34c._0x434acd,_0x2968ee);}function _0x35282a(_0x56cc76,_0x5508bb){return _0x2ddbb9(_0x5508bb- -_0x118bb1._0x5799b1,_0x56cc76);}const _0x502dbc=this['options']['animation'];this[_0x35282a(-_0x24c802._0x40db10,-_0x24c802._0x625d1c)]()&&this[_0x35282a(-0x23c,-_0x24c802._0x12c761)]&&(this[_0x44a035(-_0x24c802._0x2830b6,-0x1f8)]['step']=_0x502dbc['stepsRange']['start'],this['_hide']());}[_0x2ddbb9(0x404,0x3f8)](){const _0x41818d={_0x2634e9:0x4d,_0x380447:0x66,_0x1201a3:0xe7},_0x4efecd={_0x1870b7:0x3cd};function _0x219f2(_0x28c25d,_0xbd1ce0){return _0xd34775(_0xbd1ce0,_0x28c25d-0x338);}function _0x1d89a3(_0x322e17,_0x37bffd){return _0xd34775(_0x322e17,_0x37bffd-_0x4efecd._0x1870b7);}this[_0x219f2(_0x41818d._0x2634e9,_0x41818d._0x380447)][_0x1d89a3(_0x41818d._0x1201a3,0xf3)](),this['_show']();}['zoomStartEvent'](){this['_hide']();}[_0x2ddbb9(0x417,0x413)](_0x511c01){const _0x529787={_0xee208:0xcd};function _0x11990d(_0x55065e,_0xa05979){return _0x2ddbb9(_0xa05979- -0x240,_0x55065e);}function _0x4a0561(_0x21e393,_0x2e9dfd){return _0xd34775(_0x21e393,_0x2e9dfd-_0x529787._0xee208);}_0x511c01&&_0x511c01['clearRect']&&_0x511c01['clearRect'](0x0,0x0,_0x511c01['canvas']['width'],_0x511c01[_0x11990d(0x19d,0x1bd)][_0x11990d(0x1e9,0x200)]);}['_hide'](){const _0x252692={_0x475049:0x1f5,_0x53e0c5:0x1cf};function _0xf59e(_0x382421,_0x5629ff){return _0xd34775(_0x5629ff,_0x382421-0xf6);}function _0x33b246(_0x5e2753,_0x28fb5f){return _0x2ddbb9(_0x5e2753- -0x714,_0x28fb5f);}this[_0xf59e(-_0x252692._0x475049,-0x1c6)]['canvas']['style']['display']=_0xf59e(-_0x252692._0x53e0c5,-0x1e3);}['_show'](){const _0x11f2a7={_0x433605:0x1fc,_0x25c0eb:0x36a};function _0x5c58f9(_0x558055,_0x13bc1f){return _0x2ddbb9(_0x13bc1f- -0xad,_0x558055);}function _0x506b58(_0xca464e,_0x3df420){return _0xd34775(_0x3df420,_0xca464e-0x4f1);}this['canvasLayer']['canvas'][_0x506b58(_0x11f2a7._0x433605,0x21d)][_0x506b58(0x221,0x200)]=_0x5c58f9(_0x11f2a7._0x25c0eb,0x349);}['draw'](){const _0x2f8a47={_0x409ab6:0x2f0};function _0x18b1d9(_0x18ce29,_0x18955){return _0xd34775(_0x18ce29,_0x18955-_0x2f8a47._0x409ab6);}this['canvasLayer'][_0x18b1d9(0x2b,0x16)]();}}const L=mars2d__namespace['L'];class MapVLayer extends L[_0xd34775(-0x29a,-0x292)]{[_0xd34775(-0x2ad,-0x2ae)](_0x2d438f={},_0x30d56c){const _0x4ab3d2={_0x40d46d:0x1ce,_0x36f8a0:0x1dd,_0xb2bd3d:0x2a5,_0x6fb594:0x215,_0x460fc1:0x32c,_0x27d84d:0x207},_0x2e3051={_0x58d640:0x20f};var _0x3cc6f3,_0x43832c;function _0x399c41(_0x4bfffe,_0x12d9d5){return _0x2ddbb9(_0x12d9d5- -0x6e6,_0x4bfffe);}this['options']=_0x2d438f,this['dataSet']=_0x30d56c||new mapv__namespace[(_0x170d66(_0x4ab3d2._0x40d46d,_0x4ab3d2._0x36f8a0))](_0x2d438f['data']);function _0x170d66(_0x42e35d,_0x2288bd){return _0x2ddbb9(_0x2288bd- -_0x2e3051._0x58d640,_0x42e35d);}this['options']['id']=(_0x3cc6f3=this[_0x399c41(-_0x4ab3d2._0xb2bd3d,-0x2ad)]['id'])!==null&&_0x3cc6f3!==void 0x0?_0x3cc6f3:mars2d__namespace[_0x170d66(0x1f8,_0x4ab3d2._0x6fb594)][_0x399c41(-_0x4ab3d2._0x460fc1,-0x304)](),this['options']['pid']=(_0x43832c=this['options'][_0x170d66(_0x4ab3d2._0x27d84d,0x1e5)])!==null&&_0x43832c!==void 0x0?_0x43832c:-0x1;}get['isAdded'](){return this['_map']&&this['_map']['hasLayer'](this);}get['pid'](){const _0x2bac92={_0x209582:0x4d,_0x706ee3:0x5b};function _0xa40bd1(_0x3bfae3,_0x521e7b){return _0x2ddbb9(_0x521e7b- -0x399,_0x3bfae3);}return this['options'][_0xa40bd1(_0x2bac92._0x209582,_0x2bac92._0x706ee3)];}set['pid'](_0x2c167a){const _0x55f147={_0x4f211c:0xcf},_0x5af56d={_0x2dd286:0x4b2},_0x434574={_0x13e02a:0x508};function _0x3a3f11(_0x4fee1d,_0x2486f9){return _0x2ddbb9(_0x2486f9- -_0x434574._0x13e02a,_0x4fee1d);}function _0x6a8bb8(_0x1ceffd,_0x136e79){return _0x2ddbb9(_0x136e79- -_0x5af56d._0x2dd286,_0x1ceffd);}this[_0x3a3f11(-0xb8,-_0x55f147._0x4f211c)][_0x6a8bb8(-0xaa,-0xbe)]=_0x2c167a;}get['id'](){return this['options']['id'];}set['id'](_0x136c03){const _0x2e830b={_0x2c995e:0x6ef};function _0x33dd74(_0x3cc2de,_0xd71d16){return _0xd34775(_0xd71d16,_0x3cc2de-_0x2e830b._0x2c995e);}this[_0x33dd74(0x453,0x483)]['id']=_0x136c03;}get[_0xd34775(-0x29f,-0x2b4)](){const _0x3bf670={_0x1b27bd:0x550};function _0x5e94ed(_0x20e8f9,_0x3ec928){return _0x2ddbb9(_0x3ec928- -_0x3bf670._0x1b27bd,_0x20e8f9);}return this['options'][_0x5e94ed(-0x129,-0x12f)];}set[_0x2ddbb9(0x421,0x40a)](_0x2ab2ed){this['options']['name']=_0x2ab2ed;}['onAdd'](_0x10e740){const _0x576609={_0x894ad8:0x97,_0x4d4d8b:0x62,_0xf213e:0x1fb,_0xe0a038:0x211,_0x4f076d:0x20d,_0x50548d:0x1f2,_0x43a8aa:0x218,_0x46be2c:0x1f0,_0x1c9309:0x20d,_0x17072d:0x190,_0x249b19:0x203,_0x2e6692:0x1f0,_0x481a61:0x1b0,_0x11b3ed:0x1af,_0x9a082e:0x1bc,_0x1184e6:0x1f7,_0x35b90d:0x1dc,_0xed51fb:0xab};this[_0x361991(-0x20b,-0x1fe)]=_0x10e740;const _0x6a1e33=_0x10e740['getPane'](this['options']['pane']||'overlayPane'),_0x12d222=L[_0x5d998d(_0x576609._0x894ad8,_0x576609._0x4d4d8b)][_0x361991(-0x227,-_0x576609._0xf213e)]('div',_0x361991(-_0x576609._0xe0a038,-0x1e5),_0x6a1e33);_0x12d222[_0x361991(-0x240,-_0x576609._0x4f076d)]['position']=_0x361991(-_0x576609._0x50548d,-0x1f1),_0x12d222['style']['top']=_0x5d998d(_0x576609._0x894ad8,0x6d),_0x12d222[_0x361991(-_0x576609._0x43a8aa,-0x20d)]['left']='0px',_0x12d222[_0x361991(-_0x576609._0x46be2c,-_0x576609._0x1c9309)][_0x5d998d(0xbc,0x99)]=this[_0x361991(-_0x576609._0x17072d,-0x1b4)][_0x5d998d(0x78,0x99)]||0x63,this[_0x361991(-_0x576609._0x249b19,-_0x576609._0x46be2c)]=this['_createCanvas'](),_0x12d222[_0x5d998d(0x73,0x84)](this[_0x361991(-0x1d5,-_0x576609._0x2e6692)]);const _0x3b63e2=_0x10e740['getSize']();_0x12d222[_0x361991(-0x22e,-_0x576609._0x4f076d)][_0x361991(-0x1c3,-_0x576609._0x481a61)]=_0x3b63e2['x']+'px',_0x12d222['style']['height']=_0x3b63e2['y']+'px';function _0x5d998d(_0x36119,_0x536057){return _0xd34775(_0x36119,_0x536057-0x34f);}this['container']=_0x12d222;function _0x361991(_0x4af2aa,_0x404df9){return _0xd34775(_0x4af2aa,_0x404df9-0xe8);}this['dataSet']&&(!this[_0x361991(-_0x576609._0x11b3ed,-0x1d7)][_0x361991(-0x1a0,-_0x576609._0x9a082e)]||this['dataSet']['_data'][_0x361991(-_0x576609._0x1184e6,-_0x576609._0x35b90d)]===0x0)&&(this['dataSet'][_0x5d998d(0x94,_0x576609._0xed51fb)]=[]['concat'](this['dataSet']['_dataCache'])),this['_mapVRenderer']=new MapVRenderer(_0x10e740,this,this['dataSet'],this[_0x5d998d(0xbe,0xb3)]),this['draw'](),this['fire']('loaded');}['onRemove'](_0x5ae62a){const _0x55fffc={_0x2ad9a9:0x3a6,_0x337cfc:0x1bd},_0x7b6ebf={_0x42c9ec:0x4af};this['_mapVRenderer']['destroy']();function _0x50fb7f(_0x291deb,_0x4a2def){return _0xd34775(_0x4a2def,_0x291deb-_0x7b6ebf._0x42c9ec);}delete this[_0x47aed7(_0x55fffc._0x2ad9a9,0x382)];function _0x47aed7(_0x2fec88,_0x33f9a5){return _0xd34775(_0x2fec88,_0x33f9a5-0x611);}L['DomUtil']['remove'](this[_0x47aed7(0x349,0x372)]),delete this['container'],delete this[_0x50fb7f(0x1d7,_0x55fffc._0x337cfc)];}[_0xd34775(-0x2f1,-0x2f8)](_0x5e003e){const _0x545d0b={_0x5b436d:0x5f7};function _0x5f55f2(_0x7d0609,_0x641c03){return _0xd34775(_0x641c03,_0x7d0609-_0x545d0b._0x5b436d);}this['_mapVRenderer']&&this['_mapVRenderer'][_0x5f55f2(0x2ff,0x300)](_0x5e003e,this['options']);}[_0x2ddbb9(0x434,0x43f)](_0x5e65fe){const _0x54c68d={_0xbe4e9b:0x4b1,_0x4a2032:0x47a,_0x550554:0x49f,_0x26a85b:0xa0};function _0x1d996f(_0x5be2ab,_0x559754){return _0xd34775(_0x5be2ab,_0x559754-0x356);}function _0x553c17(_0x1d03c4,_0x1e127c){return _0xd34775(_0x1d03c4,_0x1e127c-0x740);}this[_0x553c17(0x4e6,_0x54c68d._0xbe4e9b)]&&this[_0x553c17(0x4e3,_0x54c68d._0xbe4e9b)][_0x553c17(_0x54c68d._0x4a2032,_0x54c68d._0x550554)](_0x5e65fe,this[_0x1d996f(_0x54c68d._0x26a85b,0xba)]);}['getData'](){const _0x521272={_0x3b3d75:0x199};this['_mapVRenderer']&&(this['dataSet']=this['_mapVRenderer'][_0x5701c9(-_0x521272._0x3b3d75,-0x195)]());function _0x5701c9(_0x5c5b02,_0x3582ef){return _0xd34775(_0x3582ef,_0x5c5b02-0x155);}return this['dataSet'];}['removeData'](_0x2f25d7){const _0x43732f={_0xcb89b8:0x14a},_0x2bd766={_0x1fe2ba:0x5d7};function _0x43f4b8(_0x353b62,_0x31be90){return _0x2ddbb9(_0x353b62- -_0x2bd766._0x1fe2ba,_0x31be90);}function _0x3d8002(_0x298869,_0x3cdf9c){return _0x2ddbb9(_0x298869- -0x2fc,_0x3cdf9c);}this['_mapVRenderer']&&this[_0x3d8002(_0x43732f._0xcb89b8,0x172)][_0x43f4b8(-0x1c5,-0x1bd)](_0x2f25d7);}[_0x2ddbb9(0x407,0x42e)](){const _0x2c6cc3={_0x25ccc1:0x12a,_0x37cfed:0x116,_0x84c160:0x31c};function _0x142e4b(_0x36ee3d,_0x2612bb){return _0xd34775(_0x2612bb,_0x36ee3d-0x5cf);}function _0xdc9558(_0x436430,_0xaf48a7){return _0x2ddbb9(_0x436430- -0x570,_0xaf48a7);}this[_0x142e4b(0x340,0x34c)]&&this[_0xdc9558(-_0x2c6cc3._0x25ccc1,-_0x2c6cc3._0x37cfed)][_0x142e4b(0x315,_0x2c6cc3._0x84c160)]();}[_0xd34775(-0x2e9,-0x2da)](){this['_reset']();}['setZIndex'](_0xf4952){const _0x4540ad={_0x2f14fd:0xa6,_0x518380:0x9d,_0x53d989:0x120,_0x327736:0xc7};function _0x3a4535(_0x36e074,_0x438dcb){return _0x2ddbb9(_0x36e074- -0x4bc,_0x438dcb);}function _0x5303fe(_0x4c9730,_0x50b618){return _0x2ddbb9(_0x4c9730- -0x567,_0x50b618);}this[_0x3a4535(-0x83,-_0x4540ad._0x2f14fd)][_0x3a4535(-_0x4540ad._0x518380,-0x70)]=_0xf4952,this[_0x5303fe(-0x131,-_0x4540ad._0x53d989)]&&(this['container']['style'][_0x3a4535(-0x9d,-_0x4540ad._0x327736)]=_0xf4952);}['render'](){const _0x497413={_0x3a41cb:0xb4,_0x50db5d:0xdf},_0x192d8c={_0x1e28da:0x52c},_0x4ebc56={_0x3c1a25:0x361};function _0x38cc6b(_0x16357d,_0x254db8){return _0x2ddbb9(_0x16357d- -_0x4ebc56._0x3c1a25,_0x254db8);}function _0x4939ef(_0x1b049d,_0x5934b0){return _0x2ddbb9(_0x5934b0- -_0x192d8c._0x1e28da,_0x1b049d);}this[_0x4939ef(-0xd0,-0xe6)][_0x38cc6b(_0x497413._0x3a41cb,_0x497413._0x50db5d)]();}['getCanvas'](){return this['canvas'];}['getContainer'](){const _0x3a8ab1={_0x290e46:0x194};function _0x463a38(_0x762c64,_0x40d618){return _0xd34775(_0x40d618,_0x762c64-0x426);}return this[_0x463a38(0x187,_0x3a8ab1._0x290e46)];}['getTopLeft'](){const _0xcc7834=this['_map'];let _0x5b90b5;if(_0xcc7834){const _0x176d90=_0xcc7834['getBounds']();_0x5b90b5=_0x176d90['getNorthWest']();}return _0x5b90b5;}['_createCanvas'](){const _0x2e8c29={_0x59a616:0xec,_0x16b9c2:0xd0,_0x551ec7:0x77,_0x491e21:0x85},_0x1fc323={_0x2e6a54:0x225},_0x1f2d21={_0x33cddd:0x213},_0x173016=document['createElement']('canvas');_0x173016['style']['position']='absolute',_0x173016['style']['top']=0x0+'px',_0x173016['style'][_0x3e3ea9(0x1ce,0x1e4)]=0x0+'px',_0x173016['style']['pointerEvents']='none';function _0x3e3ea9(_0x13fb43,_0x16a2b3){return _0x2ddbb9(_0x16a2b3- -_0x1f2d21._0x33cddd,_0x13fb43);}_0x173016[_0x4f731d(-_0x2e8c29._0x59a616,-_0x2e8c29._0x16b9c2)]['zIndex']=this[_0x3e3ea9(0x1fa,0x226)][_0x4f731d(-0xc0,-0x91)]||0x258;const _0x2fc006=typeof window==='undefined'?{}:window;function _0x4f731d(_0x1ceac4,_0x1bb6a4){return _0xd34775(_0x1ceac4,_0x1bb6a4-_0x1fc323._0x2e6a54);}const _0x21ce06=this['devicePixelRatio']=_0x2fc006['devicePixelRatio'];return this[_0x4f731d(-0x51,-_0x2e8c29._0x551ec7)]['context']==='2d'&&_0x173016[_0x4f731d(-0xb8,-_0x2e8c29._0x491e21)]('2d')[_0x3e3ea9(0x211,0x231)](_0x21ce06,_0x21ce06),_0x173016;}[_0x2ddbb9(0x42c,0x40a)](){const _0x2b548a={_0x3d9266:0x100,_0x390d82:0x105,_0x562225:0xc3},_0x2ad6dc={_0x4304da:0x39d},_0x3f70d4={_0x33f24d:0x368},_0x19a158=this['canvas'];if(!_0x19a158)return;const _0x3ea995=this[_0x1a8ab3(0xa7,0xb7)],_0x459058=_0x3ea995[_0x1a8ab3(0xd7,0xd1)]();_0x19a158['width']=_0x459058['x'],_0x19a158[_0x5d52e1(0xd3,0xed)]=_0x459058['y'];function _0x5d52e1(_0x46eafd,_0x332ad9){return _0xd34775(_0x332ad9,_0x46eafd-_0x3f70d4._0x33f24d);}function _0x1a8ab3(_0x52ddf7,_0x114b6f){return _0xd34775(_0x52ddf7,_0x114b6f-_0x2ad6dc._0x4304da);}_0x19a158['style'][_0x1a8ab3(_0x2b548a._0x3d9266,_0x2b548a._0x390d82)]=_0x459058['x']+'px',_0x19a158['style']['height']=_0x459058['y']+'px';const _0x2bdd73=_0x3ea995[_0x5d52e1(0x72,0x80)](),_0x307237=_0x3ea995[_0x5d52e1(_0x2b548a._0x562225,0x96)](_0x2bdd73['getNorthWest']());L[_0x5d52e1(0x7b,0x87)]['setPosition'](_0x19a158,_0x307237);}['_reset'](){const _0x282b2f={_0x1d5b70:0x1ca,_0x42ada2:0x1af};this['_resize']();function _0x2fc1ae(_0x4a38ac,_0x29493d){return _0x2ddbb9(_0x29493d- -0x5b1,_0x4a38ac);}this[_0x2fc1ae(-_0x282b2f._0x1d5b70,-_0x282b2f._0x42ada2)]();}[_0xd34775(-0x2c0,-0x2ab)](){const _0x31e23a={_0x13bcc8:0x42a,_0x497115:0x2a5},_0x4ace95={_0x326f9c:0x2};this[_0x487904(0x44e,_0x31e23a._0x13bcc8)]();function _0x56bc61(_0x49de9d,_0x5a40f1){return _0xd34775(_0x49de9d,_0x5a40f1-0x2e);}function _0x487904(_0x22c061,_0x2ce9b3){return _0x2ddbb9(_0x2ce9b3- -_0x4ace95._0x326f9c,_0x22c061);}this[_0x56bc61(-0x2cc,-_0x31e23a._0x497115)]();}[_0xd34775(-0x2de,-0x2d3)](){this['render']();}}mars2d__namespace[_0xd34775(-0x2b2,-0x2b2)]['MapVLayer']=MapVLayer,mars2d__namespace[_0xd34775(-0x31b,-0x2e7)]['register']('mapv',MapVLayer),exports['MapVLayer']=MapVLayer,Object[_0x2ddbb9(0x3f0,0x426)](mapv)['forEach'](function(_0x4b75b5){const _0x253ea6={_0x189657:0xf8};function _0x11f736(_0x5cc6ab,_0x167a69){return _0x2ddbb9(_0x5cc6ab- -_0x253ea6._0x189657,_0x167a69);}function _0x37be08(_0x3f9c93,_0x335a6a){return _0x2ddbb9(_0x3f9c93- -0x4c8,_0x335a6a);}if(_0x4b75b5!==_0x11f736(0x322,0x336)&&!exports[_0x37be08(-0x9a,-0xb9)](_0x4b75b5))Object['defineProperty'](exports,_0x4b75b5,{'enumerable':!![],'get':function(){return mapv[_0x4b75b5];}});});const _0x5c5c54={};_0x5c5c54[_0x2ddbb9(0x3ff,0x3e6)]=!![],Object[_0xd34775(-0x2ce,-0x2b7)](exports,_0xd34775(-0x2e1,-0x2bc),_0x5c5c54);function _0x4258(){const _0xda0e62=['CMvTB3zLqwXSrgf0yq','BgvHzMXLDc1SyxLLCIbSzwfMBgv0lxPVB20Tyw5PBwf0zwq','z2v0u2L6zq','yxbWzw5Kq2HPBgq','ndG1nJe0oefzqvLbrW','yw5PBwf0Aw9U','mtiXndqWofrWt0zQCW','nZmZndi3tKrfAejZ','Bw92zvn0yxj0rxzLBNq','BM9Uzq','BgvUz3rO','CMvTB3zLrgf0yq','Bwv0Ag9KCW','Bgf5zxjqB2LUDa','x2nHBNzHC1vWzgf0zq','zgf0yvnLDa','y2XLyxi','zgv2AwnLugL4zwXsyxrPBW','x19LC01VzhvSzq','zgvMyxvSDa','y2XLyxjeyxrH','B2zM','DxbKyxrLq2fSBgjHy2S','zgvMAw5LuhjVCgvYDhK','EKLUzgv4','C3rVCa','BMfTzq','Aw5PDa','Bgf5zxi','vxrPBa','nJC4ntjOB2XOvwy','y2XPy2TfDMvUDa','Aw5PDgLHBgL6zq','C3rLChm','Bgf0tg5Nvg9by2n1CMf0zunVBNrHAw5LCLbVAw50','CMvKCMf3','z2v0q29UDgv4Da','x3jLC2L6zq','otnRD2ztyw0','AgfZt3DUuhjVCgvYDhK','BwfW','Bgf0tg5Nvg9myxLLCLbVAw50','x2rHDge','mtbmzhj6rw0','DxbKyxrL','DxbKyxrLrgf0yq','mtaWnJy3nuj4zuvzuW','y29UDgfPBMvY','z2v0','n1PIvhrUwq','B3b0Aw9UCW','C2L6zq','Cg9PBNq','mtjMuuXTuxm','D2LKDgG','ChjVy2vZC0rHDge','Bw91C2vTB3zLrxzLBNq','AgvPz2H0','y29UDgfPBMvYug9PBNruB0XHEwvYug9PBNq','zgvZDgLUyxrPB24TB3v0','tgf5zxi','C2nHBgu','yMLUzev2zw50','x21HCfzszw5KzxjLCG','Bw91C2vTB3zL','ywrKrgf0yq','Bw92zwvUza','z2v0qM91BMrZ','C3r5Bgu','z2v0tM9YDgG','y3jLyxrLr3vPza','EM9VBvn0yxj0rxzLBNq','6k+35BYv5ywLig1HChyG5BQt','z2XVyMfSq29TCg9ZAxrLt3bLCMf0Aw9U','Dw5IAw5KrxzLBNq','z2v0rgf0yq','rg9TvxrPBa','mtaXndyYotzACKroAhq','y2fUDMfZtgf5zxi','y2XPy2S','rgf0yvnLDa','yw5PBwf0B3i','tgf5zxjvDgLS','x21HCa','A2v5CW','z2v0u291DgG','y3jLyxrL','mhb4','CgLK','AxnfBMfIBgvKvgLTzq','yMXVy2S','BgvMDa','Bwf4wM9VBq','mta0mJeXodfgENrrDgy','DgLTzq','zhjHDW','ywjZB2X1Dgu','y2fUDMfZ','Bgf0tg5Nvg9dB250ywLUzxjqB2LUDa','DMfSDwu','y29UDgv4Da','C2v0','x3jLBMrLCG','Bg9N','Bw92zuvUzev2zw50','zgLZCgXHEq','yxjNq2HLy2S'];_0x4258=function(){return _0xda0e62;};return _0x4258();}
|
|
15
|
+
}));
|
package/package.json
CHANGED
|
@@ -1,16 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "mars2d-mapv",
|
|
3
|
-
"version": "3.2.
|
|
3
|
+
"version": "3.2.10",
|
|
4
4
|
"description": "Mars2D平台插件,结合mapv可视化功能插件",
|
|
5
|
-
"main": "
|
|
6
|
-
"files": [
|
|
7
|
-
"dist"
|
|
8
|
-
],
|
|
5
|
+
"main": "./mars2d-mapv.js",
|
|
9
6
|
"dependencies": {
|
|
10
7
|
"mapv": "^2.0.62"
|
|
11
8
|
},
|
|
12
9
|
"devDependencies": {
|
|
13
|
-
"mars2d": "~3.2.
|
|
10
|
+
"mars2d": "~3.2.10"
|
|
14
11
|
},
|
|
15
12
|
"scripts": {
|
|
16
13
|
"lint": "eslint ./src/**/*.{js,ts} --fix"
|
package/dist/mars2d-mapv.js
DELETED
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Mars2D平台插件,结合mapv可视化功能插件 mars2d-mapv
|
|
3
|
-
*
|
|
4
|
-
* 版本信息:v3.2.8
|
|
5
|
-
* 编译日期:2024-09-25 20:25:43
|
|
6
|
-
* 版权所有:Copyright by 火星科技 http://mars2d.cn
|
|
7
|
-
* 使用单位:免费公开版 ,2024-01-16
|
|
8
|
-
*/
|
|
9
|
-
(function (global, factory) {
|
|
10
|
-
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, (window.mapv || require('mapv')), (window.mars2d || require('mars2d'))) :
|
|
11
|
-
typeof define === 'function' && define.amd ? define(['exports', 'mapv', 'mars2d'], factory) :
|
|
12
|
-
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory(global["mars2d-mapv"] = {}, global.mapv, global.mars2d));
|
|
13
|
-
})(this, (function (exports, mapv, mars2d) {
|
|
14
|
-
'use strict';function _0x36dc(){const _0x5aa530=['y29UDgfPBMvYug9PBNruB0XHEwvYug9PBNq','y2XLyxjeyxrH','ode4odCYvfHMCKPu','z2v0vg9WtgvMDa','Aw5PDgLHBgL6zq','x3nOB3C','x19LC01VzhvSzq','y3jLyxrLrwXLBwvUDa','AgvPz2H0','y29UDgfPBMvY','C3rLChnsyw5Nzq','BgvHzMXLDc1SyxLLCIbSzwfMBgv0lxPVB20Tyw5PBwf0zwq','ote0nZi0zhftEfPe','CgLK','vxrPBa','mwHSuu1msG','B25bzgq','CMvUzgvY','BwfW','Bw92zuvUzev2zw50','DxbKyxrLq2fSBgjHy2S','zgvZDgLUyxrPB24TB3v0','odK0nZq3ru5RqwL6','z2v0q29UDgv4Da','B3b0Aw9UCW','mJG1otqXnMneBvvsra','ywrKrgf0yq','BgvMDa','oxfvsMPlrG','yxbWzw5Kq2HPBgq','z2v0rgf0yq','nuv5AfrmCW','y3jLyxrLr3vPza','yw5PBwf0Aw9U','z2v0u291DgG','tgf5zxi','Bwv0Ag9KCW','AgfZtgf5zxi','C2L6zq','y3jLyxrL','x3jLC2L6zq','Bgf0tg5Nvg9by2n1CMf0zunVBNrHAw5LCLbVAw50','zNvUy3rPB24','DxbKyxrL','rgf0yvnLDa','zhjHDW','zMLSBfn0EwXL','y2fUDMfZ','DhjHAwXZ','Bw91C2vTB3zLrxzLBNq','x19WCM90B19F','mhb4','twfWvKXHEwvY','BM9Uzq','BgvUz3rO','tgf5zxjvDgLS','y2XLyxi','Aw5PDa','CMDIysGWlcaWlcaWlcaUmsK','C2v0wKLUzgv4','B2zM','x2HPzgu','zgLZCgXHEq','zgvZDhjVEq','DgLTzq','q09mt1jFqLvgrKvsx0jjva','zM9YrwfJAa','z2v0q29UDgfPBMvY','B25szw1VDMu','C2f2zq','zgL2','y29Uy2f0','C3r5Bgu','zgf0yvnLDa','BwfWDUA4SUAFK+w8GUw4Ua','Aw5PDerHDgfsyw5Nzq','C2v0','Bw91C2vTB3zL','z2v0','zgvMAw5LuhjVCgvYDhK','x3nPEMu','x3jLBMrLCG','CMvTB3zL','zMLSDgvY','Bg9N','yxjNq2HLy2S','x2nYzwf0zunHBNzHCW','z2v0rwfZDa','Bgf5zxi','x21HCa','Bgf0tg5Nvg9myxLLCLbVAw50','y2XPy2S','y29UDgv4Da','AxnfBMfIBgvKvgLTzq','y2XLyxjszwn0','z2v0ugfUzq','Bwf4wM9VBq','Cg9ZAxrPB24','EM9VBvn0yxj0rxzLBNq','Bgf5zxjqB2LUDa','ChjVy2vZC0rHDge','nZa3nZG2t3bLEufb','y2XPy2TfDMvUDa','x3jLC2v0','z2v0tM9YDgHxzxn0','Bw92zwvUza','D2LKDgG','Dw5KzwzPBMvK','z2v0tM9YDgG','zgvMyxvSDa','z2v0wM9VBq','zgv2AwnLugL4zwXsyxrPBW','Bgf0tg5N','y2fUDMfZtgf5zxi','nZa4otm3me9KB296zG','z2v0qM91BMrZ','yw5PBwf0B3i','C3rLCa','CMvKCMf3','x21HCfzszw5KzxjLCG','EKLUzgv4','BwfWDG','Bw92zvn0yxj0rxzLBNq','Dw5IAw5KrxzLBNq','Dg9W','EM9VBxn0yxj0','Bg9HzgvK','rg9TvxrPBa','ody3nZy5rNzMzKvW','BMfTzq','AgfZt3DUuhjVCgvYDhK','z2v0t3DUuhjVCgvYDhLezxnJCMLWDg9Y'];_0x36dc=function(){return _0x5aa530;};return _0x36dc();}const _0x548726=_0x7d32;(function(_0x1378dc,_0x102530){const _0x3779d3={_0x671cba:0x112,_0x257d1d:0xe4,_0x141110:0x119,_0x539120:0x105,_0x418f2f:0x122,_0x42ab68:0xff,_0x254f92:0x11c,_0x1aef6e:0x11f},_0x1d92d8=_0x7d32,_0x44d6ef=_0x1378dc();while(!![]){try{const _0x426fde=parseInt(_0x1d92d8(_0x3779d3._0x671cba))/0x1*(-parseInt(_0x1d92d8(_0x3779d3._0x257d1d))/0x2)+-parseInt(_0x1d92d8(_0x3779d3._0x141110))/0x3+parseInt(_0x1d92d8(_0x3779d3._0x539120))/0x4+parseInt(_0x1d92d8(_0x3779d3._0x418f2f))/0x5*(parseInt(_0x1d92d8(0x10f))/0x6)+parseInt(_0x1d92d8(_0x3779d3._0x42ab68))/0x7+-parseInt(_0x1d92d8(_0x3779d3._0x254f92))/0x8+parseInt(_0x1d92d8(_0x3779d3._0x1aef6e))/0x9*(parseInt(_0x1d92d8(0xf1))/0xa);if(_0x426fde===_0x102530)break;else _0x44d6ef['push'](_0x44d6ef['shift']());}catch(_0x120bda){_0x44d6ef['push'](_0x44d6ef['shift']());}}}(_0x36dc,0x2c11b));function _interopNamespace(_0x43f07e){const _0x34c764={_0x4920dd:0x152},_0x8124ab=_0x7d32;if(_0x43f07e&&_0x43f07e[_0x8124ab(0x109)])return _0x43f07e;var _0x35b097=Object[_0x8124ab(0x12a)](null);return _0x43f07e&&Object['keys'](_0x43f07e)[_0x8124ab(0x145)](function(_0x4d1ab2){const _0x14a839=_0x8124ab;if(_0x4d1ab2!=='default'){var _0x28b9f6=Object[_0x14a839(0x102)](_0x43f07e,_0x4d1ab2);Object[_0x14a839(_0x34c764._0x4920dd)](_0x35b097,_0x4d1ab2,_0x28b9f6[_0x14a839(0x151)]?_0x28b9f6:{'enumerable':!![],'get':function(){return _0x43f07e[_0x4d1ab2];}});}}),_0x35b097['default']=_0x43f07e,_0x35b097;}var mapv__namespace=_interopNamespace(mapv),mars2d__namespace=_interopNamespace(mars2d);const L$1=mars2d__namespace['L'];function _0x7d32(_0xfcf111,_0x9a7d8b){const _0x36dc85=_0x36dc();return _0x7d32=function(_0x7d32e8,_0x54bea6){_0x7d32e8=_0x7d32e8-0xcf;let _0x5e7374=_0x36dc85[_0x7d32e8];if(_0x7d32['xCNvzM']===undefined){var _0x47ee85=function(_0x5a914f){const _0x26bc96='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x49981d='',_0x50c0b3='';for(let _0x1c642a=0x0,_0x1602da,_0x4456dc,_0x4fdd52=0x0;_0x4456dc=_0x5a914f['charAt'](_0x4fdd52++);~_0x4456dc&&(_0x1602da=_0x1c642a%0x4?_0x1602da*0x40+_0x4456dc:_0x4456dc,_0x1c642a++%0x4)?_0x49981d+=String['fromCharCode'](0xff&_0x1602da>>(-0x2*_0x1c642a&0x6)):0x0){_0x4456dc=_0x26bc96['indexOf'](_0x4456dc);}for(let _0x43f07e=0x0,_0x35b097=_0x49981d['length'];_0x43f07e<_0x35b097;_0x43f07e++){_0x50c0b3+='%'+('00'+_0x49981d['charCodeAt'](_0x43f07e)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x50c0b3);};_0x7d32['cdlaTx']=_0x47ee85,_0xfcf111=arguments,_0x7d32['xCNvzM']=!![];}const _0x31e282=_0x36dc85[0x0],_0x1a4ae5=_0x7d32e8+_0x31e282,_0x381dc7=_0xfcf111[_0x1a4ae5];return!_0x381dc7?(_0x5e7374=_0x7d32['cdlaTx'](_0x5e7374),_0xfcf111[_0x1a4ae5]=_0x5e7374):_0x5e7374=_0x381dc7,_0x5e7374;},_0x7d32(_0xfcf111,_0x9a7d8b);}if(!mapv__namespace[_0x548726(0x12f)])throw new Error('请引入\x20mapv\x20库');const baiduMapLayer=mapv__namespace?mapv__namespace['baiduMapLayer']:null,BaseLayer=baiduMapLayer?baiduMapLayer[_0x548726(0x135)]:Function;class MapVRenderer extends BaseLayer{constructor(_0x532ca5,_0x577eb7,_0x4a1245,_0x5d546c){const _0x1c533b={_0x1d20ca:0x13c,_0x32f711:0xd4},_0x38b61e=_0x548726;_0x5d546c=_0x5d546c||{},super(_0x532ca5,_0x4a1245,_0x5d546c);if(!BaseLayer)return;this['canvasLayer']=_0x577eb7,this[_0x38b61e(_0x1c533b._0x1d20ca)](_0x5d546c),this[_0x38b61e(_0x1c533b._0x32f711)](_0x5d546c),this['bindEvent']();}['clickEvent'](_0x50c469){const _0x1da0ab={_0x39d5e1:0x103,_0x59cdda:0xee,_0xc508ec:0xe2,_0x235e1d:0xe5},_0xde69c=_0x548726,_0x5189fb=this[_0xde69c(0x115)][_0xde69c(_0x1da0ab._0x39d5e1)]([0x0,0x0]),_0x5b2229=this['devicePixelRatio']=this['canvasLayer'][_0xde69c(_0x1da0ab._0x59cdda)]=window['devicePixelRatio'],_0x806123=_0x50c469[_0xde69c(_0x1da0ab._0xc508ec)];super[_0xde69c(_0x1da0ab._0x235e1d)](L$1['point']((_0x806123['x']-_0x5189fb['x'])/_0x5b2229,(_0x806123['y']-_0x5189fb['y'])/_0x5b2229),_0x50c469);}[_0x548726(0x134)](_0x3a5163){const _0x2e0bb6={_0x50e310:0x134},_0x17e5b9=_0x548726,_0x77331e=_0x3a5163[_0x17e5b9(0xe2)];super[_0x17e5b9(_0x2e0bb6._0x50e310)](_0x77331e,_0x3a5163);}['bindEvent'](){const _0xf3b07a={_0x54680d:0x115,_0x587e70:0x11b,_0x169ea7:0x127,_0x2e3d15:0xda,_0x24ea6d:0xe5,_0x1b0a05:0x150,_0x1e04b7:0x115,_0x21fd8f:0x116,_0x570a1c:0xe1},_0x5be028=_0x548726,_0x346b2c=this[_0x5be028(_0xf3b07a._0x54680d)];this[_0x5be028(_0xf3b07a._0x587e70)][_0x5be028(_0xf3b07a._0x169ea7)]&&(this['options'][_0x5be028(0x127)]['click']&&_0x346b2c['on'](_0x5be028(_0xf3b07a._0x2e3d15),this[_0x5be028(_0xf3b07a._0x24ea6d)],this),this[_0x5be028(_0xf3b07a._0x587e70)]['methods'][_0x5be028(_0xf3b07a._0x1b0a05)]&&_0x346b2c['on']('mousemove',this[_0x5be028(0x134)],this)),this[_0x5be028(_0xf3b07a._0x1e04b7)]['on']('movestart',this[_0x5be028(0xf9)],this),this['map']['on']('moveend',this[_0x5be028(_0xf3b07a._0x21fd8f)],this),this[_0x5be028(0x115)]['on']('zoomstart',this[_0x5be028(_0xf3b07a._0x570a1c)],this);}['destroy'](){const _0x497ebe={_0x4b2a67:0xf3,_0x1bcb67:0xf0,_0x1cb80b:0x115},_0x1fd76e=_0x548726;this['unbindEvent'](),this['clearData']();this['animator']&&(this['animator']['stop'](),this[_0x1fd76e(_0x497ebe._0x4b2a67)]=null);this[_0x1fd76e(_0x497ebe._0x1bcb67)]=null,this[_0x1fd76e(_0x497ebe._0x1cb80b)]=null;for(const _0x2ccf48 in this){delete this[_0x2ccf48];}}[_0x548726(0xfa)](){const _0x4d3fce={_0x448a9c:0x115,_0x3e45a1:0x13f,_0x154346:0xda,_0x19489f:0x150,_0x13542c:0x13f,_0x1defa1:0xe8,_0x228774:0xfc},_0x98c0de=_0x548726,_0x19b237=this[_0x98c0de(_0x4d3fce._0x448a9c)];this[_0x98c0de(0x11b)]['methods']&&(this[_0x98c0de(0x11b)][_0x98c0de(0x127)][_0x98c0de(0xda)]&&_0x19b237[_0x98c0de(_0x4d3fce._0x3e45a1)](_0x98c0de(_0x4d3fce._0x154346),this[_0x98c0de(0xe5)],this),this['options']['methods']['mousemove']&&_0x19b237['off'](_0x98c0de(_0x4d3fce._0x19489f),this['mousemoveEvent'],this)),this[_0x98c0de(0x115)][_0x98c0de(_0x4d3fce._0x13542c)]('movestart',this['moveStartEvent'],this),this['map'][_0x98c0de(0x13f)](_0x98c0de(_0x4d3fce._0x1defa1),this['moveEndEvent'],this),this[_0x98c0de(0x115)]['off'](_0x98c0de(_0x4d3fce._0x228774),this['zoomStartEvent'],this);}[_0x548726(0x11a)](){const _0x313d09=_0x548726;return this['canvasLayer']['getCanvas']()['getContext'](this[_0x313d09(0xdb)]);}[_0x548726(0x11d)](_0x3112d8,_0x4d06f7){const _0x5433ca={_0x57e042:0x14c},_0x2d6030=_0x548726;let _0x3dc387=_0x3112d8;_0x3112d8&&_0x3112d8[_0x2d6030(0x151)]&&(_0x3dc387=_0x3112d8['get']());this[_0x2d6030(_0x5433ca._0x57e042)]['add'](_0x3dc387);const _0x1488dc={};_0x1488dc['options']=_0x4d06f7,this['update'](_0x1488dc);}['update'](_0x4ebb4a){const _0x9b3ea3={_0x6db9dc:0x151,_0x549588:0x11b,_0x3c0a84:0x12e},_0x372315=_0x548726,_0xa4571e=_0x4ebb4a||{};let _0x5aaa6b=_0xa4571e['data'];_0x5aaa6b&&_0x5aaa6b[_0x372315(0x151)]&&(_0x5aaa6b=_0x5aaa6b[_0x372315(_0x9b3ea3._0x6db9dc)]());_0x5aaa6b!==undefined&&this['dataSet'][_0x372315(0x14f)](_0x5aaa6b);const _0xbc8f72={};_0xbc8f72[_0x372315(_0x9b3ea3._0x549588)]=_0xa4571e['options'],super[_0x372315(_0x9b3ea3._0x3c0a84)](_0xbc8f72);}['getData'](){return this['dataSet'];}['removeData'](_0x403f80){const _0x160116={_0x32b51d:0x14c,_0x30806a:0x14c,_0x5d7af7:0x11b},_0x534a9b={_0x234590:0x12d},_0x4cbd34=_0x548726;if(!this[_0x4cbd34(_0x160116._0x32b51d)])return;const _0x1dbaee=this['dataSet']['get']({'filter':function(_0x236089){const _0xf54511=_0x4cbd34;return _0x403f80!=null&&typeof _0x403f80===_0xf54511(_0x534a9b._0x234590)?!_0x403f80(_0x236089):!![];}});this[_0x4cbd34(_0x160116._0x30806a)][_0x4cbd34(0x14f)](_0x1dbaee);const _0x4caf13={};_0x4caf13[_0x4cbd34(_0x160116._0x5d7af7)]=null,this['update'](_0x4caf13);}[_0x548726(0x104)](){const _0x2d5f98={_0x454ba2:0x14c},_0x14a85d=_0x548726;this['dataSet']&&this[_0x14a85d(_0x2d5f98._0x454ba2)][_0x14a85d(0x13b)]();const _0x47924d={};_0x47924d[_0x14a85d(0x11b)]=null,this['update'](_0x47924d);}['_canvasUpdate'](_0x4a97bc){const _0x117296={_0x5de5d9:0xdb,_0x29afd2:0x131,_0x513916:0xe9,_0x36be82:0x13b,_0x40c244:0x144,_0x4b3438:0x11b,_0x125a1c:0xdf,_0x52e1a8:0xed,_0x6db529:0xd2,_0x427657:0xe3,_0x41d70c:0x11b,_0x10bb4f:0xd3,_0x35818d:0x14d},_0x533449={_0x1c296e:0x133,_0x210a22:0x143},_0x455ff5={_0x2098fa:0x12c},_0x41d9cf=_0x548726;if(!this['canvasLayer'])return;const _0x1364ef=this;try{const _0x4c950a=_0x1364ef[_0x41d9cf(0x11b)][_0x41d9cf(0x124)],_0x5ecb6c=this['getContext'](),_0x43ad57=this['map'];if(_0x1364ef[_0x41d9cf(0xdc)]()){if(_0x4a97bc===undefined){this[_0x41d9cf(0x13b)](_0x5ecb6c);return;}this[_0x41d9cf(_0x117296._0x5de5d9)]==='2d'&&(_0x5ecb6c[_0x41d9cf(0x148)](),_0x5ecb6c['globalCompositeOperation']=_0x41d9cf(0x118),_0x5ecb6c[_0x41d9cf(_0x117296._0x29afd2)]=_0x41d9cf(0x13d),_0x5ecb6c['fillRect'](0x0,0x0,_0x5ecb6c['canvas'][_0x41d9cf(_0x117296._0x513916)],_0x5ecb6c['canvas']['height']),_0x5ecb6c['restore']());}else this[_0x41d9cf(_0x117296._0x36be82)](_0x5ecb6c);if(this['context']==='2d')for(const _0xcecf36 in _0x1364ef[_0x41d9cf(0x11b)]){_0x5ecb6c[_0xcecf36]=_0x1364ef[_0x41d9cf(0x11b)][_0xcecf36];}else _0x5ecb6c['clear'](_0x5ecb6c[_0x41d9cf(_0x117296._0x40c244)]);if(_0x1364ef['options']['minZoom']&&_0x43ad57['getZoom']()<_0x1364ef[_0x41d9cf(_0x117296._0x4b3438)]['minZoom']||_0x1364ef[_0x41d9cf(_0x117296._0x4b3438)][_0x41d9cf(_0x117296._0x125a1c)]&&_0x43ad57[_0x41d9cf(_0x117296._0x52e1a8)]()>_0x1364ef[_0x41d9cf(_0x117296._0x4b3438)]['maxZoom'])return;const _0x59c045=_0x43ad57[_0x41d9cf(0xf2)](),_0x5700e8=_0x59c045[_0x41d9cf(0xd6)]()-_0x59c045['getWest'](),_0x2135fe=_0x59c045[_0x41d9cf(0xeb)]()-_0x59c045[_0x41d9cf(0x125)](),_0x281ab8=_0x43ad57['getSize'](),_0x464f3b=_0x5700e8/_0x281ab8['x'],_0x41ccb1=_0x2135fe/_0x281ab8['y'],_0x4ccae8=this['canvasLayer']['getTopLeft'](),_0x386808=_0x43ad57[_0x41d9cf(0x12c)](_0x4ccae8),_0x1f9f46={'transferCoordinate':function(_0x4f6756){const _0x15c17=_0x41d9cf;let _0x371035;if(_0x1364ef[_0x15c17(0xdb)]==='2d')_0x371035=_0x43ad57[_0x15c17(_0x455ff5._0x2098fa)](L$1[_0x15c17(0xef)](_0x4f6756[0x1],_0x4f6756[0x0]));else{const _0xef2f96={};_0xef2f96['x']=(_0x4f6756[0x0]-_0x4ccae8['lng'])/_0x464f3b,_0xef2f96['y']=(_0x4ccae8['lat']-_0x4f6756[0x1])/_0x41ccb1,_0x371035=_0xef2f96;}const _0x2ab39a={};_0x2ab39a['x']=_0x371035['x']-_0x386808['x'],_0x2ab39a['y']=_0x371035['y']-_0x386808['x'];const _0x487e6d=_0x2ab39a;return[_0x487e6d['x'],_0x487e6d['y']];}};_0x4a97bc!==undefined&&(_0x1f9f46[_0x41d9cf(_0x117296._0x6db529)]=function(_0x485e08){const _0x1a8323=_0x41d9cf,_0x1c65d3=_0x4c950a[_0x1a8323(_0x533449._0x1c296e)]||0xa;return _0x4a97bc&&_0x485e08['time']>_0x4a97bc-_0x1c65d3&&_0x485e08[_0x1a8323(_0x533449._0x210a22)]<_0x4a97bc;});const _0x2a9959=_0x1364ef[_0x41d9cf(0x14c)]['get'](_0x1f9f46);this[_0x41d9cf(_0x117296._0x427657)](_0x2a9959),_0x1364ef[_0x41d9cf(_0x117296._0x41d70c)][_0x41d9cf(0xcf)]=_0x1364ef['options'][_0x41d9cf(0x129)];const _0x49ffb4=_0x43ad57['latLngToContainerPoint'](L$1[_0x41d9cf(0xef)](0x0,0x0)),_0xb0c21d={};_0xb0c21d['x']=_0x49ffb4['x']-_0x386808['x'],_0xb0c21d['y']=_0x49ffb4['y']-_0x386808['y'];const _0x54893a=_0xb0c21d;_0x2a9959&&_0x2a9959[_0x41d9cf(0x139)]>0x0&&this['drawContext'](_0x5ecb6c,_0x2a9959,_0x1364ef[_0x41d9cf(0x11b)],_0x54893a),_0x1364ef['options']['updateCallback']&&_0x1364ef[_0x41d9cf(0x11b)][_0x41d9cf(0x117)](_0x4a97bc);}catch(_0x1d0d4b){console[_0x41d9cf(_0x117296._0x10bb4f)](_0x41d9cf(_0x117296._0x35818d),_0x1d0d4b);}}['init'](_0x5f1111){const _0x5c43f5={_0x4f4138:0x14e,_0x2a0ced:0xdb,_0x251cce:0xf0,_0x53de7f:0x11b,_0x2fa3bf:0xf7},_0x5274e1=_0x548726,_0x591cc4=this;_0x591cc4['options']=_0x5f1111,this[_0x5274e1(_0x5c43f5._0x4f4138)](_0x5f1111),this['context']=_0x591cc4[_0x5274e1(0x11b)][_0x5274e1(_0x5c43f5._0x2a0ced)]||'2d',_0x591cc4[_0x5274e1(0x11b)]['zIndex']&&(this[_0x5274e1(_0x5c43f5._0x251cce)]&&this[_0x5274e1(0xf0)][_0x5274e1(0x13e)](_0x591cc4[_0x5274e1(_0x5c43f5._0x53de7f)][_0x5274e1(_0x5c43f5._0x2fa3bf)])),this['initAnimator']();}['addAnimatorEvent'](){}[_0x548726(0xf9)](){const _0xc2d65b={_0x25ed47:0x11b,_0x3c1215:0xf3,_0x538cfd:0x10d},_0x4df79f=_0x548726,_0x58ce6a=this[_0x4df79f(_0xc2d65b._0x25ed47)]['animation'];this['isEnabledTime']()&&this[_0x4df79f(_0xc2d65b._0x3c1215)]&&(this['steps'][_0x4df79f(0xf4)]=_0x58ce6a[_0x4df79f(_0xc2d65b._0x538cfd)]['start'],this['_hide']());}['moveEndEvent'](){const _0x3b80dc={_0x298612:0xf0},_0x12f839=_0x548726;this[_0x12f839(_0x3b80dc._0x298612)]['draw'](),this[_0x12f839(0x108)]();}[_0x548726(0xe1)](){const _0x5d6cf5={_0x437a51:0x140},_0x5677e0=_0x548726;this[_0x5677e0(_0x5d6cf5._0x437a51)]();}['clear'](_0x1c6a00){const _0x108ff2={_0x2e304d:0xdd,_0x130ca9:0x132,_0xf4b19f:0x10b},_0x2d2a4b=_0x548726;_0x1c6a00&&_0x1c6a00['clearRect']&&_0x1c6a00[_0x2d2a4b(_0x108ff2._0x2e304d)](0x0,0x0,_0x1c6a00[_0x2d2a4b(0x132)]['width'],_0x1c6a00[_0x2d2a4b(_0x108ff2._0x130ca9)][_0x2d2a4b(_0x108ff2._0xf4b19f)]);}['_hide'](){const _0x58bc5d={_0x40e42a:0x132,_0x315287:0x141,_0xd95d1a:0x138},_0x2cede1=_0x548726;this[_0x2cede1(0xf0)][_0x2cede1(_0x58bc5d._0x40e42a)][_0x2cede1(0x14b)][_0x2cede1(_0x58bc5d._0x315287)]=_0x2cede1(_0x58bc5d._0xd95d1a);}[_0x548726(0x108)](){const _0x51cee8={_0x11ce6d:0x132,_0x33874c:0x14b,_0x5e4b0e:0x141},_0x28414c=_0x548726;this['canvasLayer'][_0x28414c(_0x51cee8._0x11ce6d)][_0x28414c(_0x51cee8._0x33874c)][_0x28414c(_0x51cee8._0x5e4b0e)]='block';}['draw'](){this['canvasLayer']['draw']();}}const L=mars2d__namespace['L'];class MapVLayer extends L[_0x548726(0x126)]{[_0x548726(0x107)](_0x57d936={},_0x216b05){const _0x31c0a6={_0x4b076f:0x11b},_0x20b257=_0x548726;var _0x57f467,_0x4fa06e;this[_0x20b257(0x11b)]=_0x57d936,this['dataSet']=_0x216b05||new mapv__namespace['DataSet'](_0x57d936['data']),this[_0x20b257(_0x31c0a6._0x4b076f)]['id']=(_0x57f467=this[_0x20b257(0x11b)]['id'])!==null&&_0x57f467!==void 0x0?_0x57f467:mars2d__namespace[_0x20b257(0x111)][_0x20b257(0x123)](),this[_0x20b257(_0x31c0a6._0x4b076f)][_0x20b257(0x110)]=(_0x4fa06e=this['options'][_0x20b257(0x110)])!==null&&_0x4fa06e!==void 0x0?_0x4fa06e:-0x1;}get['isAdded'](){const _0x3b7726={_0x321e6b:0x128},_0x1412b5=_0x548726;return this['_map']&&this['_map'][_0x1412b5(_0x3b7726._0x321e6b)](this);}get['pid'](){const _0x204e64={_0x59fb1a:0x11b,_0xaf7541:0x110},_0x36519b=_0x548726;return this[_0x36519b(_0x204e64._0x59fb1a)][_0x36519b(_0x204e64._0xaf7541)];}set[_0x548726(0x110)](_0x5209dd){const _0x5300ef=_0x548726;this[_0x5300ef(0x11b)]['pid']=_0x5209dd;}get['id'](){const _0x2cb18c={_0x22f2b8:0x11b},_0x463085=_0x548726;return this[_0x463085(_0x2cb18c._0x22f2b8)]['id'];}set['id'](_0x3c6191){this['options']['id']=_0x3c6191;}get[_0x548726(0x100)](){const _0x4c760a=_0x548726;return this['options'][_0x4c760a(0x100)];}set['name'](_0x2f9803){const _0x72548={_0x5f5bf6:0x11b,_0x3a47f1:0x100},_0x2add85=_0x548726;this[_0x2add85(_0x72548._0x5f5bf6)][_0x2add85(_0x72548._0x3a47f1)]=_0x2f9803;}[_0x548726(0x113)](_0x206e3f){const _0x189781={_0x42c2e1:0xd8,_0x478e04:0xde,_0x1a40eb:0xfe,_0x28aa2b:0x149,_0x56a1f8:0x10e,_0x23baec:0x14b,_0x2ed70d:0x136,_0x509677:0x14b,_0x5518f5:0x11e,_0x32ab3b:0x136,_0x647580:0xf7,_0x2cfc56:0xd5,_0x21b738:0x10c,_0x376786:0x14c,_0x23c82c:0x139,_0x542004:0x14a,_0x3e9df5:0x14c,_0x1d4a2c:0x11b},_0x343b43=_0x548726;this[_0x343b43(_0x189781._0x42c2e1)]=_0x206e3f;const _0xb6781=_0x206e3f[_0x343b43(_0x189781._0x478e04)](this['options']['pane']||'overlayPane'),_0x29fb85=L[_0x343b43(_0x189781._0x1a40eb)]['create'](_0x343b43(_0x189781._0x28aa2b),_0x343b43(_0x189781._0x56a1f8),_0xb6781);_0x29fb85[_0x343b43(_0x189781._0x23baec)]['position']='absolute',_0x29fb85[_0x343b43(0x14b)]['top']=_0x343b43(_0x189781._0x2ed70d),_0x29fb85[_0x343b43(_0x189781._0x509677)][_0x343b43(_0x189781._0x5518f5)]=_0x343b43(_0x189781._0x32ab3b),_0x29fb85['style'][_0x343b43(_0x189781._0x647580)]=this[_0x343b43(0x11b)]['zIndex']||0x63,this['canvas']=this[_0x343b43(_0x189781._0x2cfc56)](),_0x29fb85[_0x343b43(0x120)](this['canvas']);const _0x588180=_0x206e3f['getSize']();_0x29fb85[_0x343b43(0x14b)]['width']=_0x588180['x']+'px',_0x29fb85[_0x343b43(0x14b)]['height']=_0x588180['y']+'px',this[_0x343b43(_0x189781._0x21b738)]=_0x29fb85,this[_0x343b43(_0x189781._0x376786)]&&(!this[_0x343b43(0x14c)]['_data']||this[_0x343b43(0x14c)]['_data'][_0x343b43(_0x189781._0x23c82c)]===0x0)&&(this[_0x343b43(_0x189781._0x376786)]['_data']=[][_0x343b43(_0x189781._0x542004)](this[_0x343b43(_0x189781._0x3e9df5)]['_dataCache'])),this[_0x343b43(0xf6)]=new MapVRenderer(_0x206e3f,this,this['dataSet'],this[_0x343b43(_0x189781._0x1d4a2c)]),this['draw'](),this['fire'](_0x343b43(0xfd));}[_0x548726(0x147)](_0x32be7c){const _0x37cf37={_0x12fb6c:0xf6,_0x4fd9cc:0xd1,_0x46b41e:0x10c,_0x40913f:0x132},_0x20d495=_0x548726;this[_0x20d495(0xf6)][_0x20d495(0x142)](),delete this[_0x20d495(_0x37cf37._0x12fb6c)],L['DomUtil'][_0x20d495(_0x37cf37._0x4fd9cc)](this[_0x20d495(0x10c)]),delete this[_0x20d495(_0x37cf37._0x46b41e)],delete this[_0x20d495(_0x37cf37._0x40913f)];}[_0x548726(0x11d)](_0xb0364b){const _0x4d9f4b={_0x390612:0x11d},_0x2290e4=_0x548726;this[_0x2290e4(0xf6)]&&this['_mapVRenderer'][_0x2290e4(_0x4d9f4b._0x390612)](_0xb0364b,this['options']);}['updateData'](_0x5f00c1){const _0x527b97={_0x4a615b:0xf6,_0x251f4e:0x11b},_0x1d08d5=_0x548726;this[_0x1d08d5(0xf6)]&&this[_0x1d08d5(_0x527b97._0x4a615b)]['updateData'](_0x5f00c1,this[_0x1d08d5(_0x527b97._0x251f4e)]);}[_0x548726(0x121)](){const _0x8cc23b={_0x4f9705:0xf6,_0x3e9abf:0x121},_0x3c8535=_0x548726;return this[_0x3c8535(_0x8cc23b._0x4f9705)]&&(this[_0x3c8535(0x14c)]=this['_mapVRenderer'][_0x3c8535(_0x8cc23b._0x3e9abf)]()),this[_0x3c8535(0x14c)];}['removeData'](_0x17a08c){const _0x581127=_0x548726;this[_0x581127(0xf6)]&&this['_mapVRenderer']['removeData'](_0x17a08c);}['removeAllData'](){const _0x1572f6={_0x59efaa:0x104},_0x548f10=_0x548726;this['_mapVRenderer']&&this['_mapVRenderer'][_0x548f10(_0x1572f6._0x59efaa)]();}[_0x548726(0x130)](){const _0x446588={_0x3bf1e9:0xe6},_0x366e10=_0x548726;this[_0x366e10(_0x446588._0x3bf1e9)]();}['setZIndex'](_0xc0c4cc){const _0x5570d4={_0x2eb3bb:0x11b,_0x4da170:0x10c},_0x22ca98=_0x548726;this[_0x22ca98(_0x5570d4._0x2eb3bb)]['zIndex']=_0xc0c4cc,this[_0x22ca98(_0x5570d4._0x4da170)]&&(this[_0x22ca98(_0x5570d4._0x4da170)][_0x22ca98(0x14b)][_0x22ca98(0xf7)]=_0xc0c4cc);}[_0x548726(0x114)](){const _0x41360c=_0x548726;this[_0x41360c(0xf6)]['_canvasUpdate']();}['getCanvas'](){const _0x5613ba={_0x52e329:0x132},_0x4ff307=_0x548726;return this[_0x4ff307(_0x5613ba._0x52e329)];}[_0x548726(0x146)](){const _0x19b7a6=_0x548726;return this[_0x19b7a6(0x10c)];}[_0x548726(0x106)](){const _0x58209e={_0x2b7300:0xf2,_0x55ace6:0xe7},_0x27df04=_0x548726,_0x155e98=this[_0x27df04(0xd8)];let _0x109df7;if(_0x155e98){const _0x5b53a0=_0x155e98[_0x27df04(_0x58209e._0x2b7300)]();_0x109df7=_0x5b53a0[_0x27df04(_0x58209e._0x55ace6)]();}return _0x109df7;}[_0x548726(0xd5)](){const _0x247955={_0x40985d:0x10a,_0x2c3a6e:0x132,_0x1a4e13:0x14b,_0x80816:0xf7,_0x19a173:0x11b,_0x4a5d85:0xea,_0x120572:0xee,_0x5b1e91:0x11a},_0x2b6c3c=_0x548726,_0x33a186=document[_0x2b6c3c(_0x247955._0x40985d)](_0x2b6c3c(_0x247955._0x2c3a6e));_0x33a186['style'][_0x2b6c3c(0xe0)]='absolute',_0x33a186['style'][_0x2b6c3c(0xfb)]=0x0+'px',_0x33a186['style']['left']=0x0+'px',_0x33a186[_0x2b6c3c(_0x247955._0x1a4e13)]['pointerEvents']=_0x2b6c3c(0x138),_0x33a186['style'][_0x2b6c3c(_0x247955._0x80816)]=this[_0x2b6c3c(_0x247955._0x19a173)][_0x2b6c3c(_0x247955._0x80816)]||0x258;const _0x1b1b6f=typeof window===_0x2b6c3c(_0x247955._0x4a5d85)?{}:window,_0x5bcc84=this[_0x2b6c3c(_0x247955._0x120572)]=_0x1b1b6f['devicePixelRatio'];return this['options']['context']==='2d'&&_0x33a186[_0x2b6c3c(_0x247955._0x5b1e91)]('2d')['scale'](_0x5bcc84,_0x5bcc84),_0x33a186;}[_0x548726(0x12b)](){const _0x44e134={_0x3875c6:0x132,_0x381c97:0xe9,_0x15530d:0x10b,_0x1af3a8:0xe9,_0x3e79c7:0x14b,_0x4d925a:0xd9},_0x695cb9=_0x548726,_0x3929e6=this[_0x695cb9(_0x44e134._0x3875c6)];if(!_0x3929e6)return;const _0x15fb94=this['_map'],_0x50cd58=_0x15fb94['getSize']();_0x3929e6[_0x695cb9(_0x44e134._0x381c97)]=_0x50cd58['x'],_0x3929e6[_0x695cb9(_0x44e134._0x15530d)]=_0x50cd58['y'],_0x3929e6['style'][_0x695cb9(_0x44e134._0x1af3a8)]=_0x50cd58['x']+'px',_0x3929e6[_0x695cb9(_0x44e134._0x3e79c7)][_0x695cb9(_0x44e134._0x15530d)]=_0x50cd58['y']+'px';const _0x146806=_0x15fb94['getBounds'](),_0x2c69d9=_0x15fb94[_0x695cb9(_0x44e134._0x4d925a)](_0x146806['getNorthWest']());L[_0x695cb9(0xfe)]['setPosition'](_0x3929e6,_0x2c69d9);}[_0x548726(0xe6)](){const _0x16abbe=_0x548726;this[_0x16abbe(0x12b)](),this[_0x16abbe(0xd0)]();}[_0x548726(0xf5)](){const _0x1810dc={_0x488fbc:0x12b},_0x403cd2=_0x548726;this[_0x403cd2(_0x1810dc._0x488fbc)](),this[_0x403cd2(0xd0)]();}[_0x548726(0xd0)](){const _0x1a5f2={_0x130740:0x114},_0x197c61=_0x548726;this[_0x197c61(_0x1a5f2._0x130740)]();}}mars2d__namespace[_0x548726(0xd7)]['MapVLayer']=MapVLayer,mars2d__namespace[_0x548726(0x13a)]['register'](_0x548726(0xf8),MapVLayer),exports[_0x548726(0x137)]=MapVLayer,Object['keys'](mapv)[_0x548726(0x145)](function(_0x5c1c99){const _0xd70150={_0x4efad2:0x101},_0x10aea5=_0x548726;if(_0x5c1c99!==_0x10aea5(0xec)&&!exports[_0x10aea5(_0xd70150._0x4efad2)](_0x5c1c99))Object[_0x10aea5(0x152)](exports,_0x5c1c99,{'enumerable':!![],'get':function(){return mapv[_0x5c1c99];}});});const _0x4fdd52={};_0x4fdd52['value']=!![],Object[_0x548726(0x152)](exports,'__esModule',_0x4fdd52);
|
|
15
|
-
}));
|