mars3d-heatmap
Advanced tools
Comparing version 3.2.4 to 3.3.0
@@ -1,27 +0,14 @@ | ||
/*! | ||
* Mars3D平台插件,结合heatmap可视化功能插件 | ||
* 版本信息:v3.2.4 | ||
* 编译日期:2022-03-03 12:24:49 | ||
/** | ||
* Mars3D三维可视化平台 mars3d-sdk | ||
* | ||
* 版本信息:v3.3.0 | ||
* 编译日期:2022-03-18 17:26:50 | ||
* 版权所有:Copyright by 火星科技 http://mars3d.cn | ||
* 使用单位:免费公开版 ,2022-02-01 | ||
*/ | ||
(function webpackUniversalModuleDefinition(window) { | ||
let mars3d = window.mars3d //通过index.html的head引入 | ||
if (!mars3d && typeof exports === 'object') { | ||
mars3d = require("mars3d") | ||
window['mars3d'] = mars3d | ||
} | ||
if (!mars3d) { | ||
console.error('请引入mars3d库,可参考教程:http://mars3d.cn/dev/guide/basics/import.html') | ||
} | ||
let heatmap = window.h337 //通过index.html的head引入 | ||
if (!heatmap && typeof exports === 'object') { | ||
heatmap = require("@mars3d/heatmap.js") | ||
window['h337'] = heatmap | ||
} | ||
function a0_0x44c7(){var _0x36fc04=['defineProperty','construct','addLayer','abs','canvas','PolyUtil','ymin','LayerUtil','heatStyle','image/png','parse','_last_mBounds','defaultValue','23637YiqolI','style','minCanvasSize','exports','lng','green','PointTrans','ALWAYS','function','getOwnPropertyDescriptors','\x0a\x20\x20\x20\x20\x20\x20\x20\x20margin:0;\x0a\x20\x20\x20\x20\x20\x20\x20\x20width:','px;','forEach','toArray','mercator2lonlat','getRectangle','_mBoundsMax','148tsBJQy','ymax','_rectangle','125ozYlLw','Cesium','show','granularity','removeChild','valueOf','StencilOperation','rgb(255,255,255)','_renderer','min','max','body','xmin','REPLACE','defineProperties','merge','407562hNiZgY','isFormat','80kZmQAh','fromDegrees','lonlat2mercator','maxCanvasSize','RenderState','container','5953010nlIXLE','height','removeGraphic','round','length','LngLatPoint','constructor','Super\x20expression\x20must\x20either\x20be\x20null\x20or\x20a\x20function','floor','clientWidth','graphic','flyTo','default','350664HuzOgD','DomUtil','blue','create','red','__esModule','configurable','clientHeight','enumerable','_heat','setPrototypeOf','arc','formatRectangle','Util','writable','iterator','_graphic','lat','keys','bind','getOwnPropertyDescriptor','px;\x0a\x20\x20\x20\x20\x20\x20\x20\x20height:','KEEP','__proto__','BaseLayer','yellow','coordinates','StencilFunction','mars3d','attribute\x20vec3\x20position3DHigh;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20attribute\x20vec3\x20position3DLow;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20attribute\x20vec2\x20st;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20attribute\x20float\x20batchId;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20uniform\x20sampler2D\x20bumpMap_3;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20varying\x20vec3\x20v_positionMC;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20varying\x20vec3\x20v_positionEC;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20varying\x20vec2\x20v_st;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20void\x20main()\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20vec4\x20p\x20=\x20czm_computePosition();\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20v_positionMC\x20=\x20position3DHigh\x20+\x20position3DLow;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20v_positionEC\x20=\x20(czm_modelViewRelativeToEye\x20*\x20p).xyz;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20v_st\x20=\x20st;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20vec4\x20color\x20=\x20texture2D(bumpMap_3,\x20v_st);\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20float\x20centerBump\x20=\x20distance(vec3(0.0),color.rgb);\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20vec3\x20upDir\x20=\x20normalize(v_positionMC.xyz);\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20vec3\x20disPos\x20=\x20upDir\x20*\x20centerBump\x20*\x20','_positions','VERTEX_FORMAT','layer','positions','configure','Cannot\x20call\x20a\x20class\x20as\x20a\x20function','value','h337','prototype','addGraphic','this\x20hasn\x27t\x20been\x20initialised\x20-\x20super()\x20hasn\x27t\x20been\x20called','getPrototypeOf','undefined','xmax','key','div','_createArcGraphic','BlendingState','push','8584741CwChpM','EllipsoidSurfaceAppearance','rgb(216,216,216)','_layer','getOwnPropertySymbols','toDataURL','filter','13745916JDiKMD','_map','addPosition','mars3d-heatmap','width','rectangle','Cartesian2','Color','options','concat','call','24feLpOF',';\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20p\x20+=vec4(disPos,0.0);\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20gl_Position\x20=\x20czm_modelViewProjectionRelativeToEye\x20*\x20p;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20','symbol','RectanglePrimitive','radius','apply','rgb(140,140,140)','_mars3d_private','_createGraphic','3815000IhEUSR','toStringTag','ALPHA_BLEND','arcBlurScale','clear','Material','HeatLayer'];a0_0x44c7=function(){return _0x36fc04;};return a0_0x44c7();}function a0_0x3d74(_0x2cc7c9,_0x145136){var _0x44c7a4=a0_0x44c7();return a0_0x3d74=function(_0x3d743,_0x4673ef){_0x3d743=_0x3d743-0x175;var _0x1f046e=_0x44c7a4[_0x3d743];return _0x1f046e;},a0_0x3d74(_0x2cc7c9,_0x145136);}(function(_0x892d6,_0x1c9719){var _0x437f54=a0_0x3d74,_0x41123c=_0x892d6();while(!![]){try{var _0x4cb8c1=parseInt(_0x437f54(0x1f9))/0x1*(-parseInt(_0x437f54(0x20a))/0x2)+-parseInt(_0x437f54(0x199))/0x3*(parseInt(_0x437f54(0x1dc))/0x4)+-parseInt(_0x437f54(0x20d))/0x5*(parseInt(_0x437f54(0x184))/0x6)+parseInt(_0x437f54(0x18c))/0x7+-parseInt(_0x437f54(0x1e5))/0x8+-parseInt(_0x437f54(0x1d1))/0x9+-parseInt(_0x437f54(0x186))/0xa*(-parseInt(_0x437f54(0x1ca))/0xb);if(_0x4cb8c1===_0x1c9719)break;else _0x41123c['push'](_0x41123c['shift']());}catch(_0x462e6b){_0x41123c['push'](_0x41123c['shift']());}}}(a0_0x44c7,0xe5bee),window['mars3dHeatmap']=function(_0x288ce2){var _0x500d00={};function _0x3ad875(_0x1a1315){var _0x1a5b8a=a0_0x3d74;if(_0x500d00[_0x1a1315])return _0x500d00[_0x1a1315][_0x1a5b8a(0x1fc)];var _0xed39b0=_0x500d00[_0x1a1315]={'i':_0x1a1315,'l':!0x1,'exports':{}};return _0x288ce2[_0x1a1315][_0x1a5b8a(0x1db)](_0xed39b0[_0x1a5b8a(0x1fc)],_0xed39b0,_0xed39b0[_0x1a5b8a(0x1fc)],_0x3ad875),_0xed39b0['l']=!0x0,_0xed39b0[_0x1a5b8a(0x1fc)];}return _0x3ad875['m']=_0x288ce2,_0x3ad875['c']=_0x500d00,_0x3ad875['d']=function(_0x49c18d,_0x102313,_0x5ac770){var _0x34e31d=a0_0x3d74;_0x3ad875['o'](_0x49c18d,_0x102313)||Object[_0x34e31d(0x1ec)](_0x49c18d,_0x102313,{'enumerable':!0x0,'get':_0x5ac770});},_0x3ad875['r']=function(_0x30b5f6){var _0x27979f=a0_0x3d74;_0x27979f(0x1c3)!=typeof Symbol&&Symbol[_0x27979f(0x1e6)]&&Object[_0x27979f(0x1ec)](_0x30b5f6,Symbol[_0x27979f(0x1e6)],{'value':'Module'}),Object[_0x27979f(0x1ec)](_0x30b5f6,_0x27979f(0x19e),{'value':!0x0});},_0x3ad875['t']=function(_0xc3388e,_0x3374e9){var _0x29e1c2=a0_0x3d74;if(0x1&_0x3374e9&&(_0xc3388e=_0x3ad875(_0xc3388e)),0x8&_0x3374e9)return _0xc3388e;if(0x4&_0x3374e9&&'object'==typeof _0xc3388e&&_0xc3388e&&_0xc3388e[_0x29e1c2(0x19e)])return _0xc3388e;var _0x5c0b33=Object[_0x29e1c2(0x19c)](null);if(_0x3ad875['r'](_0x5c0b33),Object[_0x29e1c2(0x1ec)](_0x5c0b33,_0x29e1c2(0x198),{'enumerable':!0x0,'value':_0xc3388e}),0x2&_0x3374e9&&'string'!=typeof _0xc3388e){for(var _0x2af592 in _0xc3388e)_0x3ad875['d'](_0x5c0b33,_0x2af592,function(_0x440720){return _0xc3388e[_0x440720];}[_0x29e1c2(0x1ac)](null,_0x2af592));}return _0x5c0b33;},_0x3ad875['n']=function(_0x92b40e){var _0x897c0b=_0x92b40e&&_0x92b40e['__esModule']?function(){var _0x3d822b=a0_0x3d74;return _0x92b40e[_0x3d822b(0x198)];}:function(){return _0x92b40e;};return _0x3ad875['d'](_0x897c0b,'a',_0x897c0b),_0x897c0b;},_0x3ad875['o']=function(_0x31d71c,_0x35f014){return Object['prototype']['hasOwnProperty']['call'](_0x31d71c,_0x35f014);},_0x3ad875['p']='',_0x3ad875(_0x3ad875['s']=0xc);}([function(_0x2216e4,_0x3b2be2){var _0x2c8d85=a0_0x3d74;_0x2216e4[_0x2c8d85(0x1fc)]=window[_0x2c8d85(0x1b5)];},function(_0x3a15bb,_0x253916){var _0x52ae3f=a0_0x3d74;function _0x4b0ec1(_0x353e05){var _0x301253=a0_0x3d74;return _0x3a15bb[_0x301253(0x1fc)]=_0x4b0ec1=Object[_0x301253(0x1a3)]?Object[_0x301253(0x1c2)]:function(_0x5a8a8a){var _0x2ff2b3=_0x301253;return _0x5a8a8a[_0x2ff2b3(0x1b0)]||Object[_0x2ff2b3(0x1c2)](_0x5a8a8a);},_0x3a15bb[_0x301253(0x1fc)][_0x301253(0x19e)]=!0x0,_0x3a15bb['exports'][_0x301253(0x198)]=_0x3a15bb['exports'],_0x4b0ec1(_0x353e05);}_0x3a15bb[_0x52ae3f(0x1fc)]=_0x4b0ec1,_0x3a15bb['exports']['__esModule']=!0x0,_0x3a15bb[_0x52ae3f(0x1fc)][_0x52ae3f(0x198)]=_0x3a15bb[_0x52ae3f(0x1fc)];},function(_0x1a1d3f,_0x5851d3){var _0x23ecb7=a0_0x3d74;_0x1a1d3f[_0x23ecb7(0x1fc)]='uniform\x20sampler2D\x20image;\x0aczm_material\x20czm_getMaterial(czm_materialInput\x20materialInput){\x0a\x20\x20czm_material\x20material\x20=\x20czm_getDefaultMaterial(materialInput);\x0a\x20\x20vec2\x20st\x20=\x20materialInput.st;\x0a\x20\x20vec4\x20colorImage\x20=\x20texture2D(image,st);\x0a\x20\x20if(colorImage.rgb\x20==\x20vec3(1.0)\x20||\x20colorImage.rgb\x20==\x20vec3(0.0)){\x0a\x20\x20\x20\x20discard;\x0a\x20\x20}\x0a\x20\x20material.diffuse\x20=\x20colorImage.rgb;\x0a\x20\x20material.alpha\x20=\x20colorImage.a;\x0a\x20\x20return\x20material;\x0a}\x0a';},function(_0x12647f,_0x3d2f13){var _0x3170ce=a0_0x3d74;_0x12647f[_0x3170ce(0x1fc)]=function(_0x496b70,_0x4e9a8c,_0x3bd357){return _0x4e9a8c in _0x496b70?Object['defineProperty'](_0x496b70,_0x4e9a8c,{'value':_0x3bd357,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x496b70[_0x4e9a8c]=_0x3bd357,_0x496b70;},_0x12647f[_0x3170ce(0x1fc)][_0x3170ce(0x19e)]=!0x0,_0x12647f[_0x3170ce(0x1fc)][_0x3170ce(0x198)]=_0x12647f[_0x3170ce(0x1fc)];},function(_0x16d9da,_0x159748){var _0x5b7cf8=a0_0x3d74;_0x16d9da[_0x5b7cf8(0x1fc)]=function(_0x1b3035,_0x45745f){var _0x284547=_0x5b7cf8;if(!(_0x1b3035 instanceof _0x45745f))throw new TypeError(_0x284547(0x1bc));},_0x16d9da[_0x5b7cf8(0x1fc)][_0x5b7cf8(0x19e)]=!0x0,_0x16d9da['exports']['default']=_0x16d9da[_0x5b7cf8(0x1fc)];},function(_0x40e1e7,_0x237bbf){var _0x4cbe9e=a0_0x3d74;function _0x2e562f(_0x445908,_0x1b07e3){var _0x2cfe6f=a0_0x3d74;for(var _0xaf52fa=0x0;_0xaf52fa<_0x1b07e3[_0x2cfe6f(0x190)];_0xaf52fa++){var _0x3d14c6=_0x1b07e3[_0xaf52fa];_0x3d14c6['enumerable']=_0x3d14c6[_0x2cfe6f(0x1a1)]||!0x1,_0x3d14c6[_0x2cfe6f(0x19f)]=!0x0,'value'in _0x3d14c6&&(_0x3d14c6[_0x2cfe6f(0x1a7)]=!0x0),Object['defineProperty'](_0x445908,_0x3d14c6[_0x2cfe6f(0x1c5)],_0x3d14c6);}}_0x40e1e7[_0x4cbe9e(0x1fc)]=function(_0x36e4a8,_0x4afcc9,_0x420543){var _0x4398e4=_0x4cbe9e;return _0x4afcc9&&_0x2e562f(_0x36e4a8[_0x4398e4(0x1bf)],_0x4afcc9),_0x420543&&_0x2e562f(_0x36e4a8,_0x420543),Object[_0x4398e4(0x1ec)](_0x36e4a8,'prototype',{'writable':!0x1}),_0x36e4a8;},_0x40e1e7[_0x4cbe9e(0x1fc)][_0x4cbe9e(0x19e)]=!0x0,_0x40e1e7[_0x4cbe9e(0x1fc)][_0x4cbe9e(0x198)]=_0x40e1e7['exports'];},function(_0x405f64,_0x43de95,_0x4bff35){var _0x229d02=a0_0x3d74,_0x54dba0=_0x4bff35(0x8);_0x405f64[_0x229d02(0x1fc)]=function(_0x3ca1f8,_0x5e860b){var _0x471d93=_0x229d02;if(_0x471d93(0x201)!=typeof _0x5e860b&&null!==_0x5e860b)throw new TypeError(_0x471d93(0x193));Object[_0x471d93(0x1ec)](_0x3ca1f8,_0x471d93(0x1bf),{'value':Object[_0x471d93(0x19c)](_0x5e860b&&_0x5e860b[_0x471d93(0x1bf)],{'constructor':{'value':_0x3ca1f8,'writable':!0x0,'configurable':!0x0}}),'writable':!0x1}),_0x5e860b&&_0x54dba0(_0x3ca1f8,_0x5e860b);},_0x405f64[_0x229d02(0x1fc)][_0x229d02(0x19e)]=!0x0,_0x405f64[_0x229d02(0x1fc)]['default']=_0x405f64['exports'];},function(_0xa58dec,_0x58e35e,_0x1adf68){var _0x4a35ad=a0_0x3d74,_0x44a6b5=_0x1adf68(0x9)[_0x4a35ad(0x198)],_0x348b57=_0x1adf68(0xa);_0xa58dec[_0x4a35ad(0x1fc)]=function(_0x1a4806,_0x4b1691){var _0x386c82=_0x4a35ad;if(_0x4b1691&&('object'===_0x44a6b5(_0x4b1691)||_0x386c82(0x201)==typeof _0x4b1691))return _0x4b1691;if(void 0x0!==_0x4b1691)throw new TypeError('Derived\x20constructors\x20may\x20only\x20return\x20object\x20or\x20undefined');return _0x348b57(_0x1a4806);},_0xa58dec[_0x4a35ad(0x1fc)]['__esModule']=!0x0,_0xa58dec['exports'][_0x4a35ad(0x198)]=_0xa58dec[_0x4a35ad(0x1fc)];},function(_0x5eec0a,_0x1c3f53){var _0x20a3c4=a0_0x3d74;function _0x2e4aac(_0x59d34c,_0x308676){var _0x5cbdd3=a0_0x3d74;return _0x5eec0a[_0x5cbdd3(0x1fc)]=_0x2e4aac=Object[_0x5cbdd3(0x1a3)]||function(_0x397eb0,_0x14073b){var _0x263001=_0x5cbdd3;return _0x397eb0[_0x263001(0x1b0)]=_0x14073b,_0x397eb0;},_0x5eec0a[_0x5cbdd3(0x1fc)][_0x5cbdd3(0x19e)]=!0x0,_0x5eec0a['exports'][_0x5cbdd3(0x198)]=_0x5eec0a[_0x5cbdd3(0x1fc)],_0x2e4aac(_0x59d34c,_0x308676);}_0x5eec0a['exports']=_0x2e4aac,_0x5eec0a[_0x20a3c4(0x1fc)]['__esModule']=!0x0,_0x5eec0a[_0x20a3c4(0x1fc)][_0x20a3c4(0x198)]=_0x5eec0a[_0x20a3c4(0x1fc)];},function(_0x1ebc87,_0x13bfc0){var _0x1b33e8=a0_0x3d74;function _0xb35f8c(_0x32a941){var _0x1219d3=a0_0x3d74;return _0x1ebc87[_0x1219d3(0x1fc)]=_0xb35f8c='function'==typeof Symbol&&'symbol'==typeof Symbol[_0x1219d3(0x1a8)]?function(_0x3a6ff3){return typeof _0x3a6ff3;}:function(_0x508192){var _0xd46ed3=_0x1219d3;return _0x508192&&_0xd46ed3(0x201)==typeof Symbol&&_0x508192[_0xd46ed3(0x192)]===Symbol&&_0x508192!==Symbol[_0xd46ed3(0x1bf)]?_0xd46ed3(0x1de):typeof _0x508192;},_0x1ebc87[_0x1219d3(0x1fc)]['__esModule']=!0x0,_0x1ebc87['exports'][_0x1219d3(0x198)]=_0x1ebc87['exports'],_0xb35f8c(_0x32a941);}_0x1ebc87[_0x1b33e8(0x1fc)]=_0xb35f8c,_0x1ebc87[_0x1b33e8(0x1fc)][_0x1b33e8(0x19e)]=!0x0,_0x1ebc87['exports'][_0x1b33e8(0x198)]=_0x1ebc87[_0x1b33e8(0x1fc)];},function(_0x4085d0,_0x5564f6){var _0x186b84=a0_0x3d74;_0x4085d0['exports']=function(_0x2af598){var _0xf48382=a0_0x3d74;if(void 0x0===_0x2af598)throw new ReferenceError(_0xf48382(0x1c1));return _0x2af598;},_0x4085d0[_0x186b84(0x1fc)][_0x186b84(0x19e)]=!0x0,_0x4085d0['exports'][_0x186b84(0x198)]=_0x4085d0[_0x186b84(0x1fc)];},function(_0x9d999d,_0xd78289){var _0x540000=a0_0x3d74;_0x9d999d[_0x540000(0x1fc)]=window[_0x540000(0x1be)];},function(_0x55f4d1,_0x26a05d,_0x24ca77){'use strict';var _0x5bc04a=a0_0x3d74;_0x24ca77['r'](_0x26a05d),_0x24ca77['d'](_0x26a05d,_0x5bc04a(0x1eb),function(){return _0x333e0;});var _0x434ab3=_0x24ca77(0x3),_0x83301a=_0x24ca77['n'](_0x434ab3),_0x5366a4=_0x24ca77(0x4),_0x4dc3ff=_0x24ca77['n'](_0x5366a4),_0x1e371b=_0x24ca77(0x5),_0x5752c2=_0x24ca77['n'](_0x1e371b),_0x56160a=_0x24ca77(0x6),_0x2b80e6=_0x24ca77['n'](_0x56160a),_0x66a1eb=_0x24ca77(0x7),_0x5819b3=_0x24ca77['n'](_0x66a1eb),_0x4f328e=_0x24ca77(0x1),_0x410028=_0x24ca77['n'](_0x4f328e),_0x45951e=_0x24ca77(0x0),_0x429b64=_0x24ca77(0x2),_0x532455=_0x24ca77['n'](_0x429b64);function _0x3afe07(_0x2907e3,_0x30159e){var _0x21bb0a=_0x5bc04a,_0x2855bd=Object[_0x21bb0a(0x1ab)](_0x2907e3);if(Object['getOwnPropertySymbols']){var _0x4560c6=Object[_0x21bb0a(0x1ce)](_0x2907e3);_0x30159e&&(_0x4560c6=_0x4560c6[_0x21bb0a(0x1d0)](function(_0x98bd6a){var _0x6e4d02=_0x21bb0a;return Object[_0x6e4d02(0x1ad)](_0x2907e3,_0x98bd6a)['enumerable'];})),_0x2855bd[_0x21bb0a(0x1c9)][_0x21bb0a(0x1e1)](_0x2855bd,_0x4560c6);}return _0x2855bd;}function _0x2ece72(_0x17e144){var _0x2e02c6=_0x5bc04a;for(var _0x5ebec0=0x1;_0x5ebec0<arguments[_0x2e02c6(0x190)];_0x5ebec0++){var _0x75ea5c=null!=arguments[_0x5ebec0]?arguments[_0x5ebec0]:{};_0x5ebec0%0x2?_0x3afe07(Object(_0x75ea5c),!0x0)[_0x2e02c6(0x205)](function(_0x5185fa){_0x83301a()(_0x17e144,_0x5185fa,_0x75ea5c[_0x5185fa]);}):Object[_0x2e02c6(0x202)]?Object[_0x2e02c6(0x182)](_0x17e144,Object[_0x2e02c6(0x202)](_0x75ea5c)):_0x3afe07(Object(_0x75ea5c))[_0x2e02c6(0x205)](function(_0x4f84e2){var _0x4f306a=_0x2e02c6;Object[_0x4f306a(0x1ec)](_0x17e144,_0x4f84e2,Object[_0x4f306a(0x1ad)](_0x75ea5c,_0x4f84e2));});}return _0x17e144;}function _0x202116(_0xbaaeca){var _0x616df0=(function(){var _0x376112=a0_0x3d74;if(_0x376112(0x1c3)==typeof Reflect||!Reflect[_0x376112(0x1ed)])return!0x1;if(Reflect[_0x376112(0x1ed)]['sham'])return!0x1;if(_0x376112(0x201)==typeof Proxy)return!0x0;try{return Boolean[_0x376112(0x1bf)][_0x376112(0x179)][_0x376112(0x1db)](Reflect[_0x376112(0x1ed)](Boolean,[],function(){})),!0x0;}catch(_0x1a7494){return!0x1;}}());return function(){var _0x233bca=a0_0x3d74,_0x22b312,_0x44d53b=_0x410028()(_0xbaaeca);if(_0x616df0){var _0xba6562=_0x410028()(this)[_0x233bca(0x192)];_0x22b312=Reflect[_0x233bca(0x1ed)](_0x44d53b,arguments,_0xba6562);}else _0x22b312=_0x44d53b[_0x233bca(0x1e1)](this,arguments);return _0x5819b3()(this,_0x22b312);};}var _0x9d4ac5=_0x24ca77(0xb),_0x589273=_0x45951e[_0x5bc04a(0x175)],_0x97c36a=_0x45951e[_0x5bc04a(0x1b9)][_0x5bc04a(0x1b1)],_0x526a5c={'maxOpacity':0.8,'minOpacity':0.1,'blur':0.85,'radius':0x19,'gradient':{0.4:_0x5bc04a(0x19b),0.6:_0x5bc04a(0x1fe),0.8:_0x5bc04a(0x1b2),0.9:_0x5bc04a(0x19d)}},_0x2a8e59={'arcRadiusScale':1.5,'arcBlurScale':1.5,'vertexFormat':_0x589273[_0x5bc04a(0x1cb)][_0x5bc04a(0x1b8)]},_0x333e0=function(_0x320770){var _0x1c365a=_0x5bc04a;_0x2b80e6()(_0x3770b8,_0x320770);var _0xe08b03=_0x202116(_0x3770b8);function _0x3770b8(){var _0x14279f=a0_0x3d74,_0x4746cb,_0x4d8b41=arguments[_0x14279f(0x190)]>0x0&&void 0x0!==arguments[0x0]?arguments[0x0]:{};return _0x4dc3ff()(this,_0x3770b8),(_0x4746cb=_0xe08b03[_0x14279f(0x1db)](this,_0x4d8b41))[_0x14279f(0x1d9)]['maxCanvasSize']=_0x589273[_0x14279f(0x1f8)](_0x4746cb['options']['maxCanvasSize'],document[_0x14279f(0x17f)][_0x14279f(0x195)]),_0x4746cb[_0x14279f(0x1d9)][_0x14279f(0x189)]=Math[_0x14279f(0x17d)](_0x4746cb[_0x14279f(0x1d9)][_0x14279f(0x189)],0x1388),_0x4746cb[_0x14279f(0x1d9)][_0x14279f(0x1fb)]=_0x589273[_0x14279f(0x1f8)](_0x4746cb[_0x14279f(0x1d9)][_0x14279f(0x1fb)],document[_0x14279f(0x17f)][_0x14279f(0x1a0)]),_0x4746cb[_0x14279f(0x1d9)][_0x14279f(0x1fb)]=Math[_0x14279f(0x17e)](_0x4746cb[_0x14279f(0x1d9)][_0x14279f(0x1fb)],0x2bc),_0x4746cb[_0x14279f(0x1d9)][_0x14279f(0x1f4)]=_0x2ece72(_0x2ece72({},_0x526a5c),_0x4746cb[_0x14279f(0x1d9)][_0x14279f(0x1f4)]||{}),_0x4746cb['options'][_0x14279f(0x1fa)]=_0x2ece72(_0x2ece72({},_0x2a8e59),_0x4746cb['options']['style']||{}),_0x4746cb;}return _0x5752c2()(_0x3770b8,[{'key':'layer','get':function(){return this['_layer'];}},{'key':_0x1c365a(0x1f4),'get':function(){var _0x1e6f33=_0x1c365a;return this[_0x1e6f33(0x1d9)]['heatStyle'];},'set':function(_0x8266ec){var _0x170cb2=_0x1c365a;this[_0x170cb2(0x1d9)]['heatStyle']=_0x45951e[_0x170cb2(0x1a6)][_0x170cb2(0x183)](this[_0x170cb2(0x1d9)][_0x170cb2(0x1f4)],_0x8266ec),this[_0x170cb2(0x1a2)]&&this['_heat'][_0x170cb2(0x1bb)](this['options']['heatStyle']);}},{'key':_0x1c365a(0x1fa),'get':function(){var _0x32bdea=_0x1c365a;return this[_0x32bdea(0x1d9)][_0x32bdea(0x1fa)];},'set':function(_0x2a217e){var _0x3356f9=_0x1c365a;this[_0x3356f9(0x1d9)][_0x3356f9(0x1fa)]=_0x45951e[_0x3356f9(0x1a6)][_0x3356f9(0x183)](this[_0x3356f9(0x1d9)][_0x3356f9(0x1fa)],_0x2a217e);}},{'key':_0x1c365a(0x1ba),'get':function(){var _0x2ae0b5=_0x1c365a;return this[_0x2ae0b5(0x1b7)];},'set':function(_0x3c22bc){var _0x2f4436=_0x1c365a;this[_0x2f4436(0x1b7)]=_0x3c22bc,this['_updatePositionsHook']();}},{'key':_0x1c365a(0x1b3),'get':function(){var _0x292483=_0x1c365a,_0x2d809c=[];return this['points'][_0x292483(0x205)](function(_0x4e2f4a){var _0x5511a8=_0x292483;_0x2d809c['push'](_0x4e2f4a[_0x5511a8(0x206)]());}),_0x2d809c;}},{'key':_0x1c365a(0x1d6),'get':function(){return this['_rectangle'];}},{'key':'_setOptionsHook','value':function(_0x3c9aac){var _0x4bde70=_0x1c365a;_0x3c9aac[_0x4bde70(0x1ba)]&&(this[_0x4bde70(0x1ba)]=_0x3c9aac[_0x4bde70(0x1ba)]);}},{'key':'_mountedHook','value':function(){var _0x21a7d3=_0x1c365a;this[_0x21a7d3(0x1cd)]=new _0x45951e[(_0x21a7d3(0x1b9))]['GraphicLayer']({'noLayerManage':!0x0}),this['_layer'][_0x21a7d3(0x1e3)]=!0x0;}},{'key':'_addedHook','value':function(){var _0x1967ff=_0x1c365a;this['_map'][_0x1967ff(0x1ee)](this[_0x1967ff(0x1cd)]),this[_0x1967ff(0x1d9)]['positions']&&(this['positions']=this['options'][_0x1967ff(0x1ba)]),this[_0x1967ff(0x1d9)][_0x1967ff(0x197)]&&this['flyToByAnimationEnd']();}},{'key':'_removedHook','value':function(){var _0x582e28=_0x1c365a;this[_0x582e28(0x1f4)][_0x582e28(0x18b)]&&(this[_0x582e28(0x1d2)][_0x582e28(0x18b)]['removeChild'](this[_0x582e28(0x1f4)][_0x582e28(0x18b)]),delete this['heatStyle']['container']),this['clear'](),this[_0x582e28(0x1d2)]['removeLayer'](this[_0x582e28(0x1cd)]);}},{'key':_0x1c365a(0x1d3),'value':function(_0x3102c5){var _0x432d6a=_0x1c365a;this['_positions']=this['_positions']||[],this[_0x432d6a(0x1b7)][_0x432d6a(0x1c9)](_0x3102c5),this['_updatePositionsHook']();}},{'key':_0x1c365a(0x1e9),'value':function(){var _0x43ee8c=_0x1c365a;this[_0x43ee8c(0x1a9)]&&(this[_0x43ee8c(0x1cd)][_0x43ee8c(0x18e)](this[_0x43ee8c(0x1a9)],!0x0),delete this['_graphic']);}},{'key':'_updatePositionsHook','value':function(){var _0x57894c=_0x1c365a;if(!this[_0x57894c(0x176)]||!this['_map']||!this[_0x57894c(0x1ba)]||0x0===this[_0x57894c(0x1ba)][_0x57894c(0x190)])return this;var _0x3744ca=this['_getHeatCanvasImg']();return this[_0x57894c(0x1fa)][_0x57894c(0x1a4)]?this[_0x57894c(0x1c7)](_0x3744ca):this[_0x57894c(0x1e4)](_0x3744ca),this;}},{'key':'_getHeatCanvasImg','value':function(){var _0x9197f9=_0x1c365a,_0x47e389,_0xe79992,_0x428668,_0x114d64,_0x538dd3,_0x2016ee,_0x598549=this['_positions'],_0x118fb3=[];_0x598549['forEach'](function(_0xe9459d){var _0x3ced68=a0_0x3d74,_0x4f2f94=_0x45951e[_0x3ced68(0x191)][_0x3ced68(0x1f6)](_0xe9459d);_0x4f2f94&&(_0x4f2f94['value']=_0xe9459d[_0x3ced68(0x1bd)]||0x1,null==_0x428668?(_0x428668=_0x4f2f94[_0x3ced68(0x1fd)],_0x114d64=_0x4f2f94['lng'],_0x538dd3=_0x4f2f94[_0x3ced68(0x1aa)],_0x2016ee=_0x4f2f94['lat']):(_0x428668=Math[_0x3ced68(0x17d)](_0x428668,_0x4f2f94[_0x3ced68(0x1fd)]),_0x114d64=Math[_0x3ced68(0x17e)](_0x114d64,_0x4f2f94[_0x3ced68(0x1fd)]),_0x538dd3=Math[_0x3ced68(0x17d)](_0x538dd3,_0x4f2f94[_0x3ced68(0x1aa)]),_0x2016ee=Math[_0x3ced68(0x17e)](_0x2016ee,_0x4f2f94[_0x3ced68(0x1aa)])),_0x118fb3['push'](_0x4f2f94));});var _0x1ec051,_0x132da5,_0x551660,_0x318114=1.5*this[_0x9197f9(0x1f4)][_0x9197f9(0x1e0)],_0x4919e7={'xmin':_0x428668,'xmax':_0x114d64,'ymin':_0x538dd3,'ymax':_0x2016ee},_0x4145e9=(_0x1ec051=_0x4919e7,_0x132da5=_0x45951e[_0x9197f9(0x1ff)][_0x9197f9(0x188)]([_0x1ec051['xmin'],_0x1ec051[_0x9197f9(0x1f2)]]),_0x551660=_0x45951e[_0x9197f9(0x1ff)]['lonlat2mercator']([_0x1ec051[_0x9197f9(0x1c4)],_0x1ec051[_0x9197f9(0x20b)]]),{'xmin':_0x132da5[0x0],'ymin':_0x132da5[0x1],'xmax':_0x551660[0x0],'ymax':_0x551660[0x1]}),_0x2c15f9=Math[_0x9197f9(0x1ef)](_0x4145e9[_0x9197f9(0x1c4)]-_0x4145e9[_0x9197f9(0x180)]),_0x2ada8a=Math[_0x9197f9(0x1ef)](_0x4145e9[_0x9197f9(0x20b)]-_0x4145e9[_0x9197f9(0x1f2)]),_0x4844d7=Math['max'](_0x2c15f9,_0x2ada8a),_0x2a1d69=Math['min'](_0x2c15f9,_0x2ada8a);this[_0x9197f9(0x209)]=_0x4844d7;var _0x27db0c=0x1;_0x4844d7>this[_0x9197f9(0x1d9)][_0x9197f9(0x189)]?_0x2a1d69/(_0x27db0c=_0x4844d7/this[_0x9197f9(0x1d9)][_0x9197f9(0x189)])<this['options']['minCanvasSize']&&(_0x27db0c=_0x2a1d69/this[_0x9197f9(0x1d9)][_0x9197f9(0x1fb)]):_0x2a1d69<this[_0x9197f9(0x1d9)][_0x9197f9(0x1fb)]&&_0x4844d7/(_0x27db0c=_0x2a1d69/this[_0x9197f9(0x1d9)][_0x9197f9(0x1fb)])>this[_0x9197f9(0x1d9)][_0x9197f9(0x189)]&&(_0x27db0c=_0x4844d7/this[_0x9197f9(0x1d9)][_0x9197f9(0x189)]);var _0x24eb52=_0x2c15f9/_0x27db0c+0x2*_0x318114,_0x11959c=_0x2ada8a/_0x27db0c+0x2*_0x318114,_0x26018f=_0x318114*_0x27db0c;_0x4145e9[_0x9197f9(0x180)]-=_0x26018f,_0x4145e9['ymin']-=_0x26018f,_0x4145e9[_0x9197f9(0x1c4)]+=_0x26018f,_0x4145e9[_0x9197f9(0x20b)]+=_0x26018f,_0x4919e7=function(_0x10fd50){var _0x3d38bd=_0x9197f9,_0x2af4ac=_0x45951e[_0x3d38bd(0x1ff)]['mercator2lonlat']([_0x10fd50['xmin'],_0x10fd50['ymin']]),_0xef97e9=_0x45951e[_0x3d38bd(0x1ff)][_0x3d38bd(0x207)]([_0x10fd50[_0x3d38bd(0x1c4)],_0x10fd50['ymax']]);return{'xmin':_0x2af4ac[0x0],'ymin':_0x2af4ac[0x1],'xmax':_0xef97e9[0x0],'ymax':_0xef97e9[0x1]};}(_0x4145e9),this['_rectangle']=_0x589273['Rectangle'][_0x9197f9(0x187)](_0x4919e7['xmin'],_0x4919e7[_0x9197f9(0x1f2)],_0x4919e7[_0x9197f9(0x1c4)],_0x4919e7[_0x9197f9(0x20b)]);var _0x5bfbaa=null!==(_0x47e389=_0x118fb3[0x0][_0x9197f9(0x1bd)])&&void 0x0!==_0x47e389?_0x47e389:0x1,_0x11f146=null!==(_0xe79992=_0x118fb3[0x0]['value'])&&void 0x0!==_0xe79992?_0xe79992:0x0,_0x14b31a=[];_0x118fb3[_0x9197f9(0x205)](function(_0x1954f7){var _0x46d46e=_0x9197f9,_0x101be9=_0x45951e['PointTrans'][_0x46d46e(0x188)]([_0x1954f7['lng'],_0x1954f7[_0x46d46e(0x1aa)]]),_0x257698=_0x1954f7['value']||0x1,_0x4cfe61=Math[_0x46d46e(0x18f)]((_0x101be9[0x0]-_0x4145e9[_0x46d46e(0x180)])/_0x27db0c),_0x320b73=Math[_0x46d46e(0x18f)]((_0x4145e9[_0x46d46e(0x20b)]-_0x101be9[0x1])/_0x27db0c);_0x5bfbaa=Math['max'](_0x5bfbaa,_0x257698),_0x11f146=Math[_0x46d46e(0x17d)](_0x11f146,_0x257698),_0x14b31a[_0x46d46e(0x1c9)]({'x':_0x4cfe61,'y':_0x320b73,'value':_0x257698});});var _0x7650b9={'min':_0x11f146,'max':_0x5bfbaa,'data':_0x14b31a};this['_last_heatData']=_0x7650b9,this[_0x9197f9(0x1f7)]&&_0x4145e9[_0x9197f9(0x180)]===this[_0x9197f9(0x1f7)][_0x9197f9(0x180)]&&_0x4145e9[_0x9197f9(0x1f2)]===this[_0x9197f9(0x1f7)][_0x9197f9(0x1f2)]&&_0x4145e9[_0x9197f9(0x1c4)]===this['_last_mBounds']['xmax']&&_0x4145e9[_0x9197f9(0x20b)]===this[_0x9197f9(0x1f7)][_0x9197f9(0x20b)]||(this[_0x9197f9(0x1f7)]=_0x4145e9,this[_0x9197f9(0x1f4)][_0x9197f9(0x18b)]||(this[_0x9197f9(0x1f4)][_0x9197f9(0x18b)]=_0x45951e[_0x9197f9(0x19a)][_0x9197f9(0x19c)](_0x9197f9(0x1c6),_0x9197f9(0x1d4),this[_0x9197f9(0x1d2)][_0x9197f9(0x18b)])),this[_0x9197f9(0x1f4)]['container']['style']['cssText']=_0x9197f9(0x203)[_0x9197f9(0x1da)](_0x24eb52,_0x9197f9(0x1ae))['concat'](_0x11959c,_0x9197f9(0x204)),this[_0x9197f9(0x1a2)]?this[_0x9197f9(0x1a2)][_0x9197f9(0x1bb)](this['heatStyle']):this[_0x9197f9(0x1a2)]=_0x9d4ac5[_0x9197f9(0x19c)](this[_0x9197f9(0x1f4)])),this[_0x9197f9(0x1a2)]['setData'](_0x7650b9);var _0x2884c9=this[_0x9197f9(0x1a2)][_0x9197f9(0x17c)]['canvas'][_0x9197f9(0x1cf)](_0x9197f9(0x1f5));return this['heatStyle'][_0x9197f9(0x18b)]&&(this[_0x9197f9(0x1d2)]['container'][_0x9197f9(0x178)](this[_0x9197f9(0x1f4)][_0x9197f9(0x18b)]),delete this[_0x9197f9(0x1f4)][_0x9197f9(0x18b)]),_0x2884c9;}},{'key':_0x1c365a(0x1e4),'value':function(_0x1120f5){var _0x3a8619=_0x1c365a;this[_0x3a8619(0x1e9)](),this['_graphic']=new _0x45951e[(_0x3a8619(0x196))][(_0x3a8619(0x1df))](_0x2ece72(_0x2ece72({},this[_0x3a8619(0x1d9)]),{},{'rectangle':this[_0x3a8619(0x20c)],'appearance':new _0x589273[(_0x3a8619(0x1cb))]({'material':new _0x589273[(_0x3a8619(0x1ea))]({'fabric':{'uniforms':{'image':_0x1120f5},'source':_0x532455['a']},'translucent':!0x0}),'flat':!0x0})})),this[_0x3a8619(0x1cd)][_0x3a8619(0x1c0)](this[_0x3a8619(0x1a9)]);}},{'key':'_createArcGraphic','value':function(_0x4b8502){var _0x177c53=_0x1c365a;this['clear'](),this['_heat']['configure'](_0x2ece72(_0x2ece72({},this[_0x177c53(0x1f4)]),{},{'radius':this['heatStyle']['radius']*this[_0x177c53(0x1fa)]['arcRadiusScale'],'blur':this['heatStyle']['blur']*this['style'][_0x177c53(0x1e8)],'gradient':this[_0x177c53(0x1f4)]['gradientArc']||{0.25:'rgb(0,0,0)',0.55:_0x177c53(0x1e2),0.85:_0x177c53(0x1cc),0x1:_0x177c53(0x17b)}}));var _0x56b6d1=this[_0x177c53(0x1a2)][_0x177c53(0x17c)][_0x177c53(0x1f0)][_0x177c53(0x1cf)](_0x177c53(0x1f5)),_0x2bd6b0=_0x589273[_0x177c53(0x18a)]['fromCache']({'cull':{'enabled':!0x0},'depthTest':{'enabled':!0x0},'stencilTest':{'enabled':!0x0,'frontFunction':_0x589273[_0x177c53(0x1b4)][_0x177c53(0x200)],'frontOperation':{'fail':_0x589273[_0x177c53(0x17a)]['KEEP'],'zFail':_0x589273[_0x177c53(0x17a)][_0x177c53(0x1af)],'zPass':_0x589273[_0x177c53(0x17a)]['REPLACE']},'backFunction':_0x589273['StencilFunction'][_0x177c53(0x200)],'backOperation':{'fail':_0x589273['StencilOperation'][_0x177c53(0x1af)],'zFail':_0x589273[_0x177c53(0x17a)][_0x177c53(0x1af)],'zPass':_0x589273[_0x177c53(0x17a)][_0x177c53(0x181)]},'reference':0x2,'mask':0x2},'blending':_0x589273[_0x177c53(0x1c8)][_0x177c53(0x1e7)]}),_0x581576=Math[_0x177c53(0x194)](_0x589273[_0x177c53(0x1f8)](this['style']['diffHeight'],0.02*this[_0x177c53(0x209)]))+0.1,_0x1571bd=_0x589273[_0x177c53(0x1f8)](this['style']['splitNum'],0x64),_0x5a31e9=Math['max'](this[_0x177c53(0x20c)][_0x177c53(0x18d)],this[_0x177c53(0x20c)][_0x177c53(0x1d5)]);this[_0x177c53(0x1fa)][_0x177c53(0x177)]=_0x5a31e9/=_0x1571bd,this['_graphic']=new _0x45951e[(_0x177c53(0x196))][(_0x177c53(0x1df))](_0x2ece72(_0x2ece72({},this[_0x177c53(0x1d9)]),{},{'rectangle':this[_0x177c53(0x20c)],'appearance':new _0x589273[(_0x177c53(0x1cb))]({'aboveGround':!0x0,'renderState':_0x2bd6b0,'material':new _0x589273[(_0x177c53(0x1ea))]({'fabric':{'uniforms':{'image':_0x4b8502,'repeat':new _0x589273[(_0x177c53(0x1d7))](0x1,0x1),'color':new _0x589273[(_0x177c53(0x1d8))](0x1,0x1,0x1,0.01),'bumpMap':_0x56b6d1},'source':_0x532455['a']},'translucent':!0x0}),'vertexShaderSource':_0x177c53(0x1b6)[_0x177c53(0x1da)](_0x581576,_0x177c53(0x1dd)),'flat':!0x0})})),this['_layer'][_0x177c53(0x1c0)](this[_0x177c53(0x1a9)]);}},{'key':_0x1c365a(0x208),'value':function(_0x17eaa2){var _0x20137e=_0x1c365a;return null!=_0x17eaa2&&_0x17eaa2[_0x20137e(0x185)]&&this[_0x20137e(0x20c)]?_0x45951e[_0x20137e(0x1f1)][_0x20137e(0x1a5)](this['_rectangle']):this['_rectangle'];}}]),_0x3770b8;}(_0x97c36a);_0x45951e['layer'][_0x5bc04a(0x1eb)]=_0x333e0,_0x45951e[_0x5bc04a(0x1f3)]['register']('heat',_0x333e0);}])); | ||
})(window); | ||
(function (global, factory) { | ||
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, (window.mars3d || require('mars3d')), (window.h337 || require('@mars3d/heatmap.js'))) : | ||
typeof define === 'function' && define.amd ? define(['exports', 'mars3d', '@mars3d/heatmap.js'], factory) : | ||
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory(global["mars3d-heatmap"] = {}, global.mars3d, global.h337)); | ||
})(this, (function (exports, mars3d, h337) { 'use strict';var _0x3e7ed7=_0x1e64;(function(_0x3e8084,_0x2f5641){var _0x39c4c6=_0x1e64,_0x30693a=_0x3e8084();while(!![]){try{var _0x12f560=parseInt(_0x39c4c6(0x114))/0x1*(parseInt(_0x39c4c6(0x14d))/0x2)+-parseInt(_0x39c4c6(0x101))/0x3*(parseInt(_0x39c4c6(0xf5))/0x4)+parseInt(_0x39c4c6(0x135))/0x5*(-parseInt(_0x39c4c6(0x14f))/0x6)+-parseInt(_0x39c4c6(0x137))/0x7*(parseInt(_0x39c4c6(0x16a))/0x8)+-parseInt(_0x39c4c6(0x187))/0x9+-parseInt(_0x39c4c6(0xf8))/0xa*(parseInt(_0x39c4c6(0x185))/0xb)+-parseInt(_0x39c4c6(0x11a))/0xc*(-parseInt(_0x39c4c6(0x12e))/0xd);if(_0x12f560===_0x2f5641)break;else _0x30693a['push'](_0x30693a['shift']());}catch(_0x2c0d1a){_0x30693a['push'](_0x30693a['shift']());}}}(_0x4b67,0x76f23));function _interopNamespace(_0x51fdac){var _0x2acc00=_0x1e64;if(_0x51fdac&&_0x51fdac[_0x2acc00(0x15c)])return _0x51fdac;var _0x1115ca=Object[_0x2acc00(0xfa)](null);return _0x51fdac&&Object[_0x2acc00(0x13e)](_0x51fdac)['forEach'](function(_0x47f0fa){var _0x2a8a0d=_0x2acc00;if(_0x47f0fa!=='default'){var _0x147936=Object['getOwnPropertyDescriptor'](_0x51fdac,_0x47f0fa);Object[_0x2a8a0d(0x180)](_0x1115ca,_0x47f0fa,_0x147936[_0x2a8a0d(0x156)]?_0x147936:{'enumerable':!![],'get':function(){return _0x51fdac[_0x47f0fa];}});}}),_0x1115ca['default']=_0x51fdac,_0x1115ca;}function _0x1e64(_0x12bcb1,_0x5806cb){var _0x4b673d=_0x4b67();return _0x1e64=function(_0x1e64ad,_0x2b9216){_0x1e64ad=_0x1e64ad-0xf5;var _0x59bfdf=_0x4b673d[_0x1e64ad];if(_0x1e64['MsdHyG']===undefined){var _0x2b3d4d=function(_0x51fdac){var _0x1115ca='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';var _0x47f0fa='',_0x147936='';for(var _0x1078be=0x0,_0x3cb50c,_0x4f2c85,_0x93a306=0x0;_0x4f2c85=_0x51fdac['charAt'](_0x93a306++);~_0x4f2c85&&(_0x3cb50c=_0x1078be%0x4?_0x3cb50c*0x40+_0x4f2c85:_0x4f2c85,_0x1078be++%0x4)?_0x47f0fa+=String['fromCharCode'](0xff&_0x3cb50c>>(-0x2*_0x1078be&0x6)):0x0){_0x4f2c85=_0x1115ca['indexOf'](_0x4f2c85);}for(var _0x2f353e=0x0,_0x498aa8=_0x47f0fa['length'];_0x2f353e<_0x498aa8;_0x2f353e++){_0x147936+='%'+('00'+_0x47f0fa['charCodeAt'](_0x2f353e)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x147936);};_0x1e64['NwRXWO']=_0x2b3d4d,_0x12bcb1=arguments,_0x1e64['MsdHyG']=!![];}var _0x366329=_0x4b673d[0x0],_0x105e64=_0x1e64ad+_0x366329,_0x496745=_0x12bcb1[_0x105e64];return!_0x496745?(_0x59bfdf=_0x1e64['NwRXWO'](_0x59bfdf),_0x12bcb1[_0x105e64]=_0x59bfdf):_0x59bfdf=_0x496745,_0x59bfdf;},_0x1e64(_0x12bcb1,_0x5806cb);}var mars3d__namespace=_interopNamespace(mars3d),h337__namespace=_interopNamespace(h337);function ownKeys(_0x1078be,_0x3cb50c){var _0x26a91c=_0x1e64,_0x4f2c85=Object['keys'](_0x1078be);if(Object['getOwnPropertySymbols']){var _0x93a306=Object[_0x26a91c(0x171)](_0x1078be);_0x3cb50c&&(_0x93a306=_0x93a306[_0x26a91c(0xfd)](function(_0x2f353e){var _0x474cf3=_0x26a91c;return Object[_0x474cf3(0x162)](_0x1078be,_0x2f353e)['enumerable'];})),_0x4f2c85[_0x26a91c(0x105)]['apply'](_0x4f2c85,_0x93a306);}return _0x4f2c85;}function _objectSpread2(_0x498aa8){var _0x2fc220=_0x1e64;for(var _0x3d0baa=0x1;_0x3d0baa<arguments[_0x2fc220(0x134)];_0x3d0baa++){var _0x11f15a=null!=arguments[_0x3d0baa]?arguments[_0x3d0baa]:{};_0x3d0baa%0x2?ownKeys(Object(_0x11f15a),!0x0)[_0x2fc220(0x154)](function(_0x3aa5b7){_defineProperty(_0x498aa8,_0x3aa5b7,_0x11f15a[_0x3aa5b7]);}):Object['getOwnPropertyDescriptors']?Object['defineProperties'](_0x498aa8,Object['getOwnPropertyDescriptors'](_0x11f15a)):ownKeys(Object(_0x11f15a))[_0x2fc220(0x154)](function(_0xba853e){var _0x34dc68=_0x2fc220;Object['defineProperty'](_0x498aa8,_0xba853e,Object[_0x34dc68(0x162)](_0x11f15a,_0xba853e));});}return _0x498aa8;}function _classCallCheck(_0x580ffe,_0x41e1af){var _0x3f18ea=_0x1e64;if(!(_0x580ffe instanceof _0x41e1af))throw new TypeError(_0x3f18ea(0x12f));}function _defineProperties(_0x553fe7,_0x18db0f){var _0x351934=_0x1e64;for(var _0x3e9565=0x0;_0x3e9565<_0x18db0f[_0x351934(0x134)];_0x3e9565++){var _0x573e9e=_0x18db0f[_0x3e9565];_0x573e9e['enumerable']=_0x573e9e[_0x351934(0x183)]||![],_0x573e9e['configurable']=!![];if(_0x351934(0x153)in _0x573e9e)_0x573e9e['writable']=!![];Object[_0x351934(0x180)](_0x553fe7,_0x573e9e['key'],_0x573e9e);}}function _createClass(_0x30c58e,_0xfe83a,_0x451fe4){var _0x5927e6=_0x1e64;if(_0xfe83a)_defineProperties(_0x30c58e['prototype'],_0xfe83a);if(_0x451fe4)_defineProperties(_0x30c58e,_0x451fe4);return Object['defineProperty'](_0x30c58e,_0x5927e6(0x128),{'writable':![]}),_0x30c58e;}function _defineProperty(_0x389722,_0x446e93,_0x1975b9){var _0x596629=_0x1e64;return _0x446e93 in _0x389722?Object[_0x596629(0x180)](_0x389722,_0x446e93,{'value':_0x1975b9,'enumerable':!![],'configurable':!![],'writable':!![]}):_0x389722[_0x446e93]=_0x1975b9,_0x389722;}function _inherits(_0x13e53f,_0x48d39b){var _0x4cc5c7=_0x1e64;if(typeof _0x48d39b!==_0x4cc5c7(0x10f)&&_0x48d39b!==null)throw new TypeError(_0x4cc5c7(0x186));_0x13e53f[_0x4cc5c7(0x128)]=Object[_0x4cc5c7(0xfa)](_0x48d39b&&_0x48d39b[_0x4cc5c7(0x128)],{'constructor':{'value':_0x13e53f,'writable':!![],'configurable':!![]}}),Object[_0x4cc5c7(0x180)](_0x13e53f,'prototype',{'writable':![]});if(_0x48d39b)_setPrototypeOf(_0x13e53f,_0x48d39b);}function _getPrototypeOf(_0x2c980c){var _0x377c9b=_0x1e64;return _getPrototypeOf=Object['setPrototypeOf']?Object[_0x377c9b(0x126)]:function _0x6dab56(_0x1ecd79){var _0x1d6a8d=_0x377c9b;return _0x1ecd79[_0x1d6a8d(0x106)]||Object['getPrototypeOf'](_0x1ecd79);},_getPrototypeOf(_0x2c980c);}function _setPrototypeOf(_0x227b0e,_0xc5073e){var _0x478c58=_0x1e64;return _setPrototypeOf=Object[_0x478c58(0xf7)]||function _0x1f45ef(_0x3d998f,_0x3c974a){var _0x3e7ec4=_0x478c58;return _0x3d998f[_0x3e7ec4(0x106)]=_0x3c974a,_0x3d998f;},_setPrototypeOf(_0x227b0e,_0xc5073e);}function _isNativeReflectConstruct(){var _0x34b547=_0x1e64;if(typeof Reflect===_0x34b547(0x120)||!Reflect[_0x34b547(0x149)])return![];if(Reflect[_0x34b547(0x149)]['sham'])return![];if(typeof Proxy==='function')return!![];try{return Boolean['prototype'][_0x34b547(0x17a)][_0x34b547(0x177)](Reflect[_0x34b547(0x149)](Boolean,[],function(){})),!![];}catch(_0x30e072){return![];}}function _assertThisInitialized(_0xc584e8){var _0x4167e4=_0x1e64;if(_0xc584e8===void 0x0)throw new ReferenceError(_0x4167e4(0x10c));return _0xc584e8;}function _possibleConstructorReturn(_0x83727d,_0x44c9b1){var _0x2ec375=_0x1e64;if(_0x44c9b1&&(typeof _0x44c9b1===_0x2ec375(0x17b)||typeof _0x44c9b1===_0x2ec375(0x10f)))return _0x44c9b1;else{if(_0x44c9b1!==void 0x0)throw new TypeError(_0x2ec375(0x155));}return _assertThisInitialized(_0x83727d);}function _createSuper(_0x3076c3){var _0x23f127=_isNativeReflectConstruct();return function _0x24c284(){var _0x22c65d=_0x1e64,_0x1c864e=_getPrototypeOf(_0x3076c3),_0x215e02;if(_0x23f127){var _0x590591=_getPrototypeOf(this)[_0x22c65d(0x11c)];_0x215e02=Reflect['construct'](_0x1c864e,arguments,_0x590591);}else _0x215e02=_0x1c864e[_0x22c65d(0x118)](this,arguments);return _possibleConstructorReturn(this,_0x215e02);};}var HeatMaterial='uniform\x20sampler2D\x20image;\x0aczm_material\x20czm_getMaterial(czm_materialInput\x20materialInput){\x0a\x20\x20czm_material\x20material\x20=\x20czm_getDefaultMaterial(materialInput);\x0a\x20\x20vec2\x20st\x20=\x20materialInput.st;\x0a\x20\x20vec4\x20colorImage\x20=\x20texture2D(image,st);\x0a\x20\x20if(colorImage.rgb\x20==\x20vec3(1.0)\x20||\x20colorImage.rgb\x20==\x20vec3(0.0)){\x0a\x20\x20\x20\x20discard;\x0a\x20\x20}\x0a\x20\x20material.diffuse\x20=\x20colorImage.rgb;\x0a\x20\x20material.alpha\x20=\x20colorImage.a;\x0a\x20\x20return\x20material;\x0a}\x0a',Cesium=mars3d__namespace[_0x3e7ed7(0x121)],BaseLayer=mars3d__namespace[_0x3e7ed7(0x130)][_0x3e7ed7(0x13f)],DEF_HEATSTYLE={'maxOpacity':0.8,'minOpacity':0.1,'blur':0.85,'radius':0x19,'gradient':{0.4:_0x3e7ed7(0x15a),0.6:_0x3e7ed7(0x109),0.8:'yellow',0.9:_0x3e7ed7(0x12d)}},DEF_STYLE={'arcRadiusScale':1.5,'arcBlurScale':1.5,'vertexFormat':Cesium[_0x3e7ed7(0x132)][_0x3e7ed7(0x145)]},HeatLayer=function(_0x1a88a9){var _0x4a3a33=_0x3e7ed7;_inherits(_0x3ebb61,_0x1a88a9);var _0x3db2cb=_createSuper(_0x3ebb61);function _0x3ebb61(){var _0x2f9192=_0x1e64,_0x1284b1,_0x20bc7a=arguments[_0x2f9192(0x134)]>0x0&&arguments[0x0]!==undefined?arguments[0x0]:{};return _classCallCheck(this,_0x3ebb61),_0x1284b1=_0x3db2cb[_0x2f9192(0x177)](this,_0x20bc7a),_0x1284b1[_0x2f9192(0x10e)][_0x2f9192(0x140)]=Cesium['defaultValue'](_0x1284b1[_0x2f9192(0x10e)][_0x2f9192(0x140)],document['body'][_0x2f9192(0x129)]),_0x1284b1['options']['maxCanvasSize']=Math[_0x2f9192(0x164)](_0x1284b1['options']['maxCanvasSize'],0x1388),_0x1284b1[_0x2f9192(0x10e)][_0x2f9192(0x167)]=Cesium[_0x2f9192(0x182)](_0x1284b1['options'][_0x2f9192(0x167)],document['body'][_0x2f9192(0xfb)]),_0x1284b1['options'][_0x2f9192(0x167)]=Math[_0x2f9192(0x136)](_0x1284b1[_0x2f9192(0x10e)]['minCanvasSize'],0x2bc),_0x1284b1['options'][_0x2f9192(0x176)]=_objectSpread2(_objectSpread2({},DEF_HEATSTYLE),_0x1284b1[_0x2f9192(0x10e)][_0x2f9192(0x176)]||{}),_0x1284b1[_0x2f9192(0x10e)]['style']=_objectSpread2(_objectSpread2({},DEF_STYLE),_0x1284b1[_0x2f9192(0x10e)][_0x2f9192(0x107)]||{}),_0x1284b1;}return _createClass(_0x3ebb61,[{'key':_0x4a3a33(0x130),'get':function _0x4fd3e1(){return this['_layer'];}},{'key':_0x4a3a33(0x176),'get':function _0x3b9a7b(){return this['options']['heatStyle'];},'set':function _0x176d0d(_0x16133f){var _0x2315a7=_0x4a3a33;this[_0x2315a7(0x10e)][_0x2315a7(0x176)]=mars3d__namespace[_0x2315a7(0x188)][_0x2315a7(0x189)](this[_0x2315a7(0x10e)][_0x2315a7(0x176)],_0x16133f),this[_0x2315a7(0xf6)]&&this[_0x2315a7(0xf6)][_0x2315a7(0x119)](this[_0x2315a7(0x10e)]['heatStyle']);}},{'key':_0x4a3a33(0x107),'get':function _0x2c30dc(){return this['options']['style'];},'set':function _0x3472d9(_0x3fa6ed){var _0x2e4ed1=_0x4a3a33;this[_0x2e4ed1(0x10e)]['style']=mars3d__namespace[_0x2e4ed1(0x188)][_0x2e4ed1(0x189)](this[_0x2e4ed1(0x10e)][_0x2e4ed1(0x107)],_0x3fa6ed);}},{'key':_0x4a3a33(0x17e),'get':function _0x3741b0(){return this['_positions'];},'set':function _0x2aef78(_0x47b2d7){var _0xaf7fc1=_0x4a3a33;this[_0xaf7fc1(0x131)]=_0x47b2d7,this[_0xaf7fc1(0x15b)]();}},{'key':_0x4a3a33(0x16f),'get':function _0xd6b3b7(){var _0xc09043=_0x4a3a33,_0x233acf=[];return this['points'][_0xc09043(0x154)](function(_0x3f0fca){var _0x50b8e2=_0xc09043;_0x233acf['push'](_0x3f0fca[_0x50b8e2(0x125)]());}),_0x233acf;}},{'key':'rectangle','get':function _0x51f58a(){var _0x10f720=_0x4a3a33;return this[_0x10f720(0x12b)];}},{'key':_0x4a3a33(0x178),'value':function _0x1fbb65(_0x408a0c){var _0x152726=_0x4a3a33;_0x408a0c[_0x152726(0x17e)]&&(this[_0x152726(0x17e)]=_0x408a0c[_0x152726(0x17e)]);}},{'key':'_mountedHook','value':function _0x47fb04(){var _0x5871a1=_0x4a3a33;this[_0x5871a1(0x151)]=new mars3d__namespace['layer'][(_0x5871a1(0x169))]({'noLayerManage':!![]}),this[_0x5871a1(0x151)][_0x5871a1(0x11f)]=!![];}},{'key':'_addedHook','value':function _0x1c130b(){var _0x1f1afa=_0x4a3a33;this[_0x1f1afa(0x16c)][_0x1f1afa(0x168)](this[_0x1f1afa(0x151)]),this['options'][_0x1f1afa(0x17e)]&&(this[_0x1f1afa(0x17e)]=this['options']['positions']),this[_0x1f1afa(0x10e)][_0x1f1afa(0x14b)]&&this['flyToByAnimationEnd']();}},{'key':_0x4a3a33(0x158),'value':function _0x3eb302(){var _0x61e1b6=_0x4a3a33;this[_0x61e1b6(0x176)][_0x61e1b6(0x103)]&&(this[_0x61e1b6(0x16c)][_0x61e1b6(0x103)][_0x61e1b6(0x104)](this[_0x61e1b6(0x176)][_0x61e1b6(0x103)]),delete this[_0x61e1b6(0x176)][_0x61e1b6(0x103)]),this[_0x61e1b6(0x11b)](),this['_map'][_0x61e1b6(0x150)](this[_0x61e1b6(0x151)]);}},{'key':_0x4a3a33(0x166),'value':function _0x4a3993(_0x242e8d){var _0x8a3103=_0x4a3a33;this['_positions']=this[_0x8a3103(0x131)]||[],this[_0x8a3103(0x131)][_0x8a3103(0x105)](_0x242e8d),this[_0x8a3103(0x15b)]();}},{'key':_0x4a3a33(0x11b),'value':function _0x335964(){var _0x2b0acb=_0x4a3a33;this[_0x2b0acb(0x133)]&&(this[_0x2b0acb(0x151)][_0x2b0acb(0x15e)](this[_0x2b0acb(0x133)],!![]),delete this[_0x2b0acb(0x133)]);}},{'key':_0x4a3a33(0x15b),'value':function _0x1fdf7c(){var _0xcdcdbd=_0x4a3a33;if(!this[_0xcdcdbd(0x115)]||!this[_0xcdcdbd(0x16c)]||!this[_0xcdcdbd(0x17e)]||this[_0xcdcdbd(0x17e)]['length']===0x0)return this;var _0x123f10=this[_0xcdcdbd(0x10a)]();return this[_0xcdcdbd(0x107)][_0xcdcdbd(0x12a)]?this[_0xcdcdbd(0xfe)](_0x123f10):this[_0xcdcdbd(0x17f)](_0x123f10),this;}},{'key':_0x4a3a33(0x10a),'value':function _0x58a7ba(){var _0x3d3b54=_0x4a3a33,_0x5037c2,_0x225479,_0x16f2bf=this['_positions'],_0x5691fe=[],_0x2e145e,_0x2bdb0b,_0x1a8578,_0x8c6497;_0x16f2bf[_0x3d3b54(0x154)](function(_0x1447c9){var _0x43c254=_0x3d3b54,_0x3312f9=mars3d__namespace[_0x43c254(0x111)][_0x43c254(0x102)](_0x1447c9);if(!_0x3312f9)return;_0x3312f9[_0x43c254(0x153)]=_0x1447c9[_0x43c254(0x153)]||0x1,_0x2e145e===undefined?(_0x2e145e=_0x3312f9[_0x43c254(0x170)],_0x2bdb0b=_0x3312f9[_0x43c254(0x170)],_0x1a8578=_0x3312f9[_0x43c254(0x172)],_0x8c6497=_0x3312f9[_0x43c254(0x172)]):(_0x2e145e=Math['min'](_0x2e145e,_0x3312f9[_0x43c254(0x170)]),_0x2bdb0b=Math[_0x43c254(0x136)](_0x2bdb0b,_0x3312f9[_0x43c254(0x170)]),_0x1a8578=Math[_0x43c254(0x164)](_0x1a8578,_0x3312f9[_0x43c254(0x172)]),_0x8c6497=Math[_0x43c254(0x136)](_0x8c6497,_0x3312f9['lat'])),_0x5691fe['push'](_0x3312f9);});var _0x5ddd05=this[_0x3d3b54(0x176)][_0x3d3b54(0x108)]*1.5,_0x5c5477={'xmin':_0x2e145e,'xmax':_0x2bdb0b,'ymin':_0x1a8578,'ymax':_0x8c6497},_0x4eaa50=getMercatorBounds(_0x5c5477),_0x2d99cf=Math[_0x3d3b54(0x113)](_0x4eaa50['xmax']-_0x4eaa50['xmin']),_0x3b9a83=Math[_0x3d3b54(0x113)](_0x4eaa50[_0x3d3b54(0x161)]-_0x4eaa50[_0x3d3b54(0xf9)]),_0x288048=Math['max'](_0x2d99cf,_0x3b9a83),_0x4f6657=Math[_0x3d3b54(0x164)](_0x2d99cf,_0x3b9a83);this[_0x3d3b54(0x14a)]=_0x288048;var _0x2b2e29=0x1;if(_0x288048>this['options'][_0x3d3b54(0x140)])_0x2b2e29=_0x288048/this[_0x3d3b54(0x10e)][_0x3d3b54(0x140)],_0x4f6657/_0x2b2e29<this[_0x3d3b54(0x10e)][_0x3d3b54(0x167)]&&(_0x2b2e29=_0x4f6657/this['options']['minCanvasSize']);else _0x4f6657<this[_0x3d3b54(0x10e)][_0x3d3b54(0x167)]&&(_0x2b2e29=_0x4f6657/this[_0x3d3b54(0x10e)][_0x3d3b54(0x167)],_0x288048/_0x2b2e29>this['options']['maxCanvasSize']&&(_0x2b2e29=_0x288048/this['options']['maxCanvasSize']));var _0x44694a=_0x2d99cf/_0x2b2e29+_0x5ddd05*0x2,_0x4409cc=_0x3b9a83/_0x2b2e29+_0x5ddd05*0x2,_0x33bcc5=_0x5ddd05*_0x2b2e29;_0x4eaa50[_0x3d3b54(0x13c)]-=_0x33bcc5,_0x4eaa50['ymin']-=_0x33bcc5,_0x4eaa50[_0x3d3b54(0x16b)]+=_0x33bcc5,_0x4eaa50[_0x3d3b54(0x161)]+=_0x33bcc5,_0x5c5477=geLatLngBounds(_0x4eaa50),this[_0x3d3b54(0x12b)]=Cesium[_0x3d3b54(0x123)][_0x3d3b54(0x174)](_0x5c5477[_0x3d3b54(0x13c)],_0x5c5477[_0x3d3b54(0xf9)],_0x5c5477[_0x3d3b54(0x16b)],_0x5c5477[_0x3d3b54(0x161)]);var _0x2d1fcc=(_0x5037c2=_0x5691fe[0x0][_0x3d3b54(0x153)])!==null&&_0x5037c2!==void 0x0?_0x5037c2:0x1,_0x1d0151=(_0x225479=_0x5691fe[0x0]['value'])!==null&&_0x225479!==void 0x0?_0x225479:0x0,_0x3c241e=[];_0x5691fe[_0x3d3b54(0x154)](function(_0x4e893b){var _0x340b4d=_0x3d3b54,_0x205c65=mars3d__namespace[_0x340b4d(0x117)][_0x340b4d(0x15f)]([_0x4e893b['lng'],_0x4e893b['lat']]),_0x561205=_0x4e893b[_0x340b4d(0x153)]||0x1,_0xaadb9d=Math[_0x340b4d(0x11e)]((_0x205c65[0x0]-_0x4eaa50[_0x340b4d(0x13c)])/_0x2b2e29),_0x1c3aee=Math[_0x340b4d(0x11e)]((_0x4eaa50[_0x340b4d(0x161)]-_0x205c65[0x1])/_0x2b2e29);_0x2d1fcc=Math['max'](_0x2d1fcc,_0x561205),_0x1d0151=Math[_0x340b4d(0x164)](_0x1d0151,_0x561205),_0x3c241e['push']({'x':_0xaadb9d,'y':_0x1c3aee,'value':_0x561205});});var _0x314fdb={'min':_0x1d0151,'max':_0x2d1fcc,'data':_0x3c241e};this['_last_heatData']=_0x314fdb;(!this[_0x3d3b54(0x138)]||_0x4eaa50[_0x3d3b54(0x13c)]!==this['_last_mBounds']['xmin']||_0x4eaa50[_0x3d3b54(0xf9)]!==this[_0x3d3b54(0x138)]['ymin']||_0x4eaa50[_0x3d3b54(0x16b)]!==this[_0x3d3b54(0x138)][_0x3d3b54(0x16b)]||_0x4eaa50[_0x3d3b54(0x161)]!==this[_0x3d3b54(0x138)][_0x3d3b54(0x161)])&&(this[_0x3d3b54(0x138)]=_0x4eaa50,!this[_0x3d3b54(0x176)][_0x3d3b54(0x103)]&&(this[_0x3d3b54(0x176)][_0x3d3b54(0x103)]=mars3d__namespace[_0x3d3b54(0x139)][_0x3d3b54(0xfa)](_0x3d3b54(0x173),_0x3d3b54(0x124),this['_map']['container'])),this['heatStyle'][_0x3d3b54(0x103)][_0x3d3b54(0x107)][_0x3d3b54(0x146)]=_0x3d3b54(0x112)[_0x3d3b54(0x13b)](_0x44694a,'px;\x0a\x20\x20\x20\x20\x20\x20\x20\x20height:')[_0x3d3b54(0x13b)](_0x4409cc,_0x3d3b54(0x143)),!this[_0x3d3b54(0xf6)]?this[_0x3d3b54(0xf6)]=h337__namespace[_0x3d3b54(0xfa)](this['heatStyle']):this[_0x3d3b54(0xf6)][_0x3d3b54(0x119)](this['heatStyle']));this[_0x3d3b54(0xf6)]['setData'](_0x314fdb);var _0x3909e7=this[_0x3d3b54(0xf6)][_0x3d3b54(0x10d)][_0x3d3b54(0x11d)]['toDataURL'](_0x3d3b54(0x122));return this[_0x3d3b54(0x176)][_0x3d3b54(0x103)]&&(this[_0x3d3b54(0x16c)][_0x3d3b54(0x103)][_0x3d3b54(0x104)](this[_0x3d3b54(0x176)][_0x3d3b54(0x103)]),delete this[_0x3d3b54(0x176)]['container']),_0x3909e7;}},{'key':_0x4a3a33(0x17f),'value':function _0x5d635c(_0x1977c4){var _0x3640bc=_0x4a3a33;this[_0x3640bc(0x11b)](),this[_0x3640bc(0x133)]=new mars3d__namespace['graphic'][(_0x3640bc(0x14c))](_objectSpread2(_objectSpread2({},this[_0x3640bc(0x10e)]),{},{'rectangle':this[_0x3640bc(0x12b)],'appearance':new Cesium[(_0x3640bc(0x132))]({'material':new Cesium[(_0x3640bc(0x17c))]({'fabric':{'uniforms':{'image':_0x1977c4},'source':HeatMaterial},'translucent':!![]}),'flat':!![]})})),this[_0x3640bc(0x151)][_0x3640bc(0x144)](this[_0x3640bc(0x133)]);}},{'key':_0x4a3a33(0xfe),'value':function _0x4ae6e4(_0x361fbc){var _0x474cae=_0x4a3a33;this[_0x474cae(0x11b)](),this[_0x474cae(0xf6)][_0x474cae(0x119)](_objectSpread2(_objectSpread2({},this[_0x474cae(0x176)]),{},{'radius':this['heatStyle'][_0x474cae(0x108)]*this['style'][_0x474cae(0x152)],'blur':this[_0x474cae(0x176)][_0x474cae(0x10b)]*this[_0x474cae(0x107)][_0x474cae(0x142)],'gradient':this[_0x474cae(0x176)][_0x474cae(0x184)]||{0.25:_0x474cae(0x127),0.55:_0x474cae(0x181),0.85:'rgb(216,216,216)',0x1:_0x474cae(0x175)}}));var _0x42ee3c=this[_0x474cae(0xf6)][_0x474cae(0x10d)][_0x474cae(0x11d)][_0x474cae(0x14e)](_0x474cae(0x122)),_0x15fc68=Cesium[_0x474cae(0x16e)][_0x474cae(0x179)]({'cull':{'enabled':!![]},'depthTest':{'enabled':!![]},'stencilTest':{'enabled':!![],'frontFunction':Cesium['StencilFunction'][_0x474cae(0x147)],'frontOperation':{'fail':Cesium[_0x474cae(0x16d)][_0x474cae(0x110)],'zFail':Cesium[_0x474cae(0x16d)]['KEEP'],'zPass':Cesium[_0x474cae(0x16d)][_0x474cae(0x18b)]},'backFunction':Cesium[_0x474cae(0x148)][_0x474cae(0x147)],'backOperation':{'fail':Cesium[_0x474cae(0x16d)]['KEEP'],'zFail':Cesium[_0x474cae(0x16d)][_0x474cae(0x110)],'zPass':Cesium['StencilOperation'][_0x474cae(0x18b)]},'reference':0x2,'mask':0x2},'blending':Cesium[_0x474cae(0x159)]['ALPHA_BLEND']}),_0x54582d=Math[_0x474cae(0xff)](Cesium[_0x474cae(0x182)](this[_0x474cae(0x107)][_0x474cae(0x100)],this['_mBoundsMax']*0.02))+0.1,_0x4badea=Cesium[_0x474cae(0x182)](this[_0x474cae(0x107)]['splitNum'],0x64),_0x22eae8=Math[_0x474cae(0x136)](this[_0x474cae(0x12b)][_0x474cae(0x157)],this[_0x474cae(0x12b)]['width']);this[_0x474cae(0x107)]['granularity']=_0x22eae8/=_0x4badea,this[_0x474cae(0x133)]=new mars3d__namespace[(_0x474cae(0x141))][(_0x474cae(0x14c))](_objectSpread2(_objectSpread2({},this['options']),{},{'rectangle':this[_0x474cae(0x12b)],'appearance':new Cesium[(_0x474cae(0x132))]({'aboveGround':!![],'renderState':_0x15fc68,'material':new Cesium[(_0x474cae(0x17c))]({'fabric':{'uniforms':{'image':_0x361fbc,'repeat':new Cesium[(_0x474cae(0x13a))](0x1,0x1),'color':new Cesium[(_0x474cae(0x17d))](0x1,0x1,0x1,0.01),'bumpMap':_0x42ee3c},'source':HeatMaterial},'translucent':!![]}),'vertexShaderSource':_0x474cae(0x160)['concat'](_0x54582d,';\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20p\x20+=vec4(disPos,0.0);\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20gl_Position\x20=\x20czm_modelViewProjectionRelativeToEye\x20*\x20p;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20'),'flat':!![]})})),this['_layer']['addGraphic'](this[_0x474cae(0x133)]);}},{'key':_0x4a3a33(0x15d),'value':function _0x51188a(_0x1ed88a){var _0x569e89=_0x4a3a33;return _0x1ed88a!==null&&_0x1ed88a!==void 0x0&&_0x1ed88a[_0x569e89(0x13d)]&&this['_rectangle']?mars3d__namespace[_0x569e89(0x12c)][_0x569e89(0x18a)](this['_rectangle']):this['_rectangle'];}}]),_0x3ebb61;}(BaseLayer);mars3d__namespace[_0x3e7ed7(0x130)][_0x3e7ed7(0x165)]=HeatLayer,mars3d__namespace[_0x3e7ed7(0x116)]['register'](_0x3e7ed7(0x163),HeatLayer);function getMercatorBounds(_0x89665){var _0xb17deb=_0x3e7ed7,_0x5ff0f4=mars3d__namespace[_0xb17deb(0x117)][_0xb17deb(0x15f)]([_0x89665[_0xb17deb(0x13c)],_0x89665['ymin']]),_0x549e2e=mars3d__namespace[_0xb17deb(0x117)][_0xb17deb(0x15f)]([_0x89665[_0xb17deb(0x16b)],_0x89665['ymax']]);return{'xmin':_0x5ff0f4[0x0],'ymin':_0x5ff0f4[0x1],'xmax':_0x549e2e[0x0],'ymax':_0x549e2e[0x1]};}function geLatLngBounds(_0x43cd66){var _0x4d7eba=_0x3e7ed7,_0xeeb223=mars3d__namespace[_0x4d7eba(0x117)]['mercator2lonlat']([_0x43cd66['xmin'],_0x43cd66['ymin']]),_0x1cabd7=mars3d__namespace[_0x4d7eba(0x117)][_0x4d7eba(0xfc)]([_0x43cd66['xmax'],_0x43cd66['ymax']]);return{'xmin':_0xeeb223[0x0],'ymin':_0xeeb223[0x1],'xmax':_0x1cabd7[0x0],'ymax':_0x1cabd7[0x1]};}function _0x4b67(){var _0x3b02ad=['sgvHDeXHEwvY','ywrKug9ZAxrPB24','BwLUq2fUDMfZu2L6zq','ywrKtgf5zxi','r3jHCgHPy0XHEwvY','mtiWrMzOyvvx','Eg1HEa','x21HCa','u3rLBMnPBe9WzxjHDgLVBG','uMvUzgvYu3rHDgu','y29VCMrPBMf0zxm','Bg5N','z2v0t3DUuhjVCgvYDhLtEw1IB2XZ','Bgf0','zgL2','zNjVBurLz3jLzxm','CMDIkdi1nsWYntuSmJu1kq','AgvHDfn0EwXL','y2fSBa','x3nLDe9WDgLVBNniB29R','zNjVBunHy2HL','DMfSDwvpzG','B2jQzwn0','twf0zxjPywW','q29SB3i','Cg9ZAxrPB25Z','x2nYzwf0zuDYyxbOAwm','zgvMAw5LuhjVCgvYDhK','CMDIkde0mcWXndaSmtqWkq','zgvMyxvSDfzHBhvL','zw51BwvYywjSzq','z3jHzgLLBNrbCMm','mtfbtw9uCvG','u3vWzxiGzxHWCMvZC2LVBIbTDxn0igvPDgHLCIbIzsbUDwXSig9YigeGzNvUy3rPB24','ody5ntaXn1fyAuzmqG','vxrPBa','BwvYz2u','zM9YBwf0uMvJDgfUz2XL','uKvqtefdrq','nhDrwvHJBG','x2HLyxq','C2v0uhjVDg90ExbLt2y','nJyWmJiXmg1yDvDutq','Ew1PBG','y3jLyxrL','y2XPzw50sgvPz2H0','BwvYy2f0B3iYBg9UBgf0','zMLSDgvY','x2nYzwf0zufYy0DYyxbOAwm','zMXVB3i','zgLMzKHLAwDODa','mJqYmdi4m3v0DMPRqq','CgfYC2u','y29UDgfPBMvY','CMvTB3zLq2HPBgq','ChvZAa','x19WCM90B19F','C3r5Bgu','CMfKAxvZ','z3jLzw4','x2DLDeHLyxrdyw52yxnjBwC','yMX1CG','DgHPCYbOyxnUj3qGyMvLBIbPBML0AwfSAxnLzcaTihn1CgvYkcKGAgfZBID0igjLzw4Gy2fSBgvK','x3jLBMrLCMvY','B3b0Aw9UCW','zNvUy3rPB24','s0vfua','tg5Ntgf0ug9PBNq','cIaGicaGicaGBwfYz2LUoJa7cIaGicaGicaGD2LKDgG6','ywjZ','nZG3nJnSvMHNu0y','C2HVDW','tgf5zxjvDgLS','ug9PBNruCMfUCW','yxbWBhK','y29UzMLNDxjL','mZu3mZa5mJrVyxPVqLO','y2XLyxi','y29UC3rYDwn0B3i','y2fUDMfZ','CM91BMq','x21HCNmZzf9WCML2yxrL','Dw5KzwzPBMvK','q2vZAxvT','Aw1Hz2uVCg5N','uMvJDgfUz2XL','BwfYCZnKlwHLyxrTyxa','Dg9bCNjHEq','z2v0uhjVDg90ExbLt2y','CMDIkdaSmcWWkq','ChjVDg90ExbL','y2XPzw50v2LKDgG','yxjJ','x3jLy3rHBMDSzq','ug9SEvv0AwW','CMvK','mtnYB0zWEeG','q2fUBM90ignHBgWGysbJBgfZCYbHCYbHigz1BMn0Aw9U','Bgf5zxi','x3bVC2L0Aw9UCW','rwXSAxbZB2LKu3vYzMfJzufWCgvHCMfUy2u','x2DYyxbOAwm','BgvUz3rO','mJiXmJq1yMXMCgXI','Bwf4','mtCXnJG5qNjlz1nr','x2XHC3rFBujVDw5KCW','rg9TvxrPBa','q2fYDgvZAwfUmG','y29Uy2f0','Eg1PBG','AxngB3jTyxq','A2v5CW','qMfZzuXHEwvY','Bwf4q2fUDMfZu2L6zq','z3jHCgHPyW','yxjJqMX1CLnJywXL','ChG7','ywrKr3jHCgHPyW','vKvsvevyx0zpuK1bva','y3nZvgv4Da','quXxqvLt','u3rLBMnPBez1BMn0Aw9U','y29UC3rYDwn0','x21cB3vUzhnnyxG','zMX5vg8','uMvJDgfUz2XLuhjPBwL0AxzL','mtHjuwnjANe','Dg9eyxrHvvjm','ntreugDJv2W','CMvTB3zLtgf5zxi','x2XHEwvY','yxjJuMfKAxvZu2nHBgu','DMfSDwu','zM9YrwfJAa','rgvYAxzLzcbJB25ZDhj1y3rVCNmGBwf5ig9UBhKGCMv0DxjUig9IAMvJDcbVCIb1BMrLzMLUzwq','z2v0','AgvPz2H0','x3jLBw92zwriB29R','qMXLBMrPBMDtDgf0zq','yMX1zq','x3vWzgf0zvbVC2L0Aw9UC0HVB2S','x19LC01VzhvSzq','z2v0uMvJDgfUz2XL','CMvTB3zLr3jHCgHPyW','Bg9UBgf0mM1LCMnHDg9Y','yxr0CMLIDxrLihzLyZmGCg9ZAxrPB24ZreHPz2G7cIaGicaGicaGicbHDhrYAwj1DguGDMvJmYbWB3nPDgLVBJnetg93oWOGicaGicaGicaGyxr0CMLIDxrLihzLyZiGC3q7cIaGicaGicaGicbHDhrYAwj1DguGzMXVyxqGyMf0y2HjzdSkicaGicaGicaGihvUAwzVCM0GC2fTCgXLCJjeigj1BxbnyxbFmZSkicaGicaGicaGihzHCNLPBMCGDMvJmYb2x3bVC2L0Aw9Utum7cIaGicaGicaGicb2yxj5Aw5NihzLyZmGDL9WB3nPDgLVBKvdoWOGicaGicaGicaGDMfYEwLUzYb2zwmYihzFC3q7cGOGicaGicaGicaGDM9PzcbTywLUkcKkicaGicaGicaGihSkicaGicaGicaGicaGDMvJncbWid0Gy3PTx2nVBxb1DgvqB3nPDgLVBIGPoWOGicaGicaGicaGicb2x3bVC2L0Aw9UtumGpsbWB3nPDgLVBJnesgLNAcaRihbVC2L0Aw9Um0rmB3C7cIaGicaGicaGicaGihzFCg9ZAxrPB25fqYa9icHJEM1FBw9KzwXwAwv3uMvSyxrPDMvuB0v5zsaQihaPlNH5EJSkicaGicaGicaGicaGDL9ZDca9ihn0oWOGicaGicaGicaGicb2zwm0ignVBg9Yid0GDgv4DhvYztjekgj1BxbnyxbFmYWGDL9ZDcK7cIaGicaGicaGicaGigzSB2f0ignLBNrLCKj1BxaGpsbKAxn0yw5JzsH2zwmZkdaUmcKSy29SB3iUCMDIktSkicaGicaGicaGicaGDMvJmYb1CerPCIa9ig5VCM1HBgL6zsH2x3bVC2L0Aw9UtumUEhL6ktSkicaGicaGicaGicaGDMvJmYbKAxnqB3mGpsb1CerPCIaQignLBNrLCKj1BxaGkIa','Ew1HEa','z2v0t3DUuhjVCgvYDhLezxnJCMLWDg9Y','AgvHDa','BwLU'];_0x4b67=function(){return _0x3b02ad;};return _0x4b67();}exports[_0x3e7ed7(0x165)]=HeatLayer,Object[_0x3e7ed7(0x180)](exports,_0x3e7ed7(0x15c),{'value':!![]}); | ||
})); |
{ | ||
"name": "mars3d-heatmap", | ||
"version": "3.2.4", | ||
"version": "3.3.0", | ||
"description": "Mars3D平台插件,结合heatmap可视化功能插件", | ||
@@ -13,30 +13,6 @@ "main": "dist/mars3d-heatmap.js", | ||
"devDependencies": { | ||
"mars3d": "^3.2.4", | ||
"@babel/core": "^7.14.3", | ||
"@babel/eslint-parser": "^7.14.3", | ||
"@babel/plugin-proposal-class-properties": "^7.14.3", | ||
"@babel/plugin-transform-runtime": "^7.14.3", | ||
"@babel/preset-env": "^7.14.3", | ||
"babel-eslint": "^10.1.0", | ||
"babel-loader": "^8.2.2", | ||
"eslint": "^7.26.0", | ||
"eslint-config-prettier": "^7.2.0", | ||
"eslint-plugin-import": "^2.22.1", | ||
"eslint-plugin-node": "^11.1.0", | ||
"eslint-plugin-prettier": "^3.3.1", | ||
"eslint-plugin-promise": "^4.3.1", | ||
"prettier": "^2.2.1", | ||
"webpack": "^4.46.0", | ||
"webpack-cli": "^3.3.12", | ||
"webpack-glsl-loader": "^1.0.1", | ||
"javascript-obfuscator": "^2.18.1", | ||
"webpack-obfuscator": "^2.6.0" | ||
"mars3d": "^3.3.0" | ||
}, | ||
"scripts": { | ||
"build": "npm run lint && webpack --env.prod --env.min --progress --profile --colors --config ./scripts/webpack.config.js && webpack --env.prod --progress --profile --colors --config ./scripts/webpack.config.js --devtool source-map", | ||
"build-src": "npm run lint && webpack --env.prod --progress --profile --colors --config ./scripts/webpack.config.js --devtool source-map", | ||
"build-min": "npm run lint && webpack --env.prod --env.min --progress --profile --colors --config ./scripts/webpack.config.js", | ||
"build-npm": "npm run lint && webpack --env.prod --env.min --progress --profile --colors --config ./scripts/webpack.npm.js && node scripts/npm/buildNpm.js", | ||
"lint": "eslint ./src/**/*.{js,ts} --fix", | ||
"push": "npm publish --registry=https://registry.npmjs.org" | ||
"lint": "eslint ./src/**/*.{js,ts} --fix" | ||
}, | ||
@@ -63,3 +39,13 @@ "repository": { | ||
"license": "Apache-2.0", | ||
"homepage": "http://mars3d.cn" | ||
"homepage": "http://mars3d.cn", | ||
"build": { | ||
"plugin": true, | ||
"globals": { | ||
"@turf/turf": "turf", | ||
"mars3d-cesium": "Cesium", | ||
"mars3d": "mars3d", | ||
"@mars3d/heatmap.js": "h337" | ||
}, | ||
"minify": "obfuscator" | ||
} | ||
} |
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
Obfuscated code
Supply chain riskObfuscated files are intentionally packed to hide their behavior. This could be a sign of malware.
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
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
Minified code
QualityThis package contains minified code. This may be harmless in some cases where minified code is included in packaged libraries, however packages on npm should not minify code.
Found 1 instance in 1 package
1
0
28394
109
1