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.0.11 to 3.0.12

12

dist/mars2d-mapv.js
/**
* Mars2D地理信息平台
* Mars2D地理信息平台 mars2d-sdk
*
* 版本信息:v3.0.11,
* 编译日期:2022-03-11 16:19:43
*
* 版本信息:v3.0.12
* 编译日期:2022-03-16 14:55:54
* 版权所有:Copyright by 火星科技 http://mars2d.cn
*
* 使用单位:免费公开版 ,2021-10-01
*/
(function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('mapv'), require('mars2d')) :
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, (window.mapv || require('mapv')), (window.mars2d || require('mars2d'))) :
typeof define === 'function' && define.amd ? define(['exports', 'mapv', 'mars2d'], factory) :
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory(global["mars2d-mapv"] = {}, global.mapv, global.mars2d));
})(this, (function (exports, mapv, mars2d) { 'use strict';const _0x122d77=_0x39fe;(function(_0x14a1a4,_0x5eb757){const _0x342b4e=_0x39fe,_0x2ddff6=_0x14a1a4();while(!![]){try{const _0x41202e=-parseInt(_0x342b4e(0x129))/0x1+parseInt(_0x342b4e(0x13f))/0x2+-parseInt(_0x342b4e(0x127))/0x3+parseInt(_0x342b4e(0x1a8))/0x4+-parseInt(_0x342b4e(0x14f))/0x5*(parseInt(_0x342b4e(0x140))/0x6)+-parseInt(_0x342b4e(0x124))/0x7*(parseInt(_0x342b4e(0x13a))/0x8)+-parseInt(_0x342b4e(0x181))/0x9*(-parseInt(_0x342b4e(0x16d))/0xa);if(_0x41202e===_0x5eb757)break;else _0x2ddff6['push'](_0x2ddff6['shift']());}catch(_0x47ceb1){_0x2ddff6['push'](_0x2ddff6['shift']());}}}(_0x1b44,0x2ff2b));function _interopNamespace(_0x40aeb6){const _0x4eeddf=_0x39fe;if(_0x40aeb6&&_0x40aeb6['__esModule'])return _0x40aeb6;var _0x377d06=Object[_0x4eeddf(0x17f)](null);return _0x40aeb6&&Object[_0x4eeddf(0x13d)](_0x40aeb6)[_0x4eeddf(0x148)](function(_0x3018c7){const _0x171c7f=_0x4eeddf;if(_0x3018c7!=='default'){var _0x6e5b16=Object[_0x171c7f(0x130)](_0x40aeb6,_0x3018c7);Object[_0x171c7f(0x198)](_0x377d06,_0x3018c7,_0x6e5b16[_0x171c7f(0x195)]?_0x6e5b16:{'enumerable':!![],'get':function(){return _0x40aeb6[_0x3018c7];}});}}),_0x377d06[_0x4eeddf(0x125)]=_0x40aeb6,_0x377d06;}var mapv__namespace=_interopNamespace(mapv),mars2d__namespace=_interopNamespace(mars2d);const L$1=mars2d__namespace['L'],baiduMapLayer=mapv__namespace?mapv__namespace[_0x122d77(0x1a0)]:null,BaseLayer=baiduMapLayer?baiduMapLayer[_0x122d77(0x14e)]:Function;class MapVRenderer extends BaseLayer{constructor(_0xec514e,_0x541c55,_0x11a5c0,_0x310e2f){const _0x1bef85=_0x122d77;super(_0xec514e,_0x11a5c0,_0x310e2f);if(!BaseLayer)return;const _0x7d62af=this;_0x310e2f=_0x310e2f||{},_0x7d62af[_0x1bef85(0x128)](_0x310e2f),_0x7d62af[_0x1bef85(0x1b3)](_0x310e2f),this['canvasLayer']=_0x541c55,this[_0x1bef85(0x153)]=this[_0x1bef85(0x153)][_0x1bef85(0x151)](this),this[_0x1bef85(0x1a6)]=this[_0x1bef85(0x1a6)]['bind'](this),this['_moveStartEvent']=this[_0x1bef85(0x143)][_0x1bef85(0x151)](this),this[_0x1bef85(0x138)]=this['moveEndEvent'][_0x1bef85(0x151)](this),this[_0x1bef85(0x13c)]=this[_0x1bef85(0x15e)][_0x1bef85(0x151)](this),this[_0x1bef85(0x164)]();}['clickEvent'](_0x657bb2){const _0xdde9bb=_0x122d77,_0xcb04b5=this[_0xdde9bb(0x145)][_0xdde9bb(0x12e)]([0x0,0x0]),_0x4e6cc0=this[_0xdde9bb(0x158)]=this[_0xdde9bb(0x134)]['devicePixelRatio']=window['devicePixelRatio'],_0x15fd2c=_0x657bb2[_0xdde9bb(0x1b0)];super[_0xdde9bb(0x153)](L$1['point']((_0x15fd2c['x']-_0xcb04b5['x'])/_0x4e6cc0,(_0x15fd2c['y']-_0xcb04b5['y'])/_0x4e6cc0),_0x657bb2);}[_0x122d77(0x1a6)](_0x4982b8){const _0x110953=_0x122d77,_0x2a90b2=_0x4982b8[_0x110953(0x1b0)];super[_0x110953(0x1a6)](_0x2a90b2,_0x4982b8);}[_0x122d77(0x164)](){const _0x276361=_0x122d77,_0x5cabda=this['map'];this[_0x276361(0x17a)]['methods']&&(this[_0x276361(0x17a)][_0x276361(0x1ac)][_0x276361(0x1a9)]&&_0x5cabda['on']('click',this[_0x276361(0x153)]),this['options'][_0x276361(0x1ac)][_0x276361(0x13b)]&&_0x5cabda['on'](_0x276361(0x13b),this[_0x276361(0x1a6)])),this[_0x276361(0x145)]['on'](_0x276361(0x175),this['_moveStartEvent']),this[_0x276361(0x145)]['on']('moveend',this['_moveEndEvent']),this[_0x276361(0x145)]['on']('zoomstart',this[_0x276361(0x13c)]);}[_0x122d77(0x196)](){const _0x3053cb=_0x122d77;this[_0x3053cb(0x1ae)](),this[_0x3053cb(0x15b)](),this['animator']&&this[_0x3053cb(0x165)][_0x3053cb(0x186)](),this[_0x3053cb(0x165)]=null,this[_0x3053cb(0x134)]=null;}['unbindEvent'](){const _0x426525=_0x122d77,_0x1eb039=this[_0x426525(0x145)];this[_0x426525(0x17a)][_0x426525(0x1ac)]&&(this[_0x426525(0x17a)][_0x426525(0x1ac)][_0x426525(0x1a9)]&&_0x1eb039[_0x426525(0x17b)](_0x426525(0x1a9),this[_0x426525(0x153)]),this['options'][_0x426525(0x1ac)]['mousemove']&&_0x1eb039[_0x426525(0x17b)](_0x426525(0x13b),this[_0x426525(0x1a6)])),this['map'][_0x426525(0x17b)](_0x426525(0x175),this[_0x426525(0x123)]),this[_0x426525(0x145)][_0x426525(0x17b)](_0x426525(0x19a),this['_moveEndEvent']),this[_0x426525(0x145)][_0x426525(0x17b)](_0x426525(0x19c),this[_0x426525(0x13c)]);}['getContext'](){const _0x5d6577=_0x122d77;return this[_0x5d6577(0x134)][_0x5d6577(0x1a2)]()[_0x5d6577(0x18b)](this[_0x5d6577(0x1ab)]);}[_0x122d77(0x155)](_0x37d3a3,_0x50997d){const _0x4d6f27=_0x122d77;let _0x24407c=_0x37d3a3;_0x37d3a3&&_0x37d3a3['get']&&(_0x24407c=_0x37d3a3[_0x4d6f27(0x195)]()),this[_0x4d6f27(0x156)]['add'](_0x24407c),this['update']({'options':_0x50997d});}['update'](_0x5e5a2b){const _0x110847=_0x122d77,_0x4e257f=_0x5e5a2b||{};let _0x36860f=_0x4e257f['data'];_0x36860f&&_0x36860f[_0x110847(0x195)]&&(_0x36860f=_0x36860f['get']()),_0x36860f!==undefined&&this[_0x110847(0x156)]['set'](_0x36860f),super[_0x110847(0x18a)]({'options':_0x4e257f['options']});}['getData'](){return this['dataSet'];}['removeData'](_0x475164){const _0x1b5d95=_0x122d77;if(!this[_0x1b5d95(0x156)])return;const _0x307ec7=this[_0x1b5d95(0x156)][_0x1b5d95(0x195)]({'filter':function(_0x198a7d){const _0x5d3dfa=_0x1b5d95;return _0x475164!=null&&typeof _0x475164===_0x5d3dfa(0x190)?!_0x475164(_0x198a7d):!![];}});this[_0x1b5d95(0x156)][_0x1b5d95(0x147)](_0x307ec7),this[_0x1b5d95(0x18a)]({'options':null});}[_0x122d77(0x15b)](){const _0x5699a5=_0x122d77;this[_0x5699a5(0x156)]&&this['dataSet']['clear'](),this[_0x5699a5(0x18a)]({'options':null});}['_canvasUpdate'](_0x458aac){const _0x357424=_0x122d77;if(!this[_0x357424(0x134)])return;const _0x458c7a=this;try{const _0x2fc489=_0x458c7a['options'][_0x357424(0x1a3)],_0x352586=this[_0x357424(0x18b)](),_0x234ec4=this[_0x357424(0x145)];if(_0x458c7a['isEnabledTime']()){if(_0x458aac===undefined){this[_0x357424(0x17c)](_0x352586);return;}this[_0x357424(0x1ab)]==='2d'&&(_0x352586['save'](),_0x352586[_0x357424(0x162)]=_0x357424(0x1b2),_0x352586['fillStyle']=_0x357424(0x154),_0x352586['fillRect'](0x0,0x0,_0x352586[_0x357424(0x18d)][_0x357424(0x160)],_0x352586['canvas']['height']),_0x352586[_0x357424(0x192)]());}else this[_0x357424(0x17c)](_0x352586);if(this[_0x357424(0x1ab)]==='2d')for(const _0x194751 in _0x458c7a['options']){_0x352586[_0x194751]=_0x458c7a[_0x357424(0x17a)][_0x194751];}else _0x352586[_0x357424(0x17c)](_0x352586[_0x357424(0x14a)]);if(_0x458c7a[_0x357424(0x17a)][_0x357424(0x15d)]&&_0x234ec4[_0x357424(0x132)]()<_0x458c7a[_0x357424(0x17a)][_0x357424(0x15d)]||_0x458c7a[_0x357424(0x17a)][_0x357424(0x15c)]&&_0x234ec4[_0x357424(0x132)]()>_0x458c7a['options'][_0x357424(0x15c)])return;const _0x5054a6=_0x234ec4['getBounds'](),_0xf10581=_0x5054a6['getEast']()-_0x5054a6['getWest'](),_0xcadac8=_0x5054a6[_0x357424(0x15f)]()-_0x5054a6[_0x357424(0x19b)](),_0x1985c7=_0x234ec4['getSize'](),_0x4a1b0a=_0xf10581/_0x1985c7['x'],_0x160f7e=_0xcadac8/_0x1985c7['y'],_0x3f92d8=this[_0x357424(0x134)][_0x357424(0x122)](),_0x13b216=_0x234ec4[_0x357424(0x188)](_0x3f92d8),_0x5ad33e={'transferCoordinate':function(_0x191346){const _0x488ea2=_0x357424;let _0xd4e8c2;_0x458c7a[_0x488ea2(0x1ab)]==='2d'?_0xd4e8c2=_0x234ec4[_0x488ea2(0x188)](L$1[_0x488ea2(0x187)](_0x191346[0x1],_0x191346[0x0])):_0xd4e8c2={'x':(_0x191346[0x0]-_0x3f92d8[_0x488ea2(0x1aa)])/_0x4a1b0a,'y':(_0x3f92d8[_0x488ea2(0x11f)]-_0x191346[0x1])/_0x160f7e};const _0x4df4fb={'x':_0xd4e8c2['x']-_0x13b216['x'],'y':_0xd4e8c2['y']-_0x13b216['x']};return[_0x4df4fb['x'],_0x4df4fb['y']];}};_0x458aac!==undefined&&(_0x5ad33e[_0x357424(0x11d)]=function(_0x538ea7){const _0x48772c=_0x357424,_0x11de79=_0x2fc489[_0x48772c(0x193)]||0xa;return _0x458aac&&_0x538ea7[_0x48772c(0x157)]>_0x458aac-_0x11de79&&_0x538ea7[_0x48772c(0x157)]<_0x458aac;});const _0x57aa77=_0x458c7a[_0x357424(0x156)][_0x357424(0x195)](_0x5ad33e);this['processData'](_0x57aa77),_0x458c7a[_0x357424(0x17a)]['_size']=_0x458c7a[_0x357424(0x17a)]['size'];const _0x2ce38e=_0x234ec4['latLngToContainerPoint'](L$1[_0x357424(0x187)](0x0,0x0)),_0xf03b36={'x':_0x2ce38e['x']-_0x13b216['x'],'y':_0x2ce38e['y']-_0x13b216['y']};this[_0x357424(0x177)](_0x352586,_0x57aa77,_0x458c7a[_0x357424(0x17a)],_0xf03b36),_0x458c7a[_0x357424(0x17a)][_0x357424(0x182)]&&_0x458c7a[_0x357424(0x17a)][_0x357424(0x182)](_0x458aac);}catch(_0x309b54){console[_0x357424(0x152)](_0x357424(0x19d),_0x309b54);}}['init'](_0x17952f){const _0x180ae1=_0x122d77,_0x40b496=this;_0x40b496[_0x180ae1(0x17a)]=_0x17952f,this[_0x180ae1(0x137)](_0x17952f),this['context']=_0x40b496['options'][_0x180ae1(0x1ab)]||'2d',_0x40b496[_0x180ae1(0x17a)][_0x180ae1(0x191)]&&(this[_0x180ae1(0x134)]&&this[_0x180ae1(0x134)][_0x180ae1(0x1a5)](_0x40b496[_0x180ae1(0x17a)][_0x180ae1(0x191)])),this[_0x180ae1(0x19e)]();}[_0x122d77(0x144)](){}[_0x122d77(0x143)](){const _0x131a79=_0x122d77,_0x52132d=this['options']['animation'];this[_0x131a79(0x17e)]()&&this[_0x131a79(0x165)]&&(this[_0x131a79(0x11a)][_0x131a79(0x18f)]=_0x52132d[_0x131a79(0x139)][_0x131a79(0x173)],this['_hide']());}[_0x122d77(0x17d)](){const _0x40a195=_0x122d77;this[_0x40a195(0x134)]['draw'](),this[_0x40a195(0x120)]();}[_0x122d77(0x15e)](){const _0x3234bd=_0x122d77;this[_0x3234bd(0x170)]();}[_0x122d77(0x17c)](_0x4211cf){const _0x1de45f=_0x122d77;_0x4211cf&&_0x4211cf['clearRect']&&_0x4211cf[_0x1de45f(0x12d)](0x0,0x0,_0x4211cf[_0x1de45f(0x18d)]['width'],_0x4211cf[_0x1de45f(0x18d)]['height']);}[_0x122d77(0x170)](){const _0x3deaaa=_0x122d77;this['canvasLayer'][_0x3deaaa(0x18d)][_0x3deaaa(0x16f)][_0x3deaaa(0x18e)]=_0x3deaaa(0x19f);}[_0x122d77(0x120)](){const _0x20f0ef=_0x122d77;this[_0x20f0ef(0x134)][_0x20f0ef(0x18d)]['style'][_0x20f0ef(0x18e)]=_0x20f0ef(0x1af);}[_0x122d77(0x14c)](){const _0x52f3b9=_0x122d77;this[_0x52f3b9(0x134)]['draw']();}}const L=mars2d__namespace['L'];class MapVLayer extends L[_0x122d77(0x16a)]{['initialize'](_0x4a2ec3={},_0x15bb4e){const _0x2a0432=_0x122d77;this[_0x2a0432(0x17a)]=_0x4a2ec3,this[_0x2a0432(0x156)]=_0x15bb4e||new mapv__namespace[(_0x2a0432(0x16b))](_0x4a2ec3[_0x2a0432(0x174)]),L[_0x2a0432(0x126)][_0x2a0432(0x161)](this),this[_0x2a0432(0x17a)]['id']=mars2d__namespace[_0x2a0432(0x126)][_0x2a0432(0x178)](this[_0x2a0432(0x17a)]['id'],this[_0x2a0432(0x1ad)]),this[_0x2a0432(0x17a)][_0x2a0432(0x12c)]=mars2d__namespace[_0x2a0432(0x126)][_0x2a0432(0x178)](this['options'][_0x2a0432(0x12c)],-0x1),this[_0x2a0432(0x17a)]['name']=mars2d__namespace[_0x2a0432(0x126)][_0x2a0432(0x178)](this[_0x2a0432(0x17a)][_0x2a0432(0x11b)],'');}get[_0x122d77(0x1ad)](){const _0x9850b=_0x122d77;return this[_0x9850b(0x183)];}get[_0x122d77(0x171)](){const _0x2c9f2d=_0x122d77;return this[_0x2c9f2d(0x185)]&&this[_0x2c9f2d(0x185)][_0x2c9f2d(0x121)](this);}get[_0x122d77(0x12c)](){const _0x27c834=_0x122d77;return this[_0x27c834(0x17a)][_0x27c834(0x12c)];}set[_0x122d77(0x12c)](_0x398212){const _0x2068f1=_0x122d77;this['options'][_0x2068f1(0x12c)]=_0x398212;}get['id'](){const _0x3cdd1c=_0x122d77;return this[_0x3cdd1c(0x17a)]['id'];}set['id'](_0x3a25e3){const _0x2417f9=_0x122d77;this[_0x2417f9(0x17a)]['id']=_0x3a25e3;}get[_0x122d77(0x11b)](){return this['options']['name'];}set['name'](_0x59432e){const _0x47b869=_0x122d77;this[_0x47b869(0x17a)][_0x47b869(0x11b)]=_0x59432e;}['onAdd'](_0x171a1b){const _0x4020e4=_0x122d77;this['_map']=_0x171a1b;const _0xd62c64=_0x171a1b[_0x4020e4(0x159)](this['options'][_0x4020e4(0x12a)]||'overlayPane'),_0x37a946=L[_0x4020e4(0x150)][_0x4020e4(0x17f)](_0x4020e4(0x199),_0x4020e4(0x142),_0xd62c64);_0x37a946[_0x4020e4(0x16f)][_0x4020e4(0x169)]=_0x4020e4(0x179),_0x37a946[_0x4020e4(0x16f)][_0x4020e4(0x194)]=_0x4020e4(0x184),_0x37a946[_0x4020e4(0x16f)][_0x4020e4(0x135)]=_0x4020e4(0x184),_0x37a946[_0x4020e4(0x16f)][_0x4020e4(0x191)]=this[_0x4020e4(0x17a)][_0x4020e4(0x191)]||0x63,this[_0x4020e4(0x18d)]=this[_0x4020e4(0x11e)](),_0x37a946[_0x4020e4(0x16c)](this[_0x4020e4(0x18d)]);const _0x416a9f=_0x171a1b[_0x4020e4(0x197)]();_0x37a946[_0x4020e4(0x16f)][_0x4020e4(0x160)]=_0x416a9f['x']+'px',_0x37a946[_0x4020e4(0x16f)][_0x4020e4(0x166)]=_0x416a9f['y']+'px',this['container']=_0x37a946,this['_mapVRenderer']=new MapVRenderer(_0x171a1b,this,this['dataSet'],this[_0x4020e4(0x17a)]),this[_0x4020e4(0x14c)](),this[_0x4020e4(0x12f)](_0x4020e4(0x176));}[_0x122d77(0x189)](_0x3f5468){const _0x209c94=_0x122d77;L[_0x209c94(0x150)]['remove'](this[_0x209c94(0x16e)]),this[_0x209c94(0x14b)]['destroy'](),delete this[_0x209c94(0x16e)],delete this[_0x209c94(0x18d)],_0x3f5468['off']({'moveend':this[_0x209c94(0x14c)],'zoomstart':this[_0x209c94(0x170)],'zoomend':this[_0x209c94(0x120)]},this);}[_0x122d77(0x155)](_0x2ef637){const _0x454241=_0x122d77;this[_0x454241(0x14b)]&&this[_0x454241(0x14b)][_0x454241(0x155)](_0x2ef637,this[_0x454241(0x17a)]);}['updateData'](_0x184e3f){const _0xf7586a=_0x122d77;this[_0xf7586a(0x14b)]&&this[_0xf7586a(0x14b)]['updateData'](_0x184e3f,this['options']);}[_0x122d77(0x1a7)](){const _0x30747a=_0x122d77;return this[_0x30747a(0x14b)]&&(this[_0x30747a(0x156)]=this[_0x30747a(0x14b)][_0x30747a(0x1a7)]()),this[_0x30747a(0x156)];}[_0x122d77(0x146)](_0x4838e5){const _0x21e34d=_0x122d77;this['_mapVRenderer']&&this[_0x21e34d(0x14b)][_0x21e34d(0x146)](_0x4838e5);}['removeAllData'](){const _0x2c773b=_0x122d77;this['_mapVRenderer']&&this[_0x2c773b(0x14b)]['clearData']();}[_0x122d77(0x14c)](){const _0x2ae70d=_0x122d77;this[_0x2ae70d(0x14d)]();}['setZIndex'](_0x1d8d10){const _0x23066b=_0x122d77;this[_0x23066b(0x17a)][_0x23066b(0x191)]=_0x1d8d10,this['container']&&(this[_0x23066b(0x16e)]['style'][_0x23066b(0x191)]=_0x1d8d10);}[_0x122d77(0x11c)](){const _0x137468=_0x122d77;this[_0x137468(0x14b)]['_canvasUpdate']();}[_0x122d77(0x1a2)](){return this['canvas'];}[_0x122d77(0x167)](){return this['container'];}[_0x122d77(0x122)](){const _0x2dd199=_0x122d77,_0x2c0dfd=this[_0x2dd199(0x185)];let _0x24319a;if(_0x2c0dfd){const _0x21cc4=_0x2c0dfd['getBounds']();_0x24319a=_0x21cc4[_0x2dd199(0x168)]();}return _0x24319a;}[_0x122d77(0x11e)](){const _0x1c14dd=_0x122d77,_0x493483=document[_0x1c14dd(0x136)](_0x1c14dd(0x18d));_0x493483[_0x1c14dd(0x16f)]['position']='absolute',_0x493483['style']['top']=0x0+'px',_0x493483['style']['left']=0x0+'px',_0x493483['style'][_0x1c14dd(0x180)]=_0x1c14dd(0x19f),_0x493483[_0x1c14dd(0x16f)]['zIndex']=this[_0x1c14dd(0x17a)][_0x1c14dd(0x191)]||0x258;const _0x5e99cb=typeof window===_0x1c14dd(0x149)?{}:window,_0x1601f0=this['devicePixelRatio']=_0x5e99cb[_0x1c14dd(0x158)];return this['options'][_0x1c14dd(0x1ab)]==='2d'&&_0x493483[_0x1c14dd(0x18b)]('2d')[_0x1c14dd(0x133)](_0x1601f0,_0x1601f0),_0x493483;}[_0x122d77(0x13e)](){const _0x4b1a91=_0x122d77,_0x2f5cc7=this['canvas'];if(!_0x2f5cc7)return;const _0x414332=this['_map'],_0x484521=_0x414332[_0x4b1a91(0x197)]();_0x2f5cc7[_0x4b1a91(0x160)]=_0x484521['x'],_0x2f5cc7[_0x4b1a91(0x166)]=_0x484521['y'],_0x2f5cc7[_0x4b1a91(0x16f)]['width']=_0x484521['x']+'px',_0x2f5cc7[_0x4b1a91(0x16f)][_0x4b1a91(0x166)]=_0x484521['y']+'px';const _0x29f896=_0x414332[_0x4b1a91(0x163)](),_0x2ed189=_0x414332[_0x4b1a91(0x1b1)](_0x29f896[_0x4b1a91(0x168)]());L[_0x4b1a91(0x150)][_0x4b1a91(0x15a)](_0x2f5cc7,_0x2ed189);}[_0x122d77(0x14d)](){const _0x4019b1=_0x122d77;this[_0x4019b1(0x13e)](),this[_0x4019b1(0x131)]();}[_0x122d77(0x1a1)](){const _0x28af33=_0x122d77;this[_0x28af33(0x13e)](),this[_0x28af33(0x131)]();}[_0x122d77(0x131)](){const _0x1aa118=_0x122d77;this[_0x1aa118(0x11c)]();}}function _0x39fe(_0x556583,_0x1bc880){const _0x1b443b=_0x1b44();return _0x39fe=function(_0x39feb6,_0x2b6b2d){_0x39feb6=_0x39feb6-0x11a;let _0x2bd039=_0x1b443b[_0x39feb6];if(_0x39fe['xLvSQH']===undefined){var _0x45397c=function(_0x40aeb6){const _0x377d06='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x3018c7='',_0x6e5b16='';for(let _0xec514e=0x0,_0x541c55,_0x11a5c0,_0x310e2f=0x0;_0x11a5c0=_0x40aeb6['charAt'](_0x310e2f++);~_0x11a5c0&&(_0x541c55=_0xec514e%0x4?_0x541c55*0x40+_0x11a5c0:_0x11a5c0,_0xec514e++%0x4)?_0x3018c7+=String['fromCharCode'](0xff&_0x541c55>>(-0x2*_0xec514e&0x6)):0x0){_0x11a5c0=_0x377d06['indexOf'](_0x11a5c0);}for(let _0x7d62af=0x0,_0x657bb2=_0x3018c7['length'];_0x7d62af<_0x657bb2;_0x7d62af++){_0x6e5b16+='%'+('00'+_0x3018c7['charCodeAt'](_0x7d62af)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x6e5b16);};_0x39fe['lrINZE']=_0x45397c,_0x556583=arguments,_0x39fe['xLvSQH']=!![];}const _0x2e7a2c=_0x1b443b[0x0],_0x2a0977=_0x39feb6+_0x2e7a2c,_0x565515=_0x556583[_0x2a0977];return!_0x565515?(_0x2bd039=_0x39fe['lrINZE'](_0x2bd039),_0x556583[_0x2a0977]=_0x2bd039):_0x2bd039=_0x565515,_0x2bd039;},_0x39fe(_0x556583,_0x1bc880);}function _0x1b44(){const _0x376a5f=['C2nHBgu','y2fUDMfZtgf5zxi','BgvMDa','y3jLyxrLrwXLBwvUDa','Aw5PDerHDgfsyw5Nzq','x21VDMvfBMrfDMvUDa','C3rLChnsyw5Nzq','mta0tvjUwePr','Bw91C2vTB3zL','x3PVB21tDgfYDev2zw50','A2v5CW','x3jLC2L6zq','mZm3ntzhzhPPB2m','mtmYmJe2we1ktw9u','CMvNAxn0zxi','BgvHzMXLDc1SyxLLCIbSzwfMBgv0lxPVB20Tyw5PBwf0zwq','Bw92zvn0yxj0rxzLBNq','ywrKqw5PBwf0B3jfDMvUDa','BwfW','CMvTB3zLrgf0yq','C2v0','zM9YrwfJAa','Dw5KzwzPBMvK','q09mt1jFqLvgrKvsx0jjva','x21HCfzszw5KzxjLCG','zhjHDW','x3jLC2v0','x19WCM90B19F','ndvOsvrtwgy','rg9TvxrPBa','yMLUza','Bg9N','y2XPy2TfDMvUDa','CMDIysGWlcaWlcaWlcaUmsK','ywrKrgf0yq','zgf0yvnLDa','DgLTzq','zgv2AwnLugL4zwXsyxrPBW','z2v0ugfUzq','C2v0ug9ZAxrPB24','y2XLyxjeyxrH','Bwf4wM9VBq','BwLUwM9VBq','EM9VBvn0yxj0rxzLBNq','z2v0tM9YDgG','D2LKDgG','C3rHBxa','z2XVyMfSq29TCg9ZAxrLt3bLCMf0Aw9U','z2v0qM91BMrZ','yMLUzev2zw50','yw5PBwf0B3i','AgvPz2H0','z2v0q29UDgfPBMvY','z2v0tM9YDgHxzxn0','Cg9ZAxrPB24','tgf5zxi','rgf0yvnLDa','yxbWzw5Kq2HPBgq','mZCWDu5ZA25h','y29UDgfPBMvY','C3r5Bgu','x2HPzgu','AxnbzgrLza','tgf5zxjvDgLS','C3rHCNq','zgf0yq','Bw92zxn0yxj0','Bg9HzgvK','zhjHD0nVBNrLEhq','zgvMyxvSDfzHBhvL','ywjZB2X1Dgu','B3b0Aw9UCW','B2zM','y2XLyxi','Bw92zuvUzev2zw50','AxnfBMfIBgvKvgLTzq','y3jLyxrL','Cg9PBNrLCKv2zw50CW','mtq5nZqYCNbKtvnQ','DxbKyxrLq2fSBgjHy2S','x2XLywzSzxrFAwq','mhb4','x21HCa','C3rVCa','Bgf0tg5N','Bgf0tg5Nvg9by2n1CMf0zunVBNrHAw5LCLbVAw50','B25szw1VDMu','DxbKyxrL','z2v0q29UDgv4Da','BwfWDG','y2fUDMfZ','zgLZCgXHEq','C3rLCa','zNvUy3rPB24','EKLUzgv4','CMvZDg9Yzq','DhjHAwXZ','Dg9W','z2v0','zgvZDhjVEq','z2v0u2L6zq','zgvMAw5LuhjVCgvYDhK','zgL2','Bw92zwvUza','z2v0u291DgG','EM9VBxn0yxj0','BwfWDUA4SUAFK+w8GUw4Ua','Aw5PDefUAw1HDg9Y','BM9Uzq','yMfPzhvnyxbmyxLLCG','CMvKCMf3','z2v0q2fUDMfZ','yw5PBwf0Aw9U','AgfZt3DUuhjVCgvYDhK','C2v0wKLUzgv4','Bw91C2vTB3zLrxzLBNq','z2v0rgf0yq','mti1mZCXmNH0vwDQsW','y2XPy2S','Bg5N','y29UDgv4Da','Bwv0Ag9KCW','DxvPza','Dw5IAw5KrxzLBNq','yMXVy2S','Bgf5zxjqB2LUDa','Bgf0tg5Nvg9myxLLCLbVAw50','zgvZDgLUyxrPB24TB3v0','yxjNq2HLy2S','C3rLChm','BMfTzq','CMvUzgvY','zMLSDgvY','x2nYzwf0zunHBNzHCW','Bgf0','x3nOB3C','AgfZtgf5zxi','z2v0vg9WtgvMDa','x21VDMvtDgfYDev2zw50','mJaWnZy3rMPNvhPW','zgvMyxvSDa','vxrPBa','mZu4otyYr0zHt2no','Aw5PDa','ntG2odzXAfjJD3e','CgfUzq','twfWvKXHEwvY','CgLK','y2XLyxjszwn0','y29UDgfPBMvYug9PBNruB0XHEwvYug9PBNq','zMLYzq','z2v0t3DUuhjVCgvYDhLezxnJCMLWDg9Y','x3jLBMrLCG','z2v0wM9VBq'];_0x1b44=function(){return _0x376a5f;};return _0x1b44();}mars2d__namespace['layer'][_0x122d77(0x12b)]=MapVLayer,mars2d__namespace[_0x122d77(0x172)][_0x122d77(0x141)](_0x122d77(0x18c),MapVLayer),exports[_0x122d77(0x12b)]=MapVLayer,Object['keys'](mapv)['forEach'](function(_0x1896be){const _0x1ab1cd=_0x122d77;if(_0x1896be!==_0x1ab1cd(0x125)&&!exports[_0x1ab1cd(0x1a4)](_0x1896be))Object[_0x1ab1cd(0x198)](exports,_0x1896be,{'enumerable':!![],'get':function(){return mapv[_0x1896be];}});}),Object[_0x122d77(0x198)](exports,'__esModule',{'value':!![]});
})(this, (function (exports, mapv, mars2d) { 'use strict';const _0x382057=_0x3963;(function(_0x386911,_0x516fdd){const _0x2b6b2c=_0x3963,_0x5536d4=_0x386911();while(!![]){try{const _0x967ca7=-parseInt(_0x2b6b2c(0x144))/0x1+parseInt(_0x2b6b2c(0x124))/0x2*(-parseInt(_0x2b6b2c(0x13c))/0x3)+parseInt(_0x2b6b2c(0x154))/0x4+-parseInt(_0x2b6b2c(0x128))/0x5+parseInt(_0x2b6b2c(0x180))/0x6+-parseInt(_0x2b6b2c(0x1a4))/0x7*(parseInt(_0x2b6b2c(0x129))/0x8)+parseInt(_0x2b6b2c(0x193))/0x9;if(_0x967ca7===_0x516fdd)break;else _0x5536d4['push'](_0x5536d4['shift']());}catch(_0xe52bde){_0x5536d4['push'](_0x5536d4['shift']());}}}(_0x31cc,0xdec46));function _interopNamespace(_0x24ea7c){const _0x441de5=_0x3963;if(_0x24ea7c&&_0x24ea7c['__esModule'])return _0x24ea7c;var _0x346c10=Object[_0x441de5(0x12a)](null);return _0x24ea7c&&Object[_0x441de5(0x142)](_0x24ea7c)[_0x441de5(0x18b)](function(_0x2cd1ff){const _0x2ab8f8=_0x441de5;if(_0x2cd1ff!=='default'){var _0x121fe1=Object[_0x2ab8f8(0x14c)](_0x24ea7c,_0x2cd1ff);Object[_0x2ab8f8(0x17a)](_0x346c10,_0x2cd1ff,_0x121fe1['get']?_0x121fe1:{'enumerable':!![],'get':function(){return _0x24ea7c[_0x2cd1ff];}});}}),_0x346c10[_0x441de5(0x13a)]=_0x24ea7c,_0x346c10;}var mapv__namespace=_interopNamespace(mapv),mars2d__namespace=_interopNamespace(mars2d);const L$1=mars2d__namespace['L'],baiduMapLayer=mapv__namespace?mapv__namespace[_0x382057(0x16a)]:null,BaseLayer=baiduMapLayer?baiduMapLayer[_0x382057(0x1a9)]:Function;class MapVRenderer extends BaseLayer{constructor(_0x3a4a3e,_0x483487,_0x16fd6e,_0x2d422d){const _0x4a32e5=_0x382057;_0x2d422d=_0x2d422d||{},super(_0x3a4a3e,_0x16fd6e,_0x2d422d);if(!BaseLayer)return;this[_0x4a32e5(0x167)]=_0x483487,this[_0x4a32e5(0x19a)](_0x2d422d),this['argCheck'](_0x2d422d),this[_0x4a32e5(0x19c)]();}[_0x382057(0x1ab)](_0x40a4a9){const _0x9f08c0=_0x382057,_0x143715=this[_0x9f08c0(0x1a7)][_0x9f08c0(0x196)]([0x0,0x0]),_0x12d2e9=this[_0x9f08c0(0x18a)]=this[_0x9f08c0(0x167)][_0x9f08c0(0x18a)]=window['devicePixelRatio'],_0x30f3e6=_0x40a4a9[_0x9f08c0(0x169)];super[_0x9f08c0(0x1ab)](L$1[_0x9f08c0(0x13d)]((_0x30f3e6['x']-_0x143715['x'])/_0x12d2e9,(_0x30f3e6['y']-_0x143715['y'])/_0x12d2e9),_0x40a4a9);}['mousemoveEvent'](_0x2d5937){const _0x4228a7=_0x382057,_0x3766e0=_0x2d5937[_0x4228a7(0x169)];super[_0x4228a7(0x135)](_0x3766e0,_0x2d5937);}['bindEvent'](){const _0x261a8c=_0x382057,_0x3bafb1=this[_0x261a8c(0x1a7)];this[_0x261a8c(0x178)]['methods']&&(this[_0x261a8c(0x178)][_0x261a8c(0x19d)][_0x261a8c(0x172)]&&_0x3bafb1['on'](_0x261a8c(0x172),this[_0x261a8c(0x1ab)],this),this[_0x261a8c(0x178)][_0x261a8c(0x19d)][_0x261a8c(0x137)]&&_0x3bafb1['on'](_0x261a8c(0x137),this['mousemoveEvent'],this)),this[_0x261a8c(0x1a7)]['on'](_0x261a8c(0x146),this[_0x261a8c(0x16c)],this),this['map']['on'](_0x261a8c(0x16e),this[_0x261a8c(0x17c)],this),this[_0x261a8c(0x1a7)]['on'](_0x261a8c(0x156),this['zoomStartEvent'],this);}[_0x382057(0x184)](){const _0x239533=_0x382057;this['unbindEvent'](),this[_0x239533(0x17b)]();this[_0x239533(0x15a)]&&(this[_0x239533(0x15a)][_0x239533(0x122)](),this[_0x239533(0x15a)]=null);this['canvasLayer']=null,this[_0x239533(0x1a7)]=null;for(const _0x329c04 in this){delete this[_0x329c04];}}['unbindEvent'](){const _0x11ad31=_0x382057,_0x317170=this[_0x11ad31(0x1a7)];this[_0x11ad31(0x178)][_0x11ad31(0x19d)]&&(this['options'][_0x11ad31(0x19d)][_0x11ad31(0x172)]&&_0x317170['off'](_0x11ad31(0x172),this['clickEvent'],this),this[_0x11ad31(0x178)][_0x11ad31(0x19d)]['mousemove']&&_0x317170['off']('mousemove',this[_0x11ad31(0x135)],this)),this[_0x11ad31(0x1a7)][_0x11ad31(0x16d)](_0x11ad31(0x146),this[_0x11ad31(0x16c)],this),this[_0x11ad31(0x1a7)][_0x11ad31(0x16d)](_0x11ad31(0x16e),this[_0x11ad31(0x17c)],this),this[_0x11ad31(0x1a7)][_0x11ad31(0x16d)](_0x11ad31(0x156),this['zoomStartEvent'],this);}[_0x382057(0x191)](){const _0x5783fb=_0x382057;return this[_0x5783fb(0x167)][_0x5783fb(0x1a5)]()['getContext'](this[_0x5783fb(0x13e)]);}[_0x382057(0x12f)](_0x1a94bc,_0x13c7bf){const _0xc73746=_0x382057;let _0x196af8=_0x1a94bc;_0x1a94bc&&_0x1a94bc[_0xc73746(0x16f)]&&(_0x196af8=_0x1a94bc['get']()),this[_0xc73746(0x14d)][_0xc73746(0x158)](_0x196af8),this[_0xc73746(0x14f)]({'options':_0x13c7bf});}[_0x382057(0x14f)](_0x11c05b){const _0x318346=_0x382057,_0x21afb2=_0x11c05b||{};let _0x596155=_0x21afb2[_0x318346(0x163)];_0x596155&&_0x596155[_0x318346(0x16f)]&&(_0x596155=_0x596155[_0x318346(0x16f)]()),_0x596155!==undefined&&this[_0x318346(0x14d)][_0x318346(0x132)](_0x596155),super[_0x318346(0x14f)]({'options':_0x21afb2[_0x318346(0x178)]});}[_0x382057(0x190)](){const _0x41f3e=_0x382057;return this[_0x41f3e(0x14d)];}[_0x382057(0x186)](_0x30cf25){const _0x3b49ea=_0x382057;if(!this[_0x3b49ea(0x14d)])return;const _0x43453a=this[_0x3b49ea(0x14d)][_0x3b49ea(0x16f)]({'filter':function(_0x7c693b){const _0x453944=_0x3b49ea;return _0x30cf25!=null&&typeof _0x30cf25===_0x453944(0x143)?!_0x30cf25(_0x7c693b):!![];}});this['dataSet'][_0x3b49ea(0x132)](_0x43453a),this['update']({'options':null});}[_0x382057(0x17b)](){const _0x3d2609=_0x382057;this[_0x3d2609(0x14d)]&&this['dataSet'][_0x3d2609(0x18c)](),this[_0x3d2609(0x14f)]({'options':null});}[_0x382057(0x185)](_0x230377){const _0x25c841=_0x382057;if(!this['canvasLayer'])return;const _0x2e92a2=this;try{const _0x2c8689=_0x2e92a2['options'][_0x25c841(0x157)],_0x4a09c1=this['getContext'](),_0x49f0ee=this[_0x25c841(0x1a7)];if(_0x2e92a2[_0x25c841(0x145)]()){if(_0x230377===undefined){this[_0x25c841(0x18c)](_0x4a09c1);return;}this['context']==='2d'&&(_0x4a09c1[_0x25c841(0x1a1)](),_0x4a09c1[_0x25c841(0x12d)]='destination-out',_0x4a09c1[_0x25c841(0x1a2)]=_0x25c841(0x179),_0x4a09c1[_0x25c841(0x147)](0x0,0x0,_0x4a09c1[_0x25c841(0x155)][_0x25c841(0x148)],_0x4a09c1[_0x25c841(0x155)][_0x25c841(0x149)]),_0x4a09c1['restore']());}else this['clear'](_0x4a09c1);if(this[_0x25c841(0x13e)]==='2d')for(const _0x4118d3 in _0x2e92a2[_0x25c841(0x178)]){_0x4a09c1[_0x4118d3]=_0x2e92a2[_0x25c841(0x178)][_0x4118d3];}else _0x4a09c1[_0x25c841(0x18c)](_0x4a09c1['COLOR_BUFFER_BIT']);if(_0x2e92a2['options'][_0x25c841(0x159)]&&_0x49f0ee[_0x25c841(0x134)]()<_0x2e92a2[_0x25c841(0x178)]['minZoom']||_0x2e92a2[_0x25c841(0x178)][_0x25c841(0x17e)]&&_0x49f0ee[_0x25c841(0x134)]()>_0x2e92a2[_0x25c841(0x178)][_0x25c841(0x17e)])return;const _0x14b041=_0x49f0ee[_0x25c841(0x139)](),_0x995d9c=_0x14b041[_0x25c841(0x181)]()-_0x14b041[_0x25c841(0x18e)](),_0x4df21a=_0x14b041['getNorth']()-_0x14b041[_0x25c841(0x170)](),_0x3472e5=_0x49f0ee[_0x25c841(0x187)](),_0x192912=_0x995d9c/_0x3472e5['x'],_0x5f3df0=_0x4df21a/_0x3472e5['y'],_0x3a7893=this[_0x25c841(0x167)][_0x25c841(0x173)](),_0x1bcc87=_0x49f0ee[_0x25c841(0x175)](_0x3a7893),_0x528f17={'transferCoordinate':function(_0x26521e){const _0x672014=_0x25c841;let _0xe80d2f;_0x2e92a2['context']==='2d'?_0xe80d2f=_0x49f0ee[_0x672014(0x175)](L$1[_0x672014(0x177)](_0x26521e[0x1],_0x26521e[0x0])):_0xe80d2f={'x':(_0x26521e[0x0]-_0x3a7893[_0x672014(0x195)])/_0x192912,'y':(_0x3a7893[_0x672014(0x171)]-_0x26521e[0x1])/_0x5f3df0};const _0x58e1d3={'x':_0xe80d2f['x']-_0x1bcc87['x'],'y':_0xe80d2f['y']-_0x1bcc87['x']};return[_0x58e1d3['x'],_0x58e1d3['y']];}};_0x230377!==undefined&&(_0x528f17['filter']=function(_0x54f43e){const _0x52ca25=_0x25c841,_0x1b120d=_0x2c8689[_0x52ca25(0x161)]||0xa;return _0x230377&&_0x54f43e[_0x52ca25(0x141)]>_0x230377-_0x1b120d&&_0x54f43e[_0x52ca25(0x141)]<_0x230377;});const _0x489c43=_0x2e92a2['dataSet'][_0x25c841(0x16f)](_0x528f17);this[_0x25c841(0x165)](_0x489c43),_0x2e92a2['options'][_0x25c841(0x152)]=_0x2e92a2[_0x25c841(0x178)]['size'];const _0x59b8df=_0x49f0ee['latLngToContainerPoint'](L$1[_0x25c841(0x177)](0x0,0x0)),_0x3b58f8={'x':_0x59b8df['x']-_0x1bcc87['x'],'y':_0x59b8df['y']-_0x1bcc87['y']};_0x489c43&&_0x489c43['length']>0x0&&this[_0x25c841(0x174)](_0x4a09c1,_0x489c43,_0x2e92a2[_0x25c841(0x178)],_0x3b58f8),_0x2e92a2[_0x25c841(0x178)][_0x25c841(0x176)]&&_0x2e92a2[_0x25c841(0x178)][_0x25c841(0x176)](_0x230377);}catch(_0x6f8c3b){console[_0x25c841(0x18f)]('mapv渲染异常',_0x6f8c3b);}}[_0x382057(0x19a)](_0x45ee3d){const _0x5a6b0f=_0x382057,_0x2166db=this;_0x2166db[_0x5a6b0f(0x178)]=_0x45ee3d,this[_0x5a6b0f(0x121)](_0x45ee3d),this[_0x5a6b0f(0x13e)]=_0x2166db[_0x5a6b0f(0x178)]['context']||'2d',_0x2166db[_0x5a6b0f(0x178)][_0x5a6b0f(0x164)]&&(this[_0x5a6b0f(0x167)]&&this['canvasLayer'][_0x5a6b0f(0x183)](_0x2166db[_0x5a6b0f(0x178)][_0x5a6b0f(0x164)])),this['initAnimator']();}['addAnimatorEvent'](){}[_0x382057(0x16c)](){const _0x37f73b=_0x382057,_0x52ac00=this[_0x37f73b(0x178)][_0x37f73b(0x157)];this[_0x37f73b(0x145)]()&&this[_0x37f73b(0x15a)]&&(this['steps'][_0x37f73b(0x1a6)]=_0x52ac00['stepsRange'][_0x37f73b(0x15d)],this['_hide']());}[_0x382057(0x17c)](){const _0x43352b=_0x382057;this[_0x43352b(0x167)][_0x43352b(0x15f)](),this[_0x43352b(0x123)]();}[_0x382057(0x194)](){this['_hide']();}[_0x382057(0x18c)](_0x1c3911){const _0x5e0ac8=_0x382057;_0x1c3911&&_0x1c3911[_0x5e0ac8(0x15e)]&&_0x1c3911['clearRect'](0x0,0x0,_0x1c3911[_0x5e0ac8(0x155)][_0x5e0ac8(0x148)],_0x1c3911[_0x5e0ac8(0x155)]['height']);}[_0x382057(0x14e)](){const _0x36dc86=_0x382057;this[_0x36dc86(0x167)]['canvas'][_0x36dc86(0x16b)]['display']=_0x36dc86(0x150);}['_show'](){const _0x104d95=_0x382057;this[_0x104d95(0x167)]['canvas'][_0x104d95(0x16b)]['display']=_0x104d95(0x19b);}['draw'](){const _0x42e612=_0x382057;this[_0x42e612(0x167)]['draw']();}}function _0x3963(_0x529fb2,_0x3e84c3){const _0x31ccf8=_0x31cc();return _0x3963=function(_0x3963ca,_0x59e1e4){_0x3963ca=_0x3963ca-0x120;let _0x6843c2=_0x31ccf8[_0x3963ca];if(_0x3963['xpHhzD']===undefined){var _0xc126e0=function(_0x24ea7c){const _0x346c10='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x2cd1ff='',_0x121fe1='';for(let _0x3a4a3e=0x0,_0x483487,_0x16fd6e,_0x2d422d=0x0;_0x16fd6e=_0x24ea7c['charAt'](_0x2d422d++);~_0x16fd6e&&(_0x483487=_0x3a4a3e%0x4?_0x483487*0x40+_0x16fd6e:_0x16fd6e,_0x3a4a3e++%0x4)?_0x2cd1ff+=String['fromCharCode'](0xff&_0x483487>>(-0x2*_0x3a4a3e&0x6)):0x0){_0x16fd6e=_0x346c10['indexOf'](_0x16fd6e);}for(let _0x40a4a9=0x0,_0x143715=_0x2cd1ff['length'];_0x40a4a9<_0x143715;_0x40a4a9++){_0x121fe1+='%'+('00'+_0x2cd1ff['charCodeAt'](_0x40a4a9)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x121fe1);};_0x3963['pDZaMT']=_0xc126e0,_0x529fb2=arguments,_0x3963['xpHhzD']=!![];}const _0x3f7c25=_0x31ccf8[0x0],_0x362da=_0x3963ca+_0x3f7c25,_0xe05da1=_0x529fb2[_0x362da];return!_0xe05da1?(_0x6843c2=_0x3963['pDZaMT'](_0x6843c2),_0x529fb2[_0x362da]=_0x6843c2):_0x6843c2=_0xe05da1,_0x6843c2;},_0x3963(_0x529fb2,_0x3e84c3);}const L=mars2d__namespace['L'];class MapVLayer extends L[_0x382057(0x168)]{[_0x382057(0x1aa)](_0xec415b={},_0x2135c3){const _0x13f94e=_0x382057;this['options']=_0xec415b,this[_0x13f94e(0x14d)]=_0x2135c3||new mapv__namespace[(_0x13f94e(0x13b))](_0xec415b[_0x13f94e(0x163)]),L[_0x13f94e(0x12c)]['stamp'](this),this[_0x13f94e(0x178)]['id']=mars2d__namespace[_0x13f94e(0x12c)][_0x13f94e(0x197)](this[_0x13f94e(0x178)]['id'],this['uuid']),this['options'][_0x13f94e(0x19f)]=mars2d__namespace[_0x13f94e(0x12c)][_0x13f94e(0x197)](this[_0x13f94e(0x178)][_0x13f94e(0x19f)],-0x1),this[_0x13f94e(0x178)][_0x13f94e(0x19e)]=mars2d__namespace[_0x13f94e(0x12c)][_0x13f94e(0x197)](this[_0x13f94e(0x178)][_0x13f94e(0x19e)],'');}get['uuid'](){const _0x3c3316=_0x382057;return this[_0x3c3316(0x127)];}get['isAdded'](){const _0x974010=_0x382057;return this[_0x974010(0x125)]&&this[_0x974010(0x125)]['hasLayer'](this);}get[_0x382057(0x19f)](){const _0x229b33=_0x382057;return this['options'][_0x229b33(0x19f)];}set[_0x382057(0x19f)](_0x51d34e){const _0x1769a5=_0x382057;this[_0x1769a5(0x178)][_0x1769a5(0x19f)]=_0x51d34e;}get['id'](){return this['options']['id'];}set['id'](_0x3f0f8c){const _0x1d9b6e=_0x382057;this[_0x1d9b6e(0x178)]['id']=_0x3f0f8c;}get[_0x382057(0x19e)](){const _0x4cbb32=_0x382057;return this[_0x4cbb32(0x178)][_0x4cbb32(0x19e)];}set[_0x382057(0x19e)](_0x7d4974){const _0x13a75e=_0x382057;this[_0x13a75e(0x178)][_0x13a75e(0x19e)]=_0x7d4974;}[_0x382057(0x133)](_0x203f5b){const _0x440b87=_0x382057;this[_0x440b87(0x125)]=_0x203f5b;const _0x506e74=_0x203f5b[_0x440b87(0x14a)](this[_0x440b87(0x178)][_0x440b87(0x1ac)]||'overlayPane'),_0x5745cd=L[_0x440b87(0x1a3)][_0x440b87(0x12a)](_0x440b87(0x188),'leaflet-layer\x20leaflet-zoom-animated',_0x506e74);_0x5745cd[_0x440b87(0x16b)][_0x440b87(0x1a8)]=_0x440b87(0x138),_0x5745cd[_0x440b87(0x16b)]['top']='0px',_0x5745cd['style'][_0x440b87(0x199)]='0px',_0x5745cd[_0x440b87(0x16b)][_0x440b87(0x164)]=this[_0x440b87(0x178)][_0x440b87(0x164)]||0x63,this[_0x440b87(0x155)]=this['_createCanvas'](),_0x5745cd[_0x440b87(0x14b)](this[_0x440b87(0x155)]);const _0x42433a=_0x203f5b[_0x440b87(0x187)]();_0x5745cd[_0x440b87(0x16b)][_0x440b87(0x148)]=_0x42433a['x']+'px',_0x5745cd[_0x440b87(0x16b)][_0x440b87(0x149)]=_0x42433a['y']+'px',this[_0x440b87(0x12e)]=_0x5745cd,this['_mapVRenderer']=new MapVRenderer(_0x203f5b,this,this['dataSet'],this[_0x440b87(0x178)]),this[_0x440b87(0x15f)](),this[_0x440b87(0x1ad)]('loaded');}[_0x382057(0x160)](_0x5098d1){const _0x51026b=_0x382057;this['_mapVRenderer'][_0x51026b(0x184)](),delete this[_0x51026b(0x126)],L[_0x51026b(0x1a3)]['remove'](this[_0x51026b(0x12e)]),delete this[_0x51026b(0x12e)],delete this[_0x51026b(0x155)],_0x5098d1[_0x51026b(0x16d)]({'moveend':this[_0x51026b(0x15f)],'zoomstart':this[_0x51026b(0x14e)],'zoomend':this['_show']},this);}[_0x382057(0x12f)](_0x5d42df){const _0x4b2176=_0x382057;this[_0x4b2176(0x126)]&&this[_0x4b2176(0x126)][_0x4b2176(0x12f)](_0x5d42df,this[_0x4b2176(0x178)]);}[_0x382057(0x17d)](_0x2758a5){const _0x3b5f35=_0x382057;this['_mapVRenderer']&&this[_0x3b5f35(0x126)][_0x3b5f35(0x17d)](_0x2758a5,this[_0x3b5f35(0x178)]);}['getData'](){const _0x1c2494=_0x382057;return this[_0x1c2494(0x126)]&&(this[_0x1c2494(0x14d)]=this[_0x1c2494(0x126)]['getData']()),this[_0x1c2494(0x14d)];}[_0x382057(0x186)](_0x1117a1){const _0x3370e0=_0x382057;this[_0x3370e0(0x126)]&&this[_0x3370e0(0x126)][_0x3370e0(0x186)](_0x1117a1);}['removeAllData'](){this['_mapVRenderer']&&this['_mapVRenderer']['clearData']();}[_0x382057(0x15f)](){this['_reset']();}['setZIndex'](_0x180151){const _0x2f9753=_0x382057;this[_0x2f9753(0x178)][_0x2f9753(0x164)]=_0x180151,this[_0x2f9753(0x12e)]&&(this['container'][_0x2f9753(0x16b)][_0x2f9753(0x164)]=_0x180151);}[_0x382057(0x1a0)](){const _0x183a11=_0x382057;this['_mapVRenderer'][_0x183a11(0x185)]();}[_0x382057(0x1a5)](){const _0x51997a=_0x382057;return this[_0x51997a(0x155)];}[_0x382057(0x15c)](){return this['container'];}[_0x382057(0x173)](){const _0xaae0c4=_0x382057,_0x5f40f4=this[_0xaae0c4(0x125)];let _0x185815;if(_0x5f40f4){const _0x2cf5a0=_0x5f40f4['getBounds']();_0x185815=_0x2cf5a0[_0xaae0c4(0x198)]();}return _0x185815;}[_0x382057(0x130)](){const _0x457da8=_0x382057,_0x34f7a1=document[_0x457da8(0x151)](_0x457da8(0x155));_0x34f7a1[_0x457da8(0x16b)]['position']=_0x457da8(0x138),_0x34f7a1[_0x457da8(0x16b)][_0x457da8(0x166)]=0x0+'px',_0x34f7a1[_0x457da8(0x16b)][_0x457da8(0x199)]=0x0+'px',_0x34f7a1[_0x457da8(0x16b)][_0x457da8(0x192)]=_0x457da8(0x150),_0x34f7a1[_0x457da8(0x16b)][_0x457da8(0x164)]=this['options'][_0x457da8(0x164)]||0x258;const _0x2481dc=typeof window===_0x457da8(0x18d)?{}:window,_0x342ce9=this['devicePixelRatio']=_0x2481dc[_0x457da8(0x18a)];return this[_0x457da8(0x178)][_0x457da8(0x13e)]==='2d'&&_0x34f7a1[_0x457da8(0x191)]('2d')[_0x457da8(0x182)](_0x342ce9,_0x342ce9),_0x34f7a1;}['_resize'](){const _0x3c6d8c=_0x382057,_0x3825e7=this[_0x3c6d8c(0x155)];if(!_0x3825e7)return;const _0x7eb09f=this[_0x3c6d8c(0x125)],_0x44de70=_0x7eb09f[_0x3c6d8c(0x187)]();_0x3825e7[_0x3c6d8c(0x148)]=_0x44de70['x'],_0x3825e7[_0x3c6d8c(0x149)]=_0x44de70['y'],_0x3825e7['style'][_0x3c6d8c(0x148)]=_0x44de70['x']+'px',_0x3825e7[_0x3c6d8c(0x16b)]['height']=_0x44de70['y']+'px';const _0x2d41e9=_0x7eb09f[_0x3c6d8c(0x139)](),_0xdda2b8=_0x7eb09f[_0x3c6d8c(0x15b)](_0x2d41e9[_0x3c6d8c(0x198)]());L[_0x3c6d8c(0x1a3)]['setPosition'](_0x3825e7,_0xdda2b8);}[_0x382057(0x136)](){const _0x236b45=_0x382057;this['_resize'](),this[_0x236b45(0x153)]();}[_0x382057(0x189)](){const _0x363d0e=_0x382057;this[_0x363d0e(0x17f)](),this[_0x363d0e(0x153)]();}[_0x382057(0x153)](){const _0x2738eb=_0x382057;this[_0x2738eb(0x1a0)]();}}mars2d__namespace[_0x382057(0x13f)][_0x382057(0x162)]=MapVLayer,mars2d__namespace[_0x382057(0x140)]['register'](_0x382057(0x12b),MapVLayer),exports['MapVLayer']=MapVLayer,Object[_0x382057(0x142)](mapv)[_0x382057(0x18b)](function(_0x36d1a6){const _0x3d635a=_0x382057;if(_0x36d1a6!==_0x3d635a(0x13a)&&!exports[_0x3d635a(0x120)](_0x36d1a6))Object[_0x3d635a(0x17a)](exports,_0x36d1a6,{'enumerable':!![],'get':function(){return mapv[_0x36d1a6];}});}),Object['defineProperty'](exports,_0x382057(0x131),{'value':!![]});function _0x31cc(){const _0xb2ff13=['Bw92zvn0yxj0rxzLBNq','B2zM','Bw92zwvUza','z2v0','z2v0u291DgG','Bgf0','y2XPy2S','z2v0vg9WtgvMDa','zhjHD0nVBNrLEhq','Bgf0tg5Nvg9by2n1CMf0zunVBNrHAw5LCLbVAw50','DxbKyxrLq2fSBgjHy2S','Bgf0tg5N','B3b0Aw9UCW','CMDIysGWlcaWlcaWlcaUmsK','zgvMAw5LuhjVCgvYDhK','y2XLyxjeyxrH','Bw92zuvUzev2zw50','DxbKyxrLrgf0yq','Bwf4wM9VBq','x3jLC2L6zq','ndi0mtC5mgTsDxPjsa','z2v0rwfZDa','C2nHBgu','C2v0wKLUzgv4','zgvZDhjVEq','x2nHBNzHC1vWzgf0zq','CMvTB3zLrgf0yq','z2v0u2L6zq','zgL2','CMvKCMf3','zgv2AwnLugL4zwXsyxrPBW','zM9YrwfJAa','y2XLyxi','Dw5KzwzPBMvK','z2v0v2vZDa','Bg9N','z2v0rgf0yq','z2v0q29UDgv4Da','Cg9PBNrLCKv2zw50CW','mJqYndaZodrHBurytu0','EM9VBvn0yxj0rxzLBNq','Bg5N','y29UDgfPBMvYug9PBNruB0XHEwvYug9PBNq','zgvMyxvSDfzHBhvL','z2v0tM9YDgHxzxn0','BgvMDa','Aw5PDa','yMXVy2S','yMLUzev2zw50','Bwv0Ag9KCW','BMfTzq','CgLK','CMvUzgvY','C2f2zq','zMLSBfn0EwXL','rg9TvxrPBa','mJe2mdq2nMfbvKvQsW','z2v0q2fUDMfZ','C3rLCa','BwfW','Cg9ZAxrPB24','x19WCM90B19F','Aw5PDgLHBgL6zq','y2XPy2TfDMvUDa','CgfUzq','zMLYzq','AgfZt3DUuhjVCgvYDhK','Aw5PDerHDgfsyw5Nzq','C3rVCa','x3nOB3C','mtu5ntK0qwvXzg9s','x21HCa','x21HCfzszw5KzxjLCG','x2XLywzSzxrFAwq','mtKWndGWnuH3sefRqW','oevXCLvgvG','y3jLyxrL','BwfWDG','vxrPBa','z2XVyMfSq29TCg9ZAxrLt3bLCMf0Aw9U','y29UDgfPBMvY','ywrKrgf0yq','x2nYzwf0zunHBNzHCW','x19LC01VzhvSzq','C2v0','B25bzgq','z2v0wM9VBq','Bw91C2vTB3zLrxzLBNq','x3jLC2v0','Bw91C2vTB3zL','ywjZB2X1Dgu','z2v0qM91BMrZ','zgvMyxvSDa','rgf0yvnLDa','ntDbA29Isem','Cg9PBNq','y29UDgv4Da','Bgf5zxi','tgf5zxjvDgLS','DgLTzq','A2v5CW','zNvUy3rPB24','mtaZotu4nuTTvhnqDa','AxnfBMfIBgvKvgLTzq','Bw92zxn0yxj0','zMLSBfjLy3q','D2LKDgG','AgvPz2H0','z2v0ugfUzq','yxbWzw5Kq2HPBgq','z2v0t3DUuhjVCgvYDhLezxnJCMLWDg9Y','zgf0yvnLDa','x2HPzgu','DxbKyxrL','BM9Uzq','y3jLyxrLrwXLBwvUDa','x3nPEMu','x3jLBMrLCG','mZaYotC2mfPrzhPkyG','y2fUDMfZ','EM9VBxn0yxj0','yw5PBwf0Aw9U','ywrK','BwLUwM9VBq','yw5PBwf0B3i','Bgf0tg5Nvg9myxLLCLbVAw50','z2v0q29UDgfPBMvY','C3rHCNq','y2XLyxjszwn0','zhjHDW','B25szw1VDMu','DhjHAwXZ','twfWvKXHEwvY','zgf0yq','EKLUzgv4','ChjVy2vZC0rHDge','Dg9W','y2fUDMfZtgf5zxi','tgf5zxi','Bgf5zxjqB2LUDa','yMfPzhvnyxbmyxLLCG','C3r5Bgu'];_0x31cc=function(){return _0xb2ff13;};return _0x31cc();}
}));
{
"name": "mars2d-mapv",
"version": "3.0.11",
"version": "3.0.12",
"description": "Mars2D平台插件,结合mapv可视化功能插件",

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

"devDependencies": {
"mars2d": "^3.0.11"
"mars2d": "^3.0.12"
},

@@ -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