mars2d-mapv
Advanced tools
Comparing version 3.0.13 to 3.0.14
/** | ||
* Mars2D地理信息平台 mars2d-sdk | ||
* | ||
* 版本信息:v3.0.13 | ||
* 编译日期:2022-03-16 17:34:22 | ||
* 版本信息:v3.0.14 | ||
* 编译日期:2022-03-17 11:21:50 | ||
* 版权所有:Copyright by 火星科技 http://mars2d.cn | ||
@@ -10,6 +10,6 @@ * 使用单位:免费公开版 ,2021-10-01 | ||
(function (global, factory) { | ||
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, (window.mapv || require('mapv')), require('core-js/modules/es.function.name.js'), (window.mars2d || require('mars2d')), require('core-js/modules/es.array.map.js'), require('core-js/modules/es.array.filter.js'), require('core-js/modules/es.object.to-string.js')) : | ||
typeof define === 'function' && define.amd ? define(['exports', 'mapv', 'core-js/modules/es.function.name.js', 'mars2d', 'core-js/modules/es.array.map.js', 'core-js/modules/es.array.filter.js', 'core-js/modules/es.object.to-string.js'], factory) : | ||
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory(global["mars2d-mapv"] = {}, global.mapv, null, global.mars2d)); | ||
})(this, (function (exports, mapv, es_function_name_js, mars2d) { 'use strict';var _0x5b1ac1=_0x37e4;(function(_0xe0f9ef,_0xf7ddcf){var _0x171b64=_0x37e4,_0x37e46a=_0xe0f9ef();while(!![]){try{var _0x3089f9=parseInt(_0x171b64(0x1de))/0x1+-parseInt(_0x171b64(0x19f))/0x2+parseInt(_0x171b64(0x1e5))/0x3*(-parseInt(_0x171b64(0x181))/0x4)+parseInt(_0x171b64(0x217))/0x5+-parseInt(_0x171b64(0x1dc))/0x6*(-parseInt(_0x171b64(0x1a5))/0x7)+parseInt(_0x171b64(0x1bc))/0x8*(parseInt(_0x171b64(0x226))/0x9)+-parseInt(_0x171b64(0x211))/0xa*(parseInt(_0x171b64(0x1d3))/0xb);if(_0x3089f9===_0xf7ddcf)break;else _0x37e46a['push'](_0x37e46a['shift']());}catch(_0x337b2a){_0x37e46a['push'](_0x37e46a['shift']());}}}(_0x196d,0x6cc55));function _interopNamespace(_0x4c2e27){var _0x4b958a=_0x37e4;if(_0x4c2e27&&_0x4c2e27[_0x4b958a(0x200)])return _0x4c2e27;var _0x506bd1=Object[_0x4b958a(0x1eb)](null);return _0x4c2e27&&Object[_0x4b958a(0x1e0)](_0x4c2e27)[_0x4b958a(0x1d4)](function(_0xacca57){var _0x1f93c0=_0x4b958a;if(_0xacca57!=='default'){var _0x144d23=Object[_0x1f93c0(0x1f4)](_0x4c2e27,_0xacca57);Object[_0x1f93c0(0x1cb)](_0x506bd1,_0xacca57,_0x144d23['get']?_0x144d23:{'enumerable':!![],'get':function(){return _0x4c2e27[_0xacca57];}});}}),_0x506bd1[_0x4b958a(0x18c)]=_0x4c2e27,_0x506bd1;}var mapv__namespace=_interopNamespace(mapv),mars2d__namespace=_interopNamespace(mars2d);function _classCallCheck(_0x4fea67,_0x574138){var _0x51191a=_0x37e4;if(!(_0x4fea67 instanceof _0x574138))throw new TypeError(_0x51191a(0x205));}function _defineProperties(_0x111692,_0x408272){var _0x56bb0d=_0x37e4;for(var _0x2a7bb4=0x0;_0x2a7bb4<_0x408272[_0x56bb0d(0x1e3)];_0x2a7bb4++){var _0x74a8c3=_0x408272[_0x2a7bb4];_0x74a8c3['enumerable']=_0x74a8c3['enumerable']||![],_0x74a8c3[_0x56bb0d(0x1b1)]=!![];if(_0x56bb0d(0x1d8)in _0x74a8c3)_0x74a8c3[_0x56bb0d(0x1ee)]=!![];Object[_0x56bb0d(0x1cb)](_0x111692,_0x74a8c3['key'],_0x74a8c3);}}function _createClass(_0xc40e86,_0x43f7fe,_0x259108){var _0x510ebf=_0x37e4;if(_0x43f7fe)_defineProperties(_0xc40e86['prototype'],_0x43f7fe);if(_0x259108)_defineProperties(_0xc40e86,_0x259108);return Object[_0x510ebf(0x1cb)](_0xc40e86,'prototype',{'writable':![]}),_0xc40e86;}function _inherits(_0xa0153a,_0x5eb186){var _0x11488d=_0x37e4;if(typeof _0x5eb186!==_0x11488d(0x194)&&_0x5eb186!==null)throw new TypeError('Super\x20expression\x20must\x20either\x20be\x20null\x20or\x20a\x20function');_0xa0153a[_0x11488d(0x206)]=Object[_0x11488d(0x1eb)](_0x5eb186&&_0x5eb186[_0x11488d(0x206)],{'constructor':{'value':_0xa0153a,'writable':!![],'configurable':!![]}}),Object[_0x11488d(0x1cb)](_0xa0153a,'prototype',{'writable':![]});if(_0x5eb186)_setPrototypeOf(_0xa0153a,_0x5eb186);}function _getPrototypeOf(_0x5b7967){var _0x2fbe27=_0x37e4;return _getPrototypeOf=Object[_0x2fbe27(0x202)]?Object[_0x2fbe27(0x1f1)]:function _0x109032(_0x53cf15){var _0x1f3138=_0x2fbe27;return _0x53cf15[_0x1f3138(0x1fe)]||Object[_0x1f3138(0x1f1)](_0x53cf15);},_getPrototypeOf(_0x5b7967);}function _0x37e4(_0x1f63b9,_0xae4845){var _0x196d98=_0x196d();return _0x37e4=function(_0x37e4c8,_0x11aeb4){_0x37e4c8=_0x37e4c8-0x180;var _0x1fda2b=_0x196d98[_0x37e4c8];if(_0x37e4['PjoIIu']===undefined){var _0x220eb9=function(_0x4c2e27){var _0x506bd1='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';var _0xacca57='',_0x144d23='';for(var _0x4fea67=0x0,_0x574138,_0x111692,_0x408272=0x0;_0x111692=_0x4c2e27['charAt'](_0x408272++);~_0x111692&&(_0x574138=_0x4fea67%0x4?_0x574138*0x40+_0x111692:_0x111692,_0x4fea67++%0x4)?_0xacca57+=String['fromCharCode'](0xff&_0x574138>>(-0x2*_0x4fea67&0x6)):0x0){_0x111692=_0x506bd1['indexOf'](_0x111692);}for(var _0x2a7bb4=0x0,_0x74a8c3=_0xacca57['length'];_0x2a7bb4<_0x74a8c3;_0x2a7bb4++){_0x144d23+='%'+('00'+_0xacca57['charCodeAt'](_0x2a7bb4)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x144d23);};_0x37e4['gjBSMQ']=_0x220eb9,_0x1f63b9=arguments,_0x37e4['PjoIIu']=!![];}var _0x294264=_0x196d98[0x0],_0x3e4a25=_0x37e4c8+_0x294264,_0x3c5b3a=_0x1f63b9[_0x3e4a25];return!_0x3c5b3a?(_0x1fda2b=_0x37e4['gjBSMQ'](_0x1fda2b),_0x1f63b9[_0x3e4a25]=_0x1fda2b):_0x1fda2b=_0x3c5b3a,_0x1fda2b;},_0x37e4(_0x1f63b9,_0xae4845);}function _0x196d(){var _0x3b444d=['yxbWzw5Kq2HPBgq','nJC4ndyXq1voBMrt','AxnfBMfIBgvKvgLTzq','A2v5CW','zgv2AwnLugL4zwXsyxrPBW','twfWvKXHEwvY','BgvUz3rO','Bw91C2vTB3zLrxzLBNq','ou5LqKndtW','DxbKyxrL','ywrKrgf0yq','Bw92zwvUza','z2v0qM91BMrZ','x21HCfzszw5KzxjLCG','y3jLyxrL','mhb4','Bgf0tg5Nvg9by2n1CMf0zunVBNrHAw5LCLbVAw50','D3jPDgfIBgu','zgvZDhjVEq','EM9VBxn0yxj0','z2v0uhjVDg90ExbLt2y','zgvZDgLUyxrPB24TB3v0','DMfSDwvpzG','z2v0t3DUuhjVCgvYDhLezxnJCMLWDg9Y','y29UC3rYDwn0B3i','C2v0','yMLUzev2zw50','Bgf0tg5Nvg9dB250ywLUzxjqB2LUDa','yMXVy2S','zMLSBfn0EwXL','z2XVyMfSq29TCg9ZAxrLt3bLCMf0Aw9U','z2v0wM9VBq','Cg9PBNq','x19WCM90B19F','Bw91C2vTB3zL','x19LC01VzhvSzq','BMfTzq','C2v0uhjVDg90ExbLt2y','Bgf5zxjqB2LUDa','C3rLCa','q2fUBM90ignHBgWGysbJBgfZCYbHCYbHigz1BMn0Aw9U','ChjVDg90ExbL','CMvKCMf3','x3jLC2L6zq','C2v0ug9ZAxrPB24','zMLSBfjLy3q','C3rHCNq','Bgf0tg5N','q09mt1jFqLvgrKvsx0jjva','rgf0yvnLDa','z2v0rgf0yq','x2nHBNzHC1vWzgf0zq','mJmWA25gv01W','y2fSBa','DgHPCYbOyxnUj3qGyMvLBIbPBML0AwfSAxnLzcaTihn1CgvYkcKGAgfZBID0igjLzw4Gy2fSBgvK','Bw92zxn0yxj0','CgLK','z2v0tM9YDgHxzxn0','mJy1mJm1r29cs2Hf','z2v0','y2XPy2S','Dw5KzwzPBMvK','EM9VBvn0yxj0rxzLBNq','yxbWBhK','yw5PBwf0B3i','B3zLCMXHEvbHBMu','Cg9ZAxrPB24','zMLSDgvY','z2v0v2vZDa','tgf5zxi','x3jLBMrLCG','CMvTB3zLrgf0yq','B25bzgq','owXzt2XQsG','z2v0q2fUDMfZ','DgLTzq','zhjHD0nVBNrLEhq','BwLUwM9VBq','nZa1ntzdtenbvhm','Bg9HzgvK','DxbKyxrLq2fSBgjHy2S','zgLZCgXHEq','Bwv0Ag9KCW','C2HHBq','CMvZDg9Yzq','BwfWDG','y29UDgfPBMvY','x2HPzgu','BM9Uzq','zgvMyxvSDa','y2XLyxjszwn0','Dw5IAw5KrxzLBNq','vxrPBa','x21HCa','y29UDgv4Da','ywrK','zgL2','zNvUy3rPB24','zgf0yq','CMvTB3zL','AgfZt3DUuhjVCgvYDhK','x2nYzwf0zunHBNzHCW','C3r5Bgu','Cg9PBNrLCKv2zw50CW','C3rHBxa','BwfW','z2v0u2L6zq','y2fUDMfZtgf5zxi','mtyZodaXoff6vwTNqG','y29UDgfPBMvYug9PBNruB0XHEwvYug9PBNq','C2f2zq','DxvPza','BgvMDa','Dg9W','mtqWBurZALvq','x3nPEMu','C2nHBgu','Bgf0','Bwf4wM9VBq','DhjHAwXZ','Bw92zvn0yxj0rxzLBNq','z2v0q29UDgv4Da','z2v0q29UDgfPBMvY','DxbKyxrLrgf0yq','BgvHzMXLDc1SyxLLCIbSzwfMBgv0lxPVB20Tyw5PBwf0zwq','B3b0Aw9UCW','y29UzMLNDxjHyMXL','y2fUDMfZ','CMvNAxn0zxi','y2XLyxjeyxrH','y29UC3rYDwn0','y3jLyxrLrwXLBwvUDa','x3jLC2v0','z2v0ugfUzq','C2L6zq','x3nOB3C','ywrKqw5PBwf0B3jfDMvUDa','nJG2odG1nNbHB2TJra','AgfZtgf5zxi','AgvPz2H0','rg9TvxrPBa','C3rLChm','D2LKDgG','zgvMyxvSDfzHBhvL','Aw5PDerHDgfsyw5Nzq','B25szw1VDMu','ChjVy2vZC0rHDge','y2XPy2TfDMvUDa','EKLUzgv4','yMfPzhvnyxbmyxLLCG','yw5PBwf0Aw9U','C3rVCa','zgvMAw5LuhjVCgvYDhK','C2v0wKLUzgv4','Bg5N','zgf0yvnLDa','Bw92zuvUzev2zw50','B2zM','Aw5PDefUAw1HDg9Y','CgfUzq','nteXmtq4u0DmDLf6','zM9YrwfJAa','zhjHDW','z2v0rwfZDa','z2v0vg9WtgvMDa','DMfSDwu','zMLYzq','y2XLyxi','CMvUzgvY','mJm4odmWwhb6q1zs'];_0x196d=function(){return _0x3b444d;};return _0x196d();}function _setPrototypeOf(_0x10ee08,_0x5d5962){var _0x9e3a28=_0x37e4;return _setPrototypeOf=Object[_0x9e3a28(0x202)]||function _0x5bcd62(_0x1b79e2,_0x56d126){var _0x2f54a7=_0x9e3a28;return _0x1b79e2[_0x2f54a7(0x1fe)]=_0x56d126,_0x1b79e2;},_setPrototypeOf(_0x10ee08,_0x5d5962);}function _isNativeReflectConstruct(){var _0x58382f=_0x37e4;if(typeof Reflect===_0x58382f(0x21a)||!Reflect[_0x58382f(0x1b5)])return![];if(Reflect[_0x58382f(0x1b5)][_0x58382f(0x186)])return![];if(typeof Proxy===_0x58382f(0x194))return!![];try{return Boolean[_0x58382f(0x206)][_0x58382f(0x1f3)][_0x58382f(0x212)](Reflect[_0x58382f(0x1b5)](Boolean,[],function(){})),!![];}catch(_0x820feb){return![];}}function _assertThisInitialized(_0x1c1caf){var _0x1cc864=_0x37e4;if(_0x1c1caf===void 0x0)throw new ReferenceError(_0x1cc864(0x213));return _0x1c1caf;}function _possibleConstructorReturn(_0x24e688,_0x4bbce2){var _0x2e79fb=_0x37e4;if(_0x4bbce2&&(typeof _0x4bbce2==='object'||typeof _0x4bbce2===_0x2e79fb(0x194)))return _0x4bbce2;else{if(_0x4bbce2!==void 0x0)throw new TypeError('Derived\x20constructors\x20may\x20only\x20return\x20object\x20or\x20undefined');}return _assertThisInitialized(_0x24e688);}function _createSuper(_0x157e0b){var _0x48a755=_isNativeReflectConstruct();return function _0x23845b(){var _0x13ffb4=_0x37e4,_0x5f5cff=_getPrototypeOf(_0x157e0b),_0x5cff39;if(_0x48a755){var _0x4d0d0b=_getPrototypeOf(this)[_0x13ffb4(0x1f5)];_0x5cff39=Reflect[_0x13ffb4(0x1b5)](_0x5f5cff,arguments,_0x4d0d0b);}else _0x5cff39=_0x5f5cff[_0x13ffb4(0x21c)](this,arguments);return _possibleConstructorReturn(this,_0x5cff39);};}function _superPropBase(_0x10d1fd,_0x571ff2){var _0x209110=_0x37e4;while(!Object['prototype'][_0x209110(0x197)]['call'](_0x10d1fd,_0x571ff2)){_0x10d1fd=_getPrototypeOf(_0x10d1fd);if(_0x10d1fd===null)break;}return _0x10d1fd;}function _get(){var _0x5ba561=_0x37e4;return typeof Reflect!==_0x5ba561(0x21a)&&Reflect[_0x5ba561(0x218)]?_get=Reflect[_0x5ba561(0x218)]:_get=function _0x5e54ea(_0x40bfaf,_0x4593c2,_0x643181){var _0x15ae88=_0x5ba561,_0x2d60ba=_superPropBase(_0x40bfaf,_0x4593c2);if(!_0x2d60ba)return;var _0x39812d=Object['getOwnPropertyDescriptor'](_0x2d60ba,_0x4593c2);if(_0x39812d[_0x15ae88(0x218)])return _0x39812d[_0x15ae88(0x218)][_0x15ae88(0x212)](arguments[_0x15ae88(0x1e3)]<0x3?_0x40bfaf:_0x643181);return _0x39812d[_0x15ae88(0x1d8)];},_get[_0x5ba561(0x21c)](this,arguments);}var L$1=mars2d__namespace['L'],baiduMapLayer=mapv__namespace?mapv__namespace[_0x5b1ac1(0x1c8)]:null,BaseLayer=baiduMapLayer?baiduMapLayer[_0x5b1ac1(0x1fe)]:Function,MapVRenderer=function(_0x5b425c){var _0x622fc6=_0x5b1ac1;_inherits(_0x3b9495,_0x5b425c);var _0x2e6316=_createSuper(_0x3b9495);function _0x3b9495(_0x1382c0,_0x523e1b,_0x6bfe24,_0x11a46b){var _0x5e9688=_0x37e4,_0x5c0101;_classCallCheck(this,_0x3b9495),_0x11a46b=_0x11a46b||{},_0x5c0101=_0x2e6316['call'](this,_0x1382c0,_0x6bfe24,_0x11a46b);if(!BaseLayer)return _possibleConstructorReturn(_0x5c0101);return _0x5c0101[_0x5e9688(0x19e)]=_0x523e1b,_0x5c0101['init'](_0x11a46b),_0x5c0101['argCheck'](_0x11a46b),_0x5c0101['bindEvent'](),_0x5c0101;}return _createClass(_0x3b9495,[{'key':_0x622fc6(0x1c6),'value':function _0x50d55e(_0x26cfd3){var _0x7c3a55=_0x622fc6,_0xc85fc8=this[_0x7c3a55(0x19c)][_0x7c3a55(0x1a0)]([0x0,0x0]),_0x3f7d5b=this[_0x7c3a55(0x1e1)]=this['canvasLayer'][_0x7c3a55(0x1e1)]=window[_0x7c3a55(0x1e1)],_0x4d4d97=_0x26cfd3['layerPoint'];_get(_getPrototypeOf(_0x3b9495[_0x7c3a55(0x206)]),_0x7c3a55(0x1c6),this)[_0x7c3a55(0x212)](this,L$1[_0x7c3a55(0x1fd)]((_0x4d4d97['x']-_0xc85fc8['x'])/_0x3f7d5b,(_0x4d4d97['y']-_0xc85fc8['y'])/_0x3f7d5b),_0x26cfd3);}},{'key':_0x622fc6(0x1e4),'value':function _0x20ca15(_0x196867){var _0x5c5840=_0x622fc6,_0x4e25ee=_0x196867[_0x5c5840(0x203)];_get(_getPrototypeOf(_0x3b9495[_0x5c5840(0x206)]),'mousemoveEvent',this)['call'](this,_0x4e25ee,_0x196867);}},{'key':_0x622fc6(0x1f7),'value':function _0x28af40(){var _0x2a3b09=_0x622fc6,_0x5555c6=this[_0x2a3b09(0x19c)];this['options'][_0x2a3b09(0x185)]&&(this[_0x2a3b09(0x1b0)]['methods']['click']&&_0x5555c6['on']('click',this['clickEvent'],this),this[_0x2a3b09(0x1b0)][_0x2a3b09(0x185)][_0x2a3b09(0x1ff)]&&_0x5555c6['on']('mousemove',this[_0x2a3b09(0x1e4)],this)),this[_0x2a3b09(0x19c)]['on']('movestart',this['moveStartEvent'],this),this[_0x2a3b09(0x19c)]['on'](_0x2a3b09(0x1e8),this['moveEndEvent'],this),this['map']['on'](_0x2a3b09(0x1f0),this[_0x2a3b09(0x21b)],this);}},{'key':_0x622fc6(0x1ef),'value':function _0x34750e(){var _0x3bbad9=_0x622fc6;this[_0x3bbad9(0x18e)](),this[_0x3bbad9(0x1b4)]();this['animator']&&(this[_0x3bbad9(0x21d)][_0x3bbad9(0x1ca)](),this[_0x3bbad9(0x21d)]=null);this[_0x3bbad9(0x19e)]=null,this[_0x3bbad9(0x19c)]=null;for(var _0x4e62a0 in this){delete this[_0x4e62a0];}}},{'key':'unbindEvent','value':function _0x3b3cd3(){var _0x36772d=_0x622fc6,_0x480da2=this[_0x36772d(0x19c)];this[_0x36772d(0x1b0)][_0x36772d(0x185)]&&(this[_0x36772d(0x1b0)][_0x36772d(0x185)]['click']&&_0x480da2[_0x36772d(0x1d0)](_0x36772d(0x219),this[_0x36772d(0x1c6)],this),this[_0x36772d(0x1b0)][_0x36772d(0x185)]['mousemove']&&_0x480da2['off']('mousemove',this['mousemoveEvent'],this)),this[_0x36772d(0x19c)][_0x36772d(0x1d0)](_0x36772d(0x214),this[_0x36772d(0x1ab)],this),this['map'][_0x36772d(0x1d0)]('moveend',this[_0x36772d(0x1cf)],this),this['map']['off'](_0x36772d(0x1f0),this[_0x36772d(0x21b)],this);}},{'key':_0x622fc6(0x1ac),'value':function _0x468dd2(){var _0x264f40=_0x622fc6;return this['canvasLayer'][_0x264f40(0x227)]()[_0x264f40(0x1ac)](this[_0x264f40(0x191)]);}},{'key':_0x622fc6(0x1e7),'value':function _0x549f8b(_0x55ad3e,_0x4479a9){var _0x30d2d3=_0x622fc6,_0x26cef4=_0x55ad3e;_0x55ad3e&&_0x55ad3e[_0x30d2d3(0x218)]&&(_0x26cef4=_0x55ad3e[_0x30d2d3(0x218)]()),this[_0x30d2d3(0x1ce)][_0x30d2d3(0x192)](_0x26cef4),this[_0x30d2d3(0x1e6)]({'options':_0x4479a9});}},{'key':_0x622fc6(0x1e6),'value':function _0x4a56af(_0x2e87d7){var _0x1638b9=_0x622fc6,_0x2ce68a=_0x2e87d7||{},_0x4bc279=_0x2ce68a[_0x1638b9(0x195)];_0x4bc279&&_0x4bc279[_0x1638b9(0x218)]&&(_0x4bc279=_0x4bc279[_0x1638b9(0x218)]()),_0x4bc279!==undefined&&this[_0x1638b9(0x1ce)][_0x1638b9(0x1f6)](_0x4bc279),_get(_getPrototypeOf(_0x3b9495[_0x1638b9(0x206)]),_0x1638b9(0x1e6),this)[_0x1638b9(0x212)](this,{'options':_0x2ce68a[_0x1638b9(0x1b0)]});}},{'key':_0x622fc6(0x20f),'value':function _0xe06e9e(){var _0x59a795=_0x622fc6;return this[_0x59a795(0x1ce)];}},{'key':_0x622fc6(0x224),'value':function _0x1fb818(_0x7c0920){var _0x175d36=_0x622fc6;if(!this['dataSet'])return;var _0x46ba09=this[_0x175d36(0x1ce)]['get']({'filter':function _0x6bbec0(_0x4078d5){var _0x2b6504=_0x175d36;return _0x7c0920!=null&&typeof _0x7c0920===_0x2b6504(0x194)?!_0x7c0920(_0x4078d5):!![];}});this[_0x175d36(0x1ce)][_0x175d36(0x1f6)](_0x46ba09),this['update']({'options':null});}},{'key':'clearData','value':function _0x3aaf69(){var _0xeb3e8=_0x622fc6;this['dataSet']&&this[_0xeb3e8(0x1ce)][_0xeb3e8(0x1da)](),this['update']({'options':null});}},{'key':_0x622fc6(0x210),'value':function _0x38676d(_0x3de946){var _0x5014a1=_0x622fc6;if(!this[_0x5014a1(0x19e)])return;var _0x419a39=this;try{var _0x2bcad1=_0x419a39['options'][_0x5014a1(0x1c9)],_0x250e76=this[_0x5014a1(0x1ac)](),_0x20a816=this['map'];if(_0x419a39[_0x5014a1(0x1df)]()){if(_0x3de946===undefined){this[_0x5014a1(0x1da)](_0x250e76);return;}this[_0x5014a1(0x191)]==='2d'&&(_0x250e76[_0x5014a1(0x1a1)](),_0x250e76[_0x5014a1(0x1fb)]=_0x5014a1(0x1f2),_0x250e76[_0x5014a1(0x1fa)]='rgba(0,\x200,\x200,\x20.1)',_0x250e76[_0x5014a1(0x20a)](0x0,0x0,_0x250e76[_0x5014a1(0x1b2)][_0x5014a1(0x1c1)],_0x250e76[_0x5014a1(0x1b2)]['height']),_0x250e76[_0x5014a1(0x187)]());}else this['clear'](_0x250e76);if(this[_0x5014a1(0x191)]==='2d')for(var _0x30195c in _0x419a39[_0x5014a1(0x1b0)]){_0x250e76[_0x30195c]=_0x419a39[_0x5014a1(0x1b0)][_0x30195c];}else _0x250e76[_0x5014a1(0x1da)](_0x250e76[_0x5014a1(0x20d)]);if(_0x419a39[_0x5014a1(0x1b0)][_0x5014a1(0x180)]&&_0x20a816[_0x5014a1(0x1fc)]()<_0x419a39['options'][_0x5014a1(0x180)]||_0x419a39[_0x5014a1(0x1b0)][_0x5014a1(0x1a9)]&&_0x20a816[_0x5014a1(0x1fc)]()>_0x419a39[_0x5014a1(0x1b0)]['maxZoom'])return;var _0x2fd9f2=_0x20a816[_0x5014a1(0x1e9)](),_0x499988=_0x2fd9f2[_0x5014a1(0x1d6)]()-_0x2fd9f2[_0x5014a1(0x221)](),_0x501934=_0x2fd9f2['getNorth']()-_0x2fd9f2['getSouth'](),_0x28a4f9=_0x20a816[_0x5014a1(0x19d)](),_0x224ee7=_0x499988/_0x28a4f9['x'],_0x3b3ffe=_0x501934/_0x28a4f9['y'],_0x3ef9b7=this[_0x5014a1(0x19e)]['getTopLeft'](),_0x423317=_0x20a816[_0x5014a1(0x1ed)](_0x3ef9b7),_0x115725={'transferCoordinate':function _0x2d8eef(_0x5798ac){var _0x4fe2b6=_0x5014a1,_0x8a56ad;_0x419a39[_0x4fe2b6(0x191)]==='2d'?_0x8a56ad=_0x20a816['latLngToAccurateContainerPoint'](L$1[_0x4fe2b6(0x20c)](_0x5798ac[0x1],_0x5798ac[0x0])):_0x8a56ad={'x':(_0x5798ac[0x0]-_0x3ef9b7[_0x4fe2b6(0x1cd)])/_0x224ee7,'y':(_0x3ef9b7[_0x4fe2b6(0x1a8)]-_0x5798ac[0x1])/_0x3b3ffe};var _0x3b7ef8={'x':_0x8a56ad['x']-_0x423317['x'],'y':_0x8a56ad['y']-_0x423317['x']};return[_0x3b7ef8['x'],_0x3b7ef8['y']];}};_0x3de946!==undefined&&(_0x115725[_0x5014a1(0x220)]=function(_0x3795d0){var _0x3bb1b2=_0x5014a1,_0x3da342=_0x2bcad1[_0x3bb1b2(0x1aa)]||0xa;return _0x3de946&&_0x3795d0[_0x3bb1b2(0x228)]>_0x3de946-_0x3da342&&_0x3795d0[_0x3bb1b2(0x228)]<_0x3de946;});var _0x174cbe=_0x419a39['dataSet'][_0x5014a1(0x218)](_0x115725);this[_0x5014a1(0x1c5)](_0x174cbe),_0x419a39[_0x5014a1(0x1b0)][_0x5014a1(0x1a6)]=_0x419a39[_0x5014a1(0x1b0)][_0x5014a1(0x1b9)];var _0x51ed23=_0x20a816[_0x5014a1(0x1f8)](L$1['latLng'](0x0,0x0)),_0x134b85={'x':_0x51ed23['x']-_0x423317['x'],'y':_0x51ed23['y']-_0x423317['y']};_0x174cbe&&_0x174cbe[_0x5014a1(0x1e3)]>0x0&&this[_0x5014a1(0x229)](_0x250e76,_0x174cbe,_0x419a39[_0x5014a1(0x1b0)],_0x134b85),_0x419a39[_0x5014a1(0x1b0)][_0x5014a1(0x183)]&&_0x419a39['options'][_0x5014a1(0x183)](_0x3de946);}catch(_0xe28d3a){console['log']('mapv渲染异常',_0xe28d3a);}}},{'key':'init','value':function _0x3d183d(_0x5f1765){var _0x1b83dd=_0x622fc6,_0x54d876=this;_0x54d876['options']=_0x5f1765,this[_0x1b83dd(0x1c3)](_0x5f1765),this[_0x1b83dd(0x191)]=_0x54d876[_0x1b83dd(0x1b0)]['context']||'2d',_0x54d876[_0x1b83dd(0x1b0)][_0x1b83dd(0x1c7)]&&(this['canvasLayer']&&this[_0x1b83dd(0x19e)]['setZIndex'](_0x54d876[_0x1b83dd(0x1b0)][_0x1b83dd(0x1c7)])),this[_0x1b83dd(0x1d1)]();}},{'key':_0x622fc6(0x1bb),'value':function _0x5432bf(){}},{'key':_0x622fc6(0x1ab),'value':function _0x5544bb(){var _0x40fc85=_0x622fc6,_0x2569cc=this[_0x40fc85(0x1b0)][_0x40fc85(0x1c9)];this[_0x40fc85(0x1df)]()&&this[_0x40fc85(0x21d)]&&(this[_0x40fc85(0x1c0)][_0x40fc85(0x204)]=_0x2569cc['stepsRange'][_0x40fc85(0x20b)],this['_hide']());}},{'key':_0x622fc6(0x1cf),'value':function _0x85c722(){var _0x23a0a9=_0x622fc6;this[_0x23a0a9(0x19e)]['draw'](),this[_0x23a0a9(0x1ba)]();}},{'key':'zoomStartEvent','value':function _0x38c47a(){var _0x418356=_0x622fc6;this[_0x418356(0x18a)]();}},{'key':_0x622fc6(0x1da),'value':function _0xd34d42(_0x16cc57){var _0x138559=_0x622fc6;_0x16cc57&&_0x16cc57['clearRect']&&_0x16cc57[_0x138559(0x18d)](0x0,0x0,_0x16cc57['canvas'][_0x138559(0x1c1)],_0x16cc57[_0x138559(0x1b2)][_0x138559(0x1be)]);}},{'key':'_hide','value':function _0x88f73a(){var _0x19c762=_0x622fc6;this[_0x19c762(0x19e)]['canvas']['style'][_0x19c762(0x184)]=_0x19c762(0x18b);}},{'key':_0x622fc6(0x1ba),'value':function _0x4aad44(){var _0x4b7b10=_0x622fc6;this['canvasLayer'][_0x4b7b10(0x1b2)][_0x4b7b10(0x199)]['display']=_0x4b7b10(0x1f9);}},{'key':'draw','value':function _0x38f064(){this['canvasLayer']['draw']();}}]),_0x3b9495;}(BaseLayer),L=mars2d__namespace['L'],MapVLayer=function(_0x16cae9){var _0x24749d=_0x5b1ac1;_inherits(_0x6b0cc,_0x16cae9);var _0x1e933f=_createSuper(_0x6b0cc);function _0x6b0cc(){var _0x33e27e=_0x37e4;return _classCallCheck(this,_0x6b0cc),_0x1e933f[_0x33e27e(0x21c)](this,arguments);}return _createClass(_0x6b0cc,[{'key':'initialize','value':function _0x33ba90(){var _0xbdab72=_0x37e4,_0x1074c6=arguments[_0xbdab72(0x1e3)]>0x0&&arguments[0x0]!==undefined?arguments[0x0]:{},_0x5ad96d=arguments[_0xbdab72(0x1e3)]>0x1?arguments[0x1]:undefined;this[_0xbdab72(0x1b0)]=_0x1074c6,this['dataSet']=_0x5ad96d||new mapv__namespace[(_0xbdab72(0x20e))](_0x1074c6[_0xbdab72(0x195)]),L[_0xbdab72(0x18f)][_0xbdab72(0x19b)](this),this[_0xbdab72(0x1b0)]['id']=mars2d__namespace[_0xbdab72(0x18f)][_0xbdab72(0x1c2)](this[_0xbdab72(0x1b0)]['id'],this[_0xbdab72(0x1a2)]),this['options'][_0xbdab72(0x215)]=mars2d__namespace['Util'][_0xbdab72(0x1c2)](this[_0xbdab72(0x1b0)][_0xbdab72(0x215)],-0x1),this[_0xbdab72(0x1b0)][_0xbdab72(0x201)]=mars2d__namespace[_0xbdab72(0x18f)][_0xbdab72(0x1c2)](this[_0xbdab72(0x1b0)]['name'],'');}},{'key':_0x24749d(0x1a2),'get':function _0x3b8811(){return this['_leaflet_id'];}},{'key':'isAdded','get':function _0x31b5a1(){var _0x263642=_0x24749d;return this['_map']&&this[_0x263642(0x190)][_0x263642(0x1bd)](this);}},{'key':_0x24749d(0x215),'get':function _0x2b2b81(){return this['options']['pid'];},'set':function _0x21a52d(_0x56168f){this['options']['pid']=_0x56168f;}},{'key':'id','get':function _0x4261b1(){var _0x6f2333=_0x24749d;return this[_0x6f2333(0x1b0)]['id'];},'set':function _0x122bb3(_0x27b6e9){this['options']['id']=_0x27b6e9;}},{'key':'name','get':function _0x54b642(){var _0x2fd4d2=_0x24749d;return this[_0x2fd4d2(0x1b0)][_0x2fd4d2(0x201)];},'set':function _0x5941cc(_0x2143ce){var _0x1586bf=_0x24749d;this[_0x1586bf(0x1b0)][_0x1586bf(0x201)]=_0x2143ce;}},{'key':_0x24749d(0x225),'value':function _0x1d3ed0(_0x22f34a){var _0x4f7794=_0x24749d;this['_map']=_0x22f34a;var _0x4ef735=_0x22f34a[_0x4f7794(0x1b8)](this[_0x4f7794(0x1b0)][_0x4f7794(0x1d2)]||_0x4f7794(0x21e)),_0x46ec1d=L[_0x4f7794(0x1bf)][_0x4f7794(0x1eb)](_0x4f7794(0x193),_0x4f7794(0x1af),_0x4ef735);_0x46ec1d[_0x4f7794(0x199)][_0x4f7794(0x21f)]='absolute',_0x46ec1d[_0x4f7794(0x199)][_0x4f7794(0x1a4)]=_0x4f7794(0x1ec),_0x46ec1d[_0x4f7794(0x199)]['left']=_0x4f7794(0x1ec),_0x46ec1d[_0x4f7794(0x199)]['zIndex']=this['options'][_0x4f7794(0x1c7)]||0x63,this['canvas']=this[_0x4f7794(0x198)](),_0x46ec1d[_0x4f7794(0x1dd)](this['canvas']);var _0x532d57=_0x22f34a[_0x4f7794(0x19d)]();_0x46ec1d[_0x4f7794(0x199)][_0x4f7794(0x1c1)]=_0x532d57['x']+'px',_0x46ec1d[_0x4f7794(0x199)]['height']=_0x532d57['y']+'px',this[_0x4f7794(0x189)]=_0x46ec1d,this[_0x4f7794(0x1ea)]=new MapVRenderer(_0x22f34a,this,this[_0x4f7794(0x1ce)],this[_0x4f7794(0x1b0)]),this[_0x4f7794(0x1d5)](),this[_0x4f7794(0x1d9)](_0x4f7794(0x182));}},{'key':_0x24749d(0x1c4),'value':function _0x2650de(_0x30aab7){var _0x1f5df7=_0x24749d;this[_0x1f5df7(0x1ea)][_0x1f5df7(0x1ef)](),delete this[_0x1f5df7(0x1ea)],L[_0x1f5df7(0x1bf)][_0x1f5df7(0x196)](this['container']),delete this['container'],delete this['canvas'],_0x30aab7['off']({'moveend':this[_0x1f5df7(0x1d5)],'zoomstart':this[_0x1f5df7(0x18a)],'zoomend':this['_show']},this);}},{'key':_0x24749d(0x1e7),'value':function _0x51502e(_0x28520a){var _0x3506a8=_0x24749d;this['_mapVRenderer']&&this[_0x3506a8(0x1ea)][_0x3506a8(0x1e7)](_0x28520a,this[_0x3506a8(0x1b0)]);}},{'key':'updateData','value':function _0x16d81e(_0x114fcf){var _0x248732=_0x24749d;this[_0x248732(0x1ea)]&&this[_0x248732(0x1ea)][_0x248732(0x1ae)](_0x114fcf,this['options']);}},{'key':_0x24749d(0x20f),'value':function _0x5d2b4f(){var _0x228809=_0x24749d;return this['_mapVRenderer']&&(this[_0x228809(0x1ce)]=this['_mapVRenderer']['getData']()),this[_0x228809(0x1ce)];}},{'key':'removeData','value':function _0x1ad155(_0xe747f0){var _0x2fa241=_0x24749d;this[_0x2fa241(0x1ea)]&&this[_0x2fa241(0x1ea)][_0x2fa241(0x224)](_0xe747f0);}},{'key':'removeAllData','value':function _0x3c7c83(){var _0x287a29=_0x24749d;this[_0x287a29(0x1ea)]&&this[_0x287a29(0x1ea)][_0x287a29(0x1b4)]();}},{'key':_0x24749d(0x1d5),'value':function _0x4f0908(){var _0x392609=_0x24749d;this[_0x392609(0x1b7)]();}},{'key':_0x24749d(0x1cc),'value':function _0xc3d6f5(_0x1b7f2b){var _0x7177f7=_0x24749d;this[_0x7177f7(0x1b0)][_0x7177f7(0x1c7)]=_0x1b7f2b,this[_0x7177f7(0x189)]&&(this['container'][_0x7177f7(0x199)]['zIndex']=_0x1b7f2b);}},{'key':_0x24749d(0x1db),'value':function _0x591225(){var _0x1e0a5c=_0x24749d;this[_0x1e0a5c(0x1ea)][_0x1e0a5c(0x210)]();}},{'key':_0x24749d(0x227),'value':function _0x45ceb6(){var _0x264e4b=_0x24749d;return this[_0x264e4b(0x1b2)];}},{'key':_0x24749d(0x1ad),'value':function _0x2cd737(){var _0x3e0840=_0x24749d;return this[_0x3e0840(0x189)];}},{'key':_0x24749d(0x1d7),'value':function _0x5e1510(){var _0x46fc5b=_0x24749d,_0x22d8e0=this[_0x46fc5b(0x190)],_0x10de82;if(_0x22d8e0){var _0x257291=_0x22d8e0[_0x46fc5b(0x1e9)]();_0x10de82=_0x257291['getNorthWest']();}return _0x10de82;}},{'key':_0x24749d(0x198),'value':function _0x7e26c1(){var _0x75fb4d=_0x24749d,_0x19f969=document[_0x75fb4d(0x1b6)](_0x75fb4d(0x1b2));_0x19f969[_0x75fb4d(0x199)][_0x75fb4d(0x21f)]='absolute',_0x19f969[_0x75fb4d(0x199)][_0x75fb4d(0x1a4)]=0x0+'px',_0x19f969[_0x75fb4d(0x199)][_0x75fb4d(0x1a3)]=0x0+'px',_0x19f969['style'][_0x75fb4d(0x19a)]=_0x75fb4d(0x18b),_0x19f969[_0x75fb4d(0x199)]['zIndex']=this[_0x75fb4d(0x1b0)][_0x75fb4d(0x1c7)]||0x258;var _0x5f758f=typeof window===_0x75fb4d(0x21a)?{}:window,_0xe81fe3=this['devicePixelRatio']=_0x5f758f['devicePixelRatio'];return this['options']['context']==='2d'&&_0x19f969['getContext']('2d')[_0x75fb4d(0x1a7)](_0xe81fe3,_0xe81fe3),_0x19f969;}},{'key':_0x24749d(0x208),'value':function _0x274ce8(){var _0x376421=_0x24749d,_0xa381=this['canvas'];if(!_0xa381)return;var _0x3c48de=this[_0x376421(0x190)],_0x43c945=_0x3c48de[_0x376421(0x19d)]();_0xa381[_0x376421(0x1c1)]=_0x43c945['x'],_0xa381[_0x376421(0x1be)]=_0x43c945['y'],_0xa381[_0x376421(0x199)][_0x376421(0x1c1)]=_0x43c945['x']+'px',_0xa381['style'][_0x376421(0x1be)]=_0x43c945['y']+'px';var _0x308ae0=_0x3c48de['getBounds'](),_0x308a1f=_0x3c48de['latLngToLayerPoint'](_0x308ae0[_0x376421(0x216)]());L[_0x376421(0x1bf)][_0x376421(0x209)](_0xa381,_0x308a1f);}},{'key':'_reset','value':function _0x1a057d(){var _0x361068=_0x24749d;this[_0x361068(0x208)](),this['_render']();}},{'key':_0x24749d(0x207),'value':function _0x1652e5(){var _0x4d9d4e=_0x24749d;this[_0x4d9d4e(0x208)](),this[_0x4d9d4e(0x223)]();}},{'key':_0x24749d(0x223),'value':function _0x38ed56(){this['render']();}}]),_0x6b0cc;}(L[_0x5b1ac1(0x222)]);mars2d__namespace['layer'][_0x5b1ac1(0x1e2)]=MapVLayer,mars2d__namespace['LayerUtil'][_0x5b1ac1(0x1b3)](_0x5b1ac1(0x188),MapVLayer),exports[_0x5b1ac1(0x1e2)]=MapVLayer,Object[_0x5b1ac1(0x1e0)](mapv)['forEach'](function(_0x38ff47){var _0x3b9811=_0x5b1ac1;if(_0x38ff47!==_0x3b9811(0x18c)&&!exports['hasOwnProperty'](_0x38ff47))Object[_0x3b9811(0x1cb)](exports,_0x38ff47,{'enumerable':!![],'get':function(){return mapv[_0x38ff47];}});}),Object[_0x5b1ac1(0x1cb)](exports,'__esModule',{'value':!![]}); | ||
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';var _0x266546=_0x36a9;function _0x3b7e(){var _0x441d5c=['zgf0yvnLDa','zgvZDgLUyxrPB24TB3v0','zMLSBfjLy3q','AxnfBMfIBgvKvgLTzq','C2v0','x3nPEMu','mhb4','EM9VBxn0yxj0','z2v0vg9WtgvMDa','twfWvKXHEwvY','CgLK','z2v0tM9YDgHxzxn0','Bwf4wM9VBq','Dw5IAw5KrxzLBNq','rg9TvxrPBa','Dg9W','tgf5zxjvDgLS','z2v0tM9YDgG','CMvUzgvY','zgvMyxvSDa','ChjVDg90ExbL','BgvMDa','Cg9PBNq','C3rLChnsyw5Nzq','rgf0yvnLDa','ndiYndHuzKzuwhK','y29UC3rYDwn0','AgfZt3DUuhjVCgvYDhK','BMfTzq','zw51BwvYywjSzq','y3jLyxrL','EM9VBvn0yxj0rxzLBNq','zMLSBfn0EwXL','y2fUDMfZ','yxbWzw5Kq2HPBgq','x21HCfzszw5KzxjLCG','y2XLyxjszwn0','mJe3oduWs05fvffv','y2XPy2S','Dw5KzwzPBMvK','Aw5PDerHDgfsyw5Nzq','ywjZB2X1Dgu','mta0odq0ANj5BuHS','y2fSBa','zNvUy3rPB24','DgLTzq','C2v0uhjVDg90ExbLt2y','z2v0','Bgf5zxjqB2LUDa','D2LKDgG','C3r5Bgu','zgf0yq','y2fUDMfZtgf5zxi','DxbKyxrL','z2v0v2vZDa','x3jLC2L6zq','Aw5PDa','mJvvqMrfvwq','mJeZotaXDLHpqLHK','Bgf5zxi','y29UDgfPBMvY','x19LC01VzhvSzq','Bw92zwvUza','BgvHzMXLDc1SyxLLCIbSzwfMBgv0lxPVB20Tyw5PBwf0zwq','B2zM','C2v0ug9ZAxrPB24','z2v0t3DUuhjVCgvYDhLezxnJCMLWDg9Y','B3b0Aw9UCW','yMLUzev2zw50','vxrPBa','ywrKqw5PBwf0B3jfDMvUDa','zMLYzq','x2XLywzSzxrFAwq','AxnbzgrLza','z2v0ugfUzq','ChjVy2vZC0rHDge','Bgf0tg5N','z2v0u291DgG','BgvUz3rO','ntDStNjVB3e','Cg9PBNrLCKv2zw50CW','Bw92zxn0yxj0','x21HCa','Bgf0tg5Nvg9myxLLCLbVAw50','yxbWBhK','y3jLyxrLrwXLBwvUDa','Bw92zvn0yxj0rxzLBNq','BM9Uzq','q09mt1jFqLvgrKvsx0jjva','zM9YrwfJAa','B25bzgq','Bg9N','z2v0q29UDgfPBMvY','DxbKyxrLrgf0yq','DMfSDwu','y2XLyxi','z2v0rwfZDa','BwLUwM9VBq','C2L6zq','C2HHBq','x3jLBMrLCG','x2HPzgu','D3jPDgfIBgu','Bgf0tg5Nvg9dB250ywLUzxjqB2LUDa','y2XPy2TfDMvUDa','yMXVy2S','y29UzMLNDxjHyMXL','C2nHBgu','BwfW','z2v0q29UDgv4Da','C2v0wKLUzgv4','C3rVCa','z2v0rgf0yq','DMfSDwvpzG','Bwv0Ag9KCW','CMvNAxn0zxi','y29UDgv4Da','yw5PBwf0B3i','DxvPza','y29UDgfPBMvYug9PBNruB0XHEwvYug9PBNq','zMLSDgvY','C2f2zq','y2XLyxjeyxrH','ntuZmZy5m0nfyK5VBq','u3vWzxiGzxHWCMvZC2LVBIbTDxn0igvPDgHLCIbIzsbUDwXSig9YigeGzNvUy3rPB24','CMvTB3zLqwXSrgf0yq','mJCZnJq0mxPtwhnADG','DhjHAwXZ','DxbKyxrLq2fSBgjHy2S','zgLZCgXHEq','x2nHBNzHC1vWzgf0zq','Bgf0tg5Nvg9by2n1CMf0zunVBNrHAw5LCLbVAw50','AgvPz2H0','Bgf0','zgv2AwnLugL4zwXsyxrPBW','DgHPCYbOyxnUj3qGyMvLBIbPBML0AwfSAxnLzcaTihn1CgvYkcKGAgfZBID0igjLzw4Gy2fSBgvK','x19WCM90B19F','zgvMyxvSDfzHBhvL','Bw91C2vTB3zLrxzLBNq','mtmYnZCZmKXJv2Djta','Bw92zuvUzev2zw50','C3rHBxa','z2v0u2L6zq','Bg9HzgvK','zgvMAw5LuhjVCgvYDhK','C3rLCa','CMvTB3zLrgf0yq','C3rHCNq','q2fUBM90ignHBgWGysbJBgfZCYbHCYbHigz1BMn0Aw9U','z2v0qM91BMrZ','yMfPzhvnyxbmyxLLCG','zhjHD0nVBNrLEhq','nLLOCvnuEG','rgvYAxzLzcbJB25ZDhj1y3rVCNmGBwf5ig9UBhKGCMv0DxjUig9IAMvJDcbVCIb1BMrLzMLUzwq','yxjNq2HLy2S','x3nOB3C','Bw91C2vTB3zL','BwfWDG','AgfZtgf5zxi','z2v0q2fUDMfZ','Cg9ZAxrPB24','ywrKrgf0yq','og5ps0rWAW','CMvKCMf3','z2v0uhjVDg90ExbLt2y','A2v5','zhjHDW','EKLUzgv4','A2v5CW','B2jQzwn0'];_0x3b7e=function(){return _0x441d5c;};return _0x3b7e();}(function(_0x2f40ea,_0x1a1641){var _0x271c7e=_0x36a9,_0x2027f4=_0x2f40ea();while(!![]){try{var _0x12a564=-parseInt(_0x271c7e(0xbd))/0x1+parseInt(_0x271c7e(0x9c))/0x2*(-parseInt(_0x271c7e(0xd2))/0x3)+-parseInt(_0x271c7e(0xad))/0x4*(parseInt(_0x271c7e(0xbc))/0x5)+-parseInt(_0x271c7e(0x11b))/0x6*(-parseInt(_0x271c7e(0x10e))/0x7)+parseInt(_0x271c7e(0x125))/0x8*(parseInt(_0x271c7e(0x101))/0x9)+-parseInt(_0x271c7e(0xa8))/0xa+parseInt(_0x271c7e(0xfe))/0xb;if(_0x12a564===_0x1a1641)break;else _0x2027f4['push'](_0x2027f4['shift']());}catch(_0x21e78c){_0x2027f4['push'](_0x2027f4['shift']());}}}(_0x3b7e,0x37d53));function _interopNamespace(_0x5e9c86){var _0x846721=_0x36a9;if(_0x5e9c86&&_0x5e9c86[_0x846721(0xc0)])return _0x5e9c86;var _0x190e2f=Object[_0x846721(0xa1)](null);return _0x5e9c86&&Object[_0x846721(0x12b)](_0x5e9c86)[_0x846721(0xdc)](function(_0x2919d1){var _0x85481c=_0x846721;if(_0x2919d1!=='default'){var _0x1c2d93=Object[_0x85481c(0xc5)](_0x5e9c86,_0x2919d1);Object[_0x85481c(0x113)](_0x190e2f,_0x2919d1,_0x1c2d93[_0x85481c(0xb2)]?_0x1c2d93:{'enumerable':!![],'get':function(){return _0x5e9c86[_0x2919d1];}});}}),_0x190e2f['default']=_0x5e9c86,_0x190e2f;}var mapv__namespace=_interopNamespace(mapv),mars2d__namespace=_interopNamespace(mars2d);function _0x36a9(_0x4fd7a0,_0x2d2b6b){var _0x3b7e5b=_0x3b7e();return _0x36a9=function(_0x36a930,_0x417a1b){_0x36a930=_0x36a930-0x8c;var _0x4264fc=_0x3b7e5b[_0x36a930];if(_0x36a9['XbAFhU']===undefined){var _0x161417=function(_0x5e9c86){var _0x190e2f='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';var _0x2919d1='',_0x1c2d93='';for(var _0x1e8b5c=0x0,_0x37abf2,_0x25c6d2,_0x53a71a=0x0;_0x25c6d2=_0x5e9c86['charAt'](_0x53a71a++);~_0x25c6d2&&(_0x37abf2=_0x1e8b5c%0x4?_0x37abf2*0x40+_0x25c6d2:_0x25c6d2,_0x1e8b5c++%0x4)?_0x2919d1+=String['fromCharCode'](0xff&_0x37abf2>>(-0x2*_0x1e8b5c&0x6)):0x0){_0x25c6d2=_0x190e2f['indexOf'](_0x25c6d2);}for(var _0x3fe1c2=0x0,_0x4a8c81=_0x2919d1['length'];_0x3fe1c2<_0x4a8c81;_0x3fe1c2++){_0x1c2d93+='%'+('00'+_0x2919d1['charCodeAt'](_0x3fe1c2)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x1c2d93);};_0x36a9['MdBgst']=_0x161417,_0x4fd7a0=arguments,_0x36a9['XbAFhU']=!![];}var _0x7d932e=_0x3b7e5b[0x0],_0x59a46a=_0x36a930+_0x7d932e,_0x2c9aa4=_0x4fd7a0[_0x59a46a];return!_0x2c9aa4?(_0x4264fc=_0x36a9['MdBgst'](_0x4264fc),_0x4fd7a0[_0x59a46a]=_0x4264fc):_0x4264fc=_0x2c9aa4,_0x4264fc;},_0x36a9(_0x4fd7a0,_0x2d2b6b);}function _classCallCheck(_0x1e8b5c,_0x37abf2){var _0x213644=_0x36a9;if(!(_0x1e8b5c instanceof _0x37abf2))throw new TypeError(_0x213644(0x117));}function _defineProperties(_0x25c6d2,_0x53a71a){var _0x46cd54=_0x36a9;for(var _0x3fe1c2=0x0;_0x3fe1c2<_0x53a71a[_0x46cd54(0xd1)];_0x3fe1c2++){var _0x4a8c81=_0x53a71a[_0x3fe1c2];_0x4a8c81[_0x46cd54(0xa0)]=_0x4a8c81[_0x46cd54(0xa0)]||![],_0x4a8c81[_0x46cd54(0xed)]=!![];if(_0x46cd54(0xe1)in _0x4a8c81)_0x4a8c81[_0x46cd54(0xe9)]=!![];Object['defineProperty'](_0x25c6d2,_0x4a8c81[_0x46cd54(0x128)],_0x4a8c81);}}function _createClass(_0x5a85c7,_0x395039,_0x2eb68d){var _0x1e34c0=_0x36a9;if(_0x395039)_defineProperties(_0x5a85c7[_0x1e34c0(0x97)],_0x395039);if(_0x2eb68d)_defineProperties(_0x5a85c7,_0x2eb68d);return Object['defineProperty'](_0x5a85c7,_0x1e34c0(0x97),{'writable':![]}),_0x5a85c7;}function _inherits(_0x5d6f30,_0xa2289b){var _0x52e4d9=_0x36a9;if(typeof _0xa2289b!==_0x52e4d9(0xaf)&&_0xa2289b!==null)throw new TypeError(_0x52e4d9(0xff));_0x5d6f30[_0x52e4d9(0x97)]=Object[_0x52e4d9(0xa1)](_0xa2289b&&_0xa2289b[_0x52e4d9(0x97)],{'constructor':{'value':_0x5d6f30,'writable':!![],'configurable':!![]}}),Object[_0x52e4d9(0x113)](_0x5d6f30,_0x52e4d9(0x97),{'writable':![]});if(_0xa2289b)_setPrototypeOf(_0x5d6f30,_0xa2289b);}function _getPrototypeOf(_0x4269c7){var _0x290327=_0x36a9;return _getPrototypeOf=Object[_0x290327(0xb1)]?Object[_0x290327(0x127)]:function _0x29e8c3(_0x1da9f0){var _0x151cf=_0x290327;return _0x1da9f0[_0x151cf(0x10b)]||Object[_0x151cf(0x127)](_0x1da9f0);},_getPrototypeOf(_0x4269c7);}function _setPrototypeOf(_0x49ca2a,_0xe75c8d){var _0x424434=_0x36a9;return _setPrototypeOf=Object[_0x424434(0xb1)]||function _0xf1899b(_0x346d45,_0x3923a2){var _0x374fc1=_0x424434;return _0x346d45[_0x374fc1(0x10b)]=_0x3923a2,_0x346d45;},_setPrototypeOf(_0x49ca2a,_0xe75c8d);}function _isNativeReflectConstruct(){var _0x1d2427=_0x36a9;if(typeof Reflect===_0x1d2427(0xaa)||!Reflect[_0x1d2427(0x9d)])return![];if(Reflect['construct'][_0x1d2427(0xe6)])return![];if(typeof Proxy==='function')return!![];try{return Boolean[_0x1d2427(0x97)][_0x1d2427(0xf4)][_0x1d2427(0xae)](Reflect[_0x1d2427(0x9d)](Boolean,[],function(){})),!![];}catch(_0x1d0a89){return![];}}function _assertThisInitialized(_0x1c0401){var _0x5ddc86=_0x36a9;if(_0x1c0401===void 0x0)throw new ReferenceError(_0x5ddc86(0x10a));return _0x1c0401;}function _possibleConstructorReturn(_0x5da7fa,_0x475766){var _0x9ade9a=_0x36a9;if(_0x475766&&(typeof _0x475766===_0x9ade9a(0x12c)||typeof _0x475766===_0x9ade9a(0xaf)))return _0x475766;else{if(_0x475766!==void 0x0)throw new TypeError(_0x9ade9a(0x11c));}return _assertThisInitialized(_0x5da7fa);}function _createSuper(_0x552a93){var _0x8422d9=_isNativeReflectConstruct();return function _0xf14726(){var _0x1fb447=_getPrototypeOf(_0x552a93),_0x54db0a;if(_0x8422d9){var _0x513268=_getPrototypeOf(this)['constructor'];_0x54db0a=Reflect['construct'](_0x1fb447,arguments,_0x513268);}else _0x54db0a=_0x1fb447['apply'](this,arguments);return _possibleConstructorReturn(this,_0x54db0a);};}function _superPropBase(_0x338d71,_0x3fddeb){var _0x34455e=_0x36a9;while(!Object[_0x34455e(0x97)][_0x34455e(0x9e)]['call'](_0x338d71,_0x3fddeb)){_0x338d71=_getPrototypeOf(_0x338d71);if(_0x338d71===null)break;}return _0x338d71;}function _get(){var _0x4203e3=_0x36a9;return typeof Reflect!==_0x4203e3(0xaa)&&Reflect[_0x4203e3(0xb2)]?_get=Reflect[_0x4203e3(0xb2)]:_get=function _0x195c80(_0x33c72c,_0x26772d,_0x40a6e3){var _0xe5fae4=_0x4203e3,_0x59b930=_superPropBase(_0x33c72c,_0x26772d);if(!_0x59b930)return;var _0x183a63=Object[_0xe5fae4(0xc5)](_0x59b930,_0x26772d);if(_0x183a63[_0xe5fae4(0xb2)])return _0x183a63['get']['call'](arguments[_0xe5fae4(0xd1)]<0x3?_0x33c72c:_0x40a6e3);return _0x183a63[_0xe5fae4(0xe1)];},_get['apply'](this,arguments);}var L$1=mars2d__namespace['L'],baiduMapLayer=mapv__namespace?mapv__namespace[_0x266546(0x119)]:null,BaseLayer=baiduMapLayer?baiduMapLayer['__proto__']:Function,MapVRenderer=function(_0x5ae5b6){var _0x25e275=_0x266546;_inherits(_0xa5a21a,_0x5ae5b6);var _0x12c83c=_createSuper(_0xa5a21a);function _0xa5a21a(_0x4f8ab9,_0x411af0,_0x3c3495,_0x42bc9c){var _0x3264b=_0x36a9,_0x2ef85a;_classCallCheck(this,_0xa5a21a),_0x42bc9c=_0x42bc9c||{},_0x2ef85a=_0x12c83c[_0x3264b(0xae)](this,_0x4f8ab9,_0x3c3495,_0x42bc9c);if(!BaseLayer)return _possibleConstructorReturn(_0x2ef85a);return _0x2ef85a['canvasLayer']=_0x411af0,_0x2ef85a[_0x3264b(0xbb)](_0x42bc9c),_0x2ef85a[_0x3264b(0x11d)](_0x42bc9c),_0x2ef85a[_0x3264b(0xc7)](),_0x2ef85a;}return _createClass(_0xa5a21a,[{'key':_0x25e275(0xeb),'value':function _0x5c6ec0(_0x42824a){var _0x420380=_0x25e275,_0x2fe806=this[_0x420380(0xef)][_0x420380(0xfa)]([0x0,0x0]),_0xbf08df=this[_0x420380(0x109)]=this['canvasLayer'][_0x420380(0x109)]=window[_0x420380(0x109)],_0x1b857a=_0x42824a[_0x420380(0xb3)];_get(_getPrototypeOf(_0xa5a21a[_0x420380(0x97)]),'clickEvent',this)[_0x420380(0xae)](this,L$1[_0x420380(0x99)]((_0x1b857a['x']-_0x2fe806['x'])/_0xbf08df,(_0x1b857a['y']-_0x2fe806['y'])/_0xbf08df),_0x42824a);}},{'key':_0x25e275(0x10d),'value':function _0x4ae63a(_0xe549cb){var _0x4b85b3=_0x25e275,_0x31704b=_0xe549cb[_0x4b85b3(0xb3)];_get(_getPrototypeOf(_0xa5a21a[_0x4b85b3(0x97)]),_0x4b85b3(0x10d),this)[_0x4b85b3(0xae)](this,_0x31704b,_0xe549cb);}},{'key':_0x25e275(0xc7),'value':function _0x31c633(){var _0x5df530=_0x25e275,_0x16a32c=this[_0x5df530(0xef)];this['options'][_0x5df530(0xf5)]&&(this[_0x5df530(0xc6)]['methods'][_0x5df530(0xa9)]&&_0x16a32c['on'](_0x5df530(0xa9),this[_0x5df530(0xeb)],this),this[_0x5df530(0xc6)]['methods'][_0x5df530(0x11f)]&&_0x16a32c['on'](_0x5df530(0x11f),this[_0x5df530(0x10d)],this)),this['map']['on']('movestart',this['moveStartEvent'],this),this[_0x5df530(0xef)]['on'](_0x5df530(0xc1),this['moveEndEvent'],this),this[_0x5df530(0xef)]['on'](_0x5df530(0x134),this[_0x5df530(0xa2)],this);}},{'key':'destroy','value':function _0x56c444(){var _0x13984a=_0x25e275;this[_0x13984a(0x90)](),this[_0x13984a(0xfd)]();this[_0x13984a(0xf8)]&&(this[_0x13984a(0xf8)][_0x13984a(0xf2)](),this[_0x13984a(0xf8)]=null);this[_0x13984a(0xb7)]=null,this[_0x13984a(0xef)]=null;for(var _0x556cc6 in this){delete this[_0x556cc6];}}},{'key':_0x25e275(0x90),'value':function _0x194d36(){var _0x4f1b19=_0x25e275,_0x111f24=this[_0x4f1b19(0xef)];this[_0x4f1b19(0xc6)][_0x4f1b19(0xf5)]&&(this['options'][_0x4f1b19(0xf5)][_0x4f1b19(0xa9)]&&_0x111f24[_0x4f1b19(0xc3)](_0x4f1b19(0xa9),this[_0x4f1b19(0xeb)],this),this[_0x4f1b19(0xc6)][_0x4f1b19(0xf5)][_0x4f1b19(0x11f)]&&_0x111f24[_0x4f1b19(0xc3)](_0x4f1b19(0x11f),this['mousemoveEvent'],this)),this[_0x4f1b19(0xef)][_0x4f1b19(0xc3)](_0x4f1b19(0xd4),this['moveStartEvent'],this),this[_0x4f1b19(0xef)][_0x4f1b19(0xc3)]('moveend',this[_0x4f1b19(0x10f)],this),this['map'][_0x4f1b19(0xc3)](_0x4f1b19(0x134),this['zoomStartEvent'],this);}},{'key':_0x25e275(0xf0),'value':function _0x402e20(){var _0x3d5722=_0x25e275;return this[_0x3d5722(0xb7)][_0x3d5722(0x122)]()[_0x3d5722(0xf0)](this['context']);}},{'key':'addData','value':function _0x1f00a7(_0x558c28,_0x3f4edf){var _0x33c0d6=_0x25e275,_0xbd7370=_0x558c28;_0x558c28&&_0x558c28['get']&&(_0xbd7370=_0x558c28[_0x33c0d6(0xb2)]()),this['dataSet']['add'](_0xbd7370),this[_0x33c0d6(0xb8)]({'options':_0x3f4edf});}},{'key':_0x25e275(0xb8),'value':function _0x380f11(_0x46bcf1){var _0x264e75=_0x25e275,_0x250c92=_0x46bcf1||{},_0x409c14=_0x250c92[_0x264e75(0xb6)];_0x409c14&&_0x409c14[_0x264e75(0xb2)]&&(_0x409c14=_0x409c14[_0x264e75(0xb2)]()),_0x409c14!==undefined&&this[_0x264e75(0x12d)][_0x264e75(0x131)](_0x409c14),_get(_getPrototypeOf(_0xa5a21a[_0x264e75(0x97)]),'update',this)[_0x264e75(0xae)](this,{'options':_0x250c92[_0x264e75(0xc6)]});}},{'key':'getData','value':function _0x3e40f1(){return this['dataSet'];}},{'key':_0x25e275(0x115),'value':function _0x243c7a(_0x4c2f55){var _0x3ca765=_0x25e275;if(!this['dataSet'])return;var _0x3232ea=this[_0x3ca765(0x12d)]['get']({'filter':function _0x38efae(_0x2abf5c){return _0x4c2f55!=null&&typeof _0x4c2f55==='function'?!_0x4c2f55(_0x2abf5c):!![];}});this[_0x3ca765(0x12d)][_0x3ca765(0x131)](_0x3232ea),this['update']({'options':null});}},{'key':_0x25e275(0xfd),'value':function _0x3061cb(){var _0xdedcc7=_0x25e275;this[_0xdedcc7(0x12d)]&&this[_0xdedcc7(0x12d)][_0xdedcc7(0xe2)](),this[_0xdedcc7(0xb8)]({'options':null});}},{'key':_0x25e275(0x105),'value':function _0x46183a(_0x172767){var _0x4dfce8=_0x25e275;if(!this[_0x4dfce8(0xb7)])return;var _0x5c4d21=this;try{var _0x425592=_0x5c4d21[_0x4dfce8(0xc6)]['animation'],_0x2a3211=this[_0x4dfce8(0xf0)](),_0x53d570=this[_0x4dfce8(0xef)];if(_0x5c4d21['isEnabledTime']()){if(_0x172767===undefined){this[_0x4dfce8(0xe2)](_0x2a3211);return;}this['context']==='2d'&&(_0x2a3211[_0x4dfce8(0xfc)](),_0x2a3211['globalCompositeOperation']=_0x4dfce8(0x12e),_0x2a3211[_0x4dfce8(0xa3)]='rgba(0,\x200,\x200,\x20.1)',_0x2a3211[_0x4dfce8(0x12f)](0x0,0x0,_0x2a3211[_0x4dfce8(0xa4)][_0x4dfce8(0xb4)],_0x2a3211[_0x4dfce8(0xa4)][_0x4dfce8(0x107)]),_0x2a3211['restore']());}else this[_0x4dfce8(0xe2)](_0x2a3211);if(this[_0x4dfce8(0xf7)]==='2d')for(var _0x3e0daf in _0x5c4d21['options']){_0x2a3211[_0x3e0daf]=_0x5c4d21[_0x4dfce8(0xc6)][_0x3e0daf];}else _0x2a3211['clear'](_0x2a3211[_0x4dfce8(0xdb)]);if(_0x5c4d21['options'][_0x4dfce8(0xe4)]&&_0x53d570['getZoom']()<_0x5c4d21['options'][_0x4dfce8(0xe4)]||_0x5c4d21[_0x4dfce8(0xc6)][_0x4dfce8(0x8f)]&&_0x53d570['getZoom']()>_0x5c4d21[_0x4dfce8(0xc6)]['maxZoom'])return;var _0x19ad9c=_0x53d570[_0x4dfce8(0x118)](),_0xf882fd=_0x19ad9c[_0x4dfce8(0xe3)]()-_0x19ad9c[_0x4dfce8(0xb9)](),_0x52dfb9=_0x19ad9c[_0x4dfce8(0x94)]()-_0x19ad9c[_0x4dfce8(0xd0)](),_0x2c0cae=_0x53d570[_0x4dfce8(0x111)](),_0x4f4520=_0xf882fd/_0x2c0cae['x'],_0x42dfbb=_0x52dfb9/_0x2c0cae['y'],_0x1cafbd=this['canvasLayer'][_0x4dfce8(0x135)](),_0x231bf8=_0x53d570['latLngToAccurateContainerPoint'](_0x1cafbd),_0xa90988={'transferCoordinate':function _0x354eac(_0x4dfa3f){var _0x521d18=_0x4dfce8,_0x239d38;_0x5c4d21['context']==='2d'?_0x239d38=_0x53d570[_0x521d18(0x106)](L$1[_0x521d18(0xcf)](_0x4dfa3f[0x1],_0x4dfa3f[0x0])):_0x239d38={'x':(_0x4dfa3f[0x0]-_0x1cafbd['lng'])/_0x4f4520,'y':(_0x1cafbd[_0x521d18(0x108)]-_0x4dfa3f[0x1])/_0x42dfbb};var _0x1ea504={'x':_0x239d38['x']-_0x231bf8['x'],'y':_0x239d38['y']-_0x231bf8['x']};return[_0x1ea504['x'],_0x1ea504['y']];}};_0x172767!==undefined&&(_0xa90988[_0x4dfce8(0xfb)]=function(_0x30893e){var _0x1c1e86=_0x4dfce8,_0x1e5510=_0x425592[_0x1c1e86(0x102)]||0xa;return _0x172767&&_0x30893e[_0x1c1e86(0xb0)]>_0x172767-_0x1e5510&&_0x30893e['time']<_0x172767;});var _0x14fe2a=_0x5c4d21['dataSet'][_0x4dfce8(0xb2)](_0xa90988);this[_0x4dfce8(0xce)](_0x14fe2a),_0x5c4d21[_0x4dfce8(0xc6)][_0x4dfce8(0x132)]=_0x5c4d21[_0x4dfce8(0xc6)][_0x4dfce8(0xe5)];var _0x2f8a06=_0x53d570[_0x4dfce8(0xea)](L$1['latLng'](0x0,0x0)),_0x51f5cf={'x':_0x2f8a06['x']-_0x231bf8['x'],'y':_0x2f8a06['y']-_0x231bf8['y']};_0x14fe2a&&_0x14fe2a[_0x4dfce8(0xd1)]>0x0&&this[_0x4dfce8(0x11a)](_0x2a3211,_0x14fe2a,_0x5c4d21['options'],_0x51f5cf),_0x5c4d21[_0x4dfce8(0xc6)][_0x4dfce8(0x103)]&&_0x5c4d21[_0x4dfce8(0xc6)][_0x4dfce8(0x103)](_0x172767);}catch(_0x327a89){console[_0x4dfce8(0xde)]('mapv渲染异常',_0x327a89);}}},{'key':_0x25e275(0xbb),'value':function _0x3a5219(_0x4cf84d){var _0x318c31=_0x25e275,_0x1c606f=this;_0x1c606f[_0x318c31(0xc6)]=_0x4cf84d,this[_0x318c31(0xab)](_0x4cf84d),this['context']=_0x1c606f['options'][_0x318c31(0xf7)]||'2d',_0x1c606f[_0x318c31(0xc6)]['zIndex']&&(this[_0x318c31(0xb7)]&&this[_0x318c31(0xb7)][_0x318c31(0xf1)](_0x1c606f[_0x318c31(0xc6)]['zIndex'])),this['initAnimator']();}},{'key':_0x25e275(0xc9),'value':function _0x112e1f(){}},{'key':_0x25e275(0xd9),'value':function _0x406bb1(){var _0x29259a=_0x25e275,_0x528256=this[_0x29259a(0xc6)]['animation'];this[_0x29259a(0x130)]()&&this[_0x29259a(0xf8)]&&(this['steps'][_0x29259a(0x114)]=_0x528256[_0x29259a(0x9a)][_0x29259a(0x116)],this[_0x29259a(0xe8)]());}},{'key':_0x25e275(0x10f),'value':function _0xed70c1(){var _0x476966=_0x25e275;this[_0x476966(0xb7)]['draw'](),this[_0x476966(0x11e)]();}},{'key':_0x25e275(0xa2),'value':function _0xaf2d78(){this['_hide']();}},{'key':_0x25e275(0xe2),'value':function _0x5765ca(_0x23c410){var _0x383ff5=_0x25e275;_0x23c410&&_0x23c410['clearRect']&&_0x23c410[_0x383ff5(0xa7)](0x0,0x0,_0x23c410[_0x383ff5(0xa4)]['width'],_0x23c410[_0x383ff5(0xa4)][_0x383ff5(0x107)]);}},{'key':_0x25e275(0xe8),'value':function _0x9ae915(){var _0x92e253=_0x25e275;this[_0x92e253(0xb7)][_0x92e253(0xa4)][_0x92e253(0xb5)][_0x92e253(0x104)]='none';}},{'key':_0x25e275(0x11e),'value':function _0x4b0b17(){var _0x4aff55=_0x25e275;this['canvasLayer']['canvas'][_0x4aff55(0xb5)][_0x4aff55(0x104)]=_0x4aff55(0xec);}},{'key':_0x25e275(0x129),'value':function _0x2258f5(){var _0x3ada66=_0x25e275;this['canvasLayer'][_0x3ada66(0x129)]();}}]),_0xa5a21a;}(BaseLayer),L=mars2d__namespace['L'],MapVLayer=function(_0x393cb5){var _0x5aaafd=_0x266546;_inherits(_0x2321d2,_0x393cb5);var _0x13246b=_createSuper(_0x2321d2);function _0x2321d2(){var _0x1216c0=_0x36a9;return _classCallCheck(this,_0x2321d2),_0x13246b[_0x1216c0(0xd7)](this,arguments);}return _createClass(_0x2321d2,[{'key':'initialize','value':function _0x4d51a8(){var _0x4cdc42=_0x36a9,_0x11bd4d=arguments['length']>0x0&&arguments[0x0]!==undefined?arguments[0x0]:{},_0x5278c8=arguments['length']>0x1?arguments[0x1]:undefined;this[_0x4cdc42(0xc6)]=_0x11bd4d,this['dataSet']=_0x5278c8||new mapv__namespace[(_0x4cdc42(0x9b))](_0x11bd4d[_0x4cdc42(0xb6)]),L[_0x4cdc42(0xc8)][_0x4cdc42(0x110)](this),this[_0x4cdc42(0xc6)]['id']=mars2d__namespace[_0x4cdc42(0xc8)]['defaultValue'](this[_0x4cdc42(0xc6)]['id'],this['uuid']),this['options']['pid']=mars2d__namespace[_0x4cdc42(0xc8)][_0x4cdc42(0x10c)](this[_0x4cdc42(0xc6)][_0x4cdc42(0x8d)],-0x1),this['options'][_0x4cdc42(0x9f)]=mars2d__namespace[_0x4cdc42(0xc8)][_0x4cdc42(0x10c)](this[_0x4cdc42(0xc6)]['name'],'');}},{'key':_0x5aaafd(0xf9),'get':function _0x5be24d(){var _0x537de4=_0x5aaafd;return this[_0x537de4(0xcb)];}},{'key':_0x5aaafd(0xcc),'get':function _0x410d99(){var _0x19a814=_0x5aaafd;return this['_map']&&this[_0x19a814(0xd5)][_0x19a814(0x121)](this);}},{'key':_0x5aaafd(0x8d),'get':function _0x5c57d8(){var _0x2b5bbd=_0x5aaafd;return this[_0x2b5bbd(0xc6)][_0x2b5bbd(0x8d)];},'set':function _0x150c7c(_0x4d9bcd){var _0x248f24=_0x5aaafd;this[_0x248f24(0xc6)][_0x248f24(0x8d)]=_0x4d9bcd;}},{'key':'id','get':function _0x58719c(){return this['options']['id'];},'set':function _0x186aaf(_0x3e94b8){var _0x1f5d28=_0x5aaafd;this[_0x1f5d28(0xc6)]['id']=_0x3e94b8;}},{'key':_0x5aaafd(0x9f),'get':function _0x288507(){var _0x43ee84=_0x5aaafd;return this[_0x43ee84(0xc6)]['name'];},'set':function _0x564e5b(_0x3f7d88){var _0x12c85e=_0x5aaafd;this[_0x12c85e(0xc6)]['name']=_0x3f7d88;}},{'key':_0x5aaafd(0xdd),'value':function _0x4f0679(_0xd75bea){var _0x516b4d=_0x5aaafd;this[_0x516b4d(0xd5)]=_0xd75bea;var _0x18f974=_0xd75bea[_0x516b4d(0xcd)](this[_0x516b4d(0xc6)]['pane']||'overlayPane'),_0x572710=L[_0x516b4d(0x91)]['create']('div',_0x516b4d(0xc2),_0x18f974);_0x572710[_0x516b4d(0xb5)][_0x516b4d(0x123)]=_0x516b4d(0xac),_0x572710[_0x516b4d(0xb5)]['top']=_0x516b4d(0x133),_0x572710[_0x516b4d(0xb5)][_0x516b4d(0x98)]='0px',_0x572710[_0x516b4d(0xb5)][_0x516b4d(0x12a)]=this['options'][_0x516b4d(0x12a)]||0x63,this[_0x516b4d(0xa4)]=this['_createCanvas'](),_0x572710[_0x516b4d(0xa5)](this[_0x516b4d(0xa4)]);var _0x59caf5=_0xd75bea['getSize']();_0x572710[_0x516b4d(0xb5)][_0x516b4d(0xb4)]=_0x59caf5['x']+'px',_0x572710[_0x516b4d(0xb5)][_0x516b4d(0x107)]=_0x59caf5['y']+'px',this[_0x516b4d(0xbf)]=_0x572710,this[_0x516b4d(0xa6)]=new MapVRenderer(_0xd75bea,this,this[_0x516b4d(0x12d)],this[_0x516b4d(0xc6)]),this[_0x516b4d(0x129)](),this[_0x516b4d(0xca)](_0x516b4d(0x112));}},{'key':'onRemove','value':function _0x3a1a3d(_0x304da0){var _0x9a3dd1=_0x5aaafd;this[_0x9a3dd1(0xa6)]['destroy'](),delete this[_0x9a3dd1(0xa6)],L['DomUtil']['remove'](this[_0x9a3dd1(0xbf)]),delete this[_0x9a3dd1(0xbf)],delete this['canvas'],_0x304da0['off']({'moveend':this[_0x9a3dd1(0x129)],'zoomstart':this[_0x9a3dd1(0xe8)],'zoomend':this[_0x9a3dd1(0x11e)]},this);}},{'key':_0x5aaafd(0x124),'value':function _0x52f060(_0x2b4acf){var _0x2fee9b=_0x5aaafd;this['_mapVRenderer']&&this[_0x2fee9b(0xa6)]['addData'](_0x2b4acf,this[_0x2fee9b(0xc6)]);}},{'key':_0x5aaafd(0xe0),'value':function _0xe0dd1(_0x4040c5){var _0x2bfe83=_0x5aaafd;this[_0x2bfe83(0xa6)]&&this['_mapVRenderer'][_0x2bfe83(0xe0)](_0x4040c5,this[_0x2bfe83(0xc6)]);}},{'key':'getData','value':function _0x48635a(){var _0x3b0229=_0x5aaafd;return this[_0x3b0229(0xa6)]&&(this['dataSet']=this[_0x3b0229(0xa6)][_0x3b0229(0xf3)]()),this[_0x3b0229(0x12d)];}},{'key':'removeData','value':function _0x4a8ecf(_0x3bb849){var _0x309e46=_0x5aaafd;this[_0x309e46(0xa6)]&&this[_0x309e46(0xa6)]['removeData'](_0x3bb849);}},{'key':_0x5aaafd(0x100),'value':function _0x3a4b21(){var _0x319244=_0x5aaafd;this[_0x319244(0xa6)]&&this[_0x319244(0xa6)][_0x319244(0xfd)]();}},{'key':'draw','value':function _0x3a1479(){this['_reset']();}},{'key':_0x5aaafd(0xf1),'value':function _0x150e01(_0x555a08){var _0x3ae9a4=_0x5aaafd;this[_0x3ae9a4(0xc6)]['zIndex']=_0x555a08,this[_0x3ae9a4(0xbf)]&&(this[_0x3ae9a4(0xbf)][_0x3ae9a4(0xb5)][_0x3ae9a4(0x12a)]=_0x555a08);}},{'key':_0x5aaafd(0x95),'value':function _0x1f0ab0(){var _0x3aa746=_0x5aaafd;this[_0x3aa746(0xa6)]['_canvasUpdate']();}},{'key':_0x5aaafd(0x122),'value':function _0x41b573(){return this['canvas'];}},{'key':_0x5aaafd(0xdf),'value':function _0x21a58a(){var _0x4039d0=_0x5aaafd;return this[_0x4039d0(0xbf)];}},{'key':_0x5aaafd(0x135),'value':function _0x5c79b0(){var _0x5a16fc=_0x5aaafd,_0x4df12b=this[_0x5a16fc(0xd5)],_0x221ad3;if(_0x4df12b){var _0x573622=_0x4df12b['getBounds']();_0x221ad3=_0x573622[_0x5a16fc(0x8e)]();}return _0x221ad3;}},{'key':'_createCanvas','value':function _0x358d88(){var _0x11b73a=_0x5aaafd,_0x89cd43=document[_0x11b73a(0xd8)](_0x11b73a(0xa4));_0x89cd43[_0x11b73a(0xb5)]['position']=_0x11b73a(0xac),_0x89cd43[_0x11b73a(0xb5)][_0x11b73a(0x92)]=0x0+'px',_0x89cd43[_0x11b73a(0xb5)][_0x11b73a(0x98)]=0x0+'px',_0x89cd43[_0x11b73a(0xb5)][_0x11b73a(0xd3)]=_0x11b73a(0xda),_0x89cd43[_0x11b73a(0xb5)][_0x11b73a(0x12a)]=this[_0x11b73a(0xc6)][_0x11b73a(0x12a)]||0x258;var _0x5c34e6=typeof window===_0x11b73a(0xaa)?{}:window,_0x45c2f2=this[_0x11b73a(0x109)]=_0x5c34e6[_0x11b73a(0x109)];return this[_0x11b73a(0xc6)][_0x11b73a(0xf7)]==='2d'&&_0x89cd43[_0x11b73a(0xf0)]('2d')[_0x11b73a(0xee)](_0x45c2f2,_0x45c2f2),_0x89cd43;}},{'key':'_resize','value':function _0x2fe78b(){var _0x2f9d92=_0x5aaafd,_0x57ac9e=this['canvas'];if(!_0x57ac9e)return;var _0x21d66=this[_0x2f9d92(0xd5)],_0x31f96e=_0x21d66[_0x2f9d92(0x111)]();_0x57ac9e[_0x2f9d92(0xb4)]=_0x31f96e['x'],_0x57ac9e[_0x2f9d92(0x107)]=_0x31f96e['y'],_0x57ac9e['style']['width']=_0x31f96e['x']+'px',_0x57ac9e['style'][_0x2f9d92(0x107)]=_0x31f96e['y']+'px';var _0x8866f4=_0x21d66[_0x2f9d92(0x118)](),_0x5b1c4c=_0x21d66[_0x2f9d92(0xd6)](_0x8866f4[_0x2f9d92(0x8e)]());L[_0x2f9d92(0x91)][_0x2f9d92(0xc4)](_0x57ac9e,_0x5b1c4c);}},{'key':'_reset','value':function _0x30c83a(){var _0x419b7f=_0x5aaafd;this[_0x419b7f(0xba)](),this[_0x419b7f(0xe7)]();}},{'key':_0x5aaafd(0x126),'value':function _0x2a7f8f(){var _0x18a2d5=_0x5aaafd;this[_0x18a2d5(0xba)](),this[_0x18a2d5(0xe7)]();}},{'key':_0x5aaafd(0xe7),'value':function _0x33d424(){var _0x4f38bf=_0x5aaafd;this[_0x4f38bf(0x95)]();}}]),_0x2321d2;}(L['Layer']);mars2d__namespace[_0x266546(0xbe)]['MapVLayer']=MapVLayer,mars2d__namespace[_0x266546(0x93)][_0x266546(0xf6)](_0x266546(0x120),MapVLayer),exports[_0x266546(0x8c)]=MapVLayer,Object[_0x266546(0x12b)](mapv)[_0x266546(0xdc)](function(_0x5236bd){var _0x11a595=_0x266546;if(_0x5236bd!==_0x11a595(0x96)&&!exports[_0x11a595(0x9e)](_0x5236bd))Object[_0x11a595(0x113)](exports,_0x5236bd,{'enumerable':!![],'get':function(){return mapv[_0x5236bd];}});}),Object[_0x266546(0x113)](exports,_0x266546(0xc0),{'value':!![]}); | ||
})); |
{ | ||
"name": "mars2d-mapv", | ||
"version": "3.0.13", | ||
"version": "3.0.14", | ||
"description": "Mars2D平台插件,结合mapv可视化功能插件", | ||
@@ -13,3 +13,3 @@ "main": "dist/mars2d-mapv.js", | ||
"devDependencies": { | ||
"mars2d": "^3.0.13" | ||
"mars2d": "^3.0.14" | ||
}, | ||
@@ -16,0 +16,0 @@ "scripts": { |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
28525
111
1