mars3d-heatmap 3.1.15 → 3.1.21
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/dist/mars3d-heatmap.js +3 -3
- package/package.json +6 -3
- package/index.html +0 -146
package/README.md
CHANGED
package/dist/mars3d-heatmap.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Mars3D平台插件,结合heatmap可视化功能插件
|
|
3
|
-
* 版本信息:v3.1.
|
|
4
|
-
* 编译日期:
|
|
3
|
+
* 版本信息:v3.1.21
|
|
4
|
+
* 编译日期:2022-01-08 18:18:09
|
|
5
5
|
* 版权所有:Copyright by 火星科技 http://mars3d.cn
|
|
6
6
|
*/
|
|
7
7
|
(function webpackUniversalModuleDefinition(window) {
|
|
@@ -33,7 +33,7 @@
|
|
|
33
33
|
window['h337'] = heatmap
|
|
34
34
|
}
|
|
35
35
|
|
|
36
|
-
function a0_0x34ff(){var _0x1e29f5=['mars3dHeatmap','toArray','Util','DomUtil','getRectangle','round','328GbOYDL','isFormat','PolyUtil','KEEP','maxCanvasSize','xmax','splitNum','show','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','clientHeight','arcRadiusScale','lat','enumerable','min','_getHeatCanvasImg','green','_map','height','Cesium','RenderState','\x0a\x20\x20\x20\x20\x20\x20\x20\x20margin:0;\x0a\x20\x20\x20\x20\x20\x20\x20\x20width:','clientWidth','body','Material','arcBlurScale','call','ymin','configurable','setData','_last_mBounds','_removedHook','floor','lonlat2mercator','defaultValue','Rectangle','PointTrans','merge','setPrototypeOf','fromCache','_layer','graphic','VERTEX_FORMAT','default','forEach','_updatePositionsHook','px;','fromDegrees','rgb(0,0,0)','flyTo','heatStyle','object','getPrototypeOf','getOwnPropertySymbols','image/png','red','keys','GraphicLayer','prototype','granularity','BlendingState','getOwnPropertyDescriptors','constructor','container','_mBoundsMax','ymax','create','string','register','removeLayer','sham','_mars3d_private','StencilFunction','rgb(140,140,140)','radius','function','131766LvxWnV','1217884uGPenx','defineProperty','rgb(216,216,216)','_addedHook','addLayer','_mountedHook','options','construct','ALPHA_BLEND','Super\x20expression\x20must\x20either\x20be\x20null\x20or\x20a\x20function','gradientArc','xmin','REPLACE','removeChild','BaseLayer','addPosition','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','apply','_positions','minCanvasSize','_createGraphic','flyToByAnimationEnd','3109266jNPlbe','mercator2lonlat','style','length','exports','mars3d-heatmap','__esModule','3wlGwWm','key','1159659TwDsXs','1291203akGGoT','RectanglePrimitive','_rectangle','Color','points','getOwnPropertyDescriptor','1505agavwP','ALWAYS','__proto__','StencilOperation','canvas','filter','configure','abs','hasOwnProperty','div','_createArcGraphic','concat','push','blue','clear','layer','3006190roIypK','max','value','writable','addGraphic','bind','Cannot\x20call\x20a\x20class\x20as\x20a\x20function','_graphic','px;\x0a\x20\x20\x20\x20\x20\x20\x20\x20height:','h337','_heat',';\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','parse','rectangle','5ZmPZFP','EllipsoidSurfaceAppearance','Cartesian2','lng','toDataURL','toStringTag','defineProperties','HeatLayer','positions','heat','width','cssText'];a0_0x34ff=function(){return _0x1e29f5;};return a0_0x34ff();}var a0_0x5d3c2d=a0_0x3b5e;function a0_0x3b5e(_0x277e44,_0x26d277){var _0x34ff0c=a0_0x34ff();return a0_0x3b5e=function(_0x3b5ecb,_0x5943f4){_0x3b5ecb=_0x3b5ecb-0x1c1;var _0x365a9d=_0x34ff0c[_0x3b5ecb];return _0x365a9d;},a0_0x3b5e(_0x277e44,_0x26d277);}(function(_0xc96b59,_0x5283d8){var _0x34a058=a0_0x3b5e,_0x1efe2f=_0xc96b59();while(!![]){try{var _0x1dee9c=parseInt(_0x34a058(0x233))/0x1*(-parseInt(_0x34a058(0x215))/0x2)+parseInt(_0x34a058(0x236))/0x3+-parseInt(_0x34a058(0x216))/0x4+-parseInt(_0x34a058(0x25a))/0x5*(-parseInt(_0x34a058(0x22c))/0x6)+-parseInt(_0x34a058(0x23c))/0x7*(-parseInt(_0x34a058(0x1ca))/0x8)+parseInt(_0x34a058(0x235))/0x9+-parseInt(_0x34a058(0x24c))/0xa;if(_0x1dee9c===_0x5283d8)break;else _0x1efe2f['push'](_0x1efe2f['shift']());}catch(_0x2b2756){_0x1efe2f['push'](_0x1efe2f['shift']());}}}(a0_0x34ff,0x45393),window[a0_0x5d3c2d(0x1c4)]=function(_0x1fdb58){var _0x1e0e2a={};function _0x58afcb(_0x2c0925){var _0x52852b=a0_0x3b5e;if(_0x1e0e2a[_0x2c0925])return _0x1e0e2a[_0x2c0925]['exports'];var _0x49718c=_0x1e0e2a[_0x2c0925]={'i':_0x2c0925,'l':!0x1,'exports':{}};return _0x1fdb58[_0x2c0925]['call'](_0x49718c['exports'],_0x49718c,_0x49718c[_0x52852b(0x230)],_0x58afcb),_0x49718c['l']=!0x0,_0x49718c[_0x52852b(0x230)];}return _0x58afcb['m']=_0x1fdb58,_0x58afcb['c']=_0x1e0e2a,_0x58afcb['d']=function(_0x4c2a0f,_0x3a390b,_0x302794){var _0x5d217d=a0_0x3b5e;_0x58afcb['o'](_0x4c2a0f,_0x3a390b)||Object[_0x5d217d(0x217)](_0x4c2a0f,_0x3a390b,{'enumerable':!0x0,'get':_0x302794});},_0x58afcb['r']=function(_0x491cd3){var _0x310869=a0_0x3b5e;'undefined'!=typeof Symbol&&Symbol[_0x310869(0x25f)]&&Object[_0x310869(0x217)](_0x491cd3,Symbol[_0x310869(0x25f)],{'value':'Module'}),Object[_0x310869(0x217)](_0x491cd3,_0x310869(0x232),{'value':!0x0});},_0x58afcb['t']=function(_0x2ec1bc,_0x3e37fe){var _0x3445b=a0_0x3b5e;if(0x1&_0x3e37fe&&(_0x2ec1bc=_0x58afcb(_0x2ec1bc)),0x8&_0x3e37fe)return _0x2ec1bc;if(0x4&_0x3e37fe&&'object'==typeof _0x2ec1bc&&_0x2ec1bc&&_0x2ec1bc[_0x3445b(0x232)])return _0x2ec1bc;var _0x343bc6=Object[_0x3445b(0x20b)](null);if(_0x58afcb['r'](_0x343bc6),Object['defineProperty'](_0x343bc6,_0x3445b(0x1f4),{'enumerable':!0x0,'value':_0x2ec1bc}),0x2&_0x3e37fe&&_0x3445b(0x20c)!=typeof _0x2ec1bc){for(var _0x420306 in _0x2ec1bc)_0x58afcb['d'](_0x343bc6,_0x420306,function(_0x5e7f58){return _0x2ec1bc[_0x5e7f58];}[_0x3445b(0x251)](null,_0x420306));}return _0x343bc6;},_0x58afcb['n']=function(_0x1b5271){var _0x9bccd7=a0_0x3b5e,_0x4d0aff=_0x1b5271&&_0x1b5271[_0x9bccd7(0x232)]?function(){var _0xc8b53e=_0x9bccd7;return _0x1b5271[_0xc8b53e(0x1f4)];}:function(){return _0x1b5271;};return _0x58afcb['d'](_0x4d0aff,'a',_0x4d0aff),_0x4d0aff;},_0x58afcb['o']=function(_0xfe7c1d,_0x2024d1){var _0x376930=a0_0x3b5e;return Object['prototype'][_0x376930(0x244)][_0x376930(0x1e3)](_0xfe7c1d,_0x2024d1);},_0x58afcb['p']='',_0x58afcb(_0x58afcb['s']=0xd);}([function(_0x2796f0,_0x2fa984){var _0x4b0cb7=a0_0x5d3c2d;_0x2796f0[_0x4b0cb7(0x230)]=window[_0x4b0cb7(0x1dc)];},function(_0x5a4ef0,_0x10a955){var _0x3d9621=a0_0x5d3c2d;_0x5a4ef0[_0x3d9621(0x230)]=window['mars3d'];},function(_0x2af81d,_0xfe9a67){var _0x10fd84=a0_0x5d3c2d;function _0x18b30b(_0x49e739){var _0x105614=a0_0x3b5e;return _0x2af81d['exports']=_0x18b30b=Object[_0x105614(0x1ef)]?Object[_0x105614(0x1fd)]:function(_0x58c473){var _0x873afc=_0x105614;return _0x58c473[_0x873afc(0x23e)]||Object['getPrototypeOf'](_0x58c473);},_0x2af81d[_0x105614(0x230)]['default']=_0x2af81d[_0x105614(0x230)],_0x2af81d[_0x105614(0x230)][_0x105614(0x232)]=!0x0,_0x18b30b(_0x49e739);}_0x2af81d[_0x10fd84(0x230)]=_0x18b30b,_0x2af81d[_0x10fd84(0x230)][_0x10fd84(0x1f4)]=_0x2af81d['exports'],_0x2af81d[_0x10fd84(0x230)][_0x10fd84(0x232)]=!0x0;},function(_0x31e48c,_0x8844bf){var _0x315d08=a0_0x5d3c2d;_0x31e48c[_0x315d08(0x230)]=_0x315d08(0x226);},function(_0xcf5f0e,_0x443f54){var _0x44871e=a0_0x5d3c2d;_0xcf5f0e[_0x44871e(0x230)]=function(_0x3346fa,_0x43aa82,_0x5680b9){var _0x51c273=_0x44871e;return _0x43aa82 in _0x3346fa?Object[_0x51c273(0x217)](_0x3346fa,_0x43aa82,{'value':_0x5680b9,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x3346fa[_0x43aa82]=_0x5680b9,_0x3346fa;},_0xcf5f0e[_0x44871e(0x230)]['default']=_0xcf5f0e['exports'],_0xcf5f0e['exports'][_0x44871e(0x232)]=!0x0;},function(_0x5ba204,_0x5d3e10){var _0x55d9c1=a0_0x5d3c2d;_0x5ba204[_0x55d9c1(0x230)]=function(_0x2c84d1,_0x3eafe8){var _0x598ddc=_0x55d9c1;if(!(_0x2c84d1 instanceof _0x3eafe8))throw new TypeError(_0x598ddc(0x252));},_0x5ba204[_0x55d9c1(0x230)][_0x55d9c1(0x1f4)]=_0x5ba204[_0x55d9c1(0x230)],_0x5ba204[_0x55d9c1(0x230)]['__esModule']=!0x0;},function(_0x2f0808,_0x12fd29){var _0x8568ca=a0_0x5d3c2d;function _0x104703(_0x5f0c55,_0x469a3){var _0x130c7a=a0_0x3b5e;for(var _0x563922=0x0;_0x563922<_0x469a3[_0x130c7a(0x22f)];_0x563922++){var _0x23632f=_0x469a3[_0x563922];_0x23632f[_0x130c7a(0x1d6)]=_0x23632f[_0x130c7a(0x1d6)]||!0x1,_0x23632f[_0x130c7a(0x1e5)]=!0x0,_0x130c7a(0x24e)in _0x23632f&&(_0x23632f[_0x130c7a(0x24f)]=!0x0),Object[_0x130c7a(0x217)](_0x5f0c55,_0x23632f[_0x130c7a(0x234)],_0x23632f);}}_0x2f0808['exports']=function(_0xa637b,_0x18f134,_0x494c8e){var _0x4bbf45=a0_0x3b5e;return _0x18f134&&_0x104703(_0xa637b[_0x4bbf45(0x203)],_0x18f134),_0x494c8e&&_0x104703(_0xa637b,_0x494c8e),_0xa637b;},_0x2f0808[_0x8568ca(0x230)][_0x8568ca(0x1f4)]=_0x2f0808[_0x8568ca(0x230)],_0x2f0808[_0x8568ca(0x230)][_0x8568ca(0x232)]=!0x0;},function(_0x377b06,_0x3cdae2,_0x10f58d){var _0xaf80b2=a0_0x5d3c2d,_0xb84965=_0x10f58d(0x9);_0x377b06['exports']=function(_0x208cda,_0x219c27){var _0x5e4b4b=a0_0x3b5e;if(_0x5e4b4b(0x214)!=typeof _0x219c27&&null!==_0x219c27)throw new TypeError(_0x5e4b4b(0x21f));_0x208cda['prototype']=Object[_0x5e4b4b(0x20b)](_0x219c27&&_0x219c27[_0x5e4b4b(0x203)],{'constructor':{'value':_0x208cda,'writable':!0x0,'configurable':!0x0}}),_0x219c27&&_0xb84965(_0x208cda,_0x219c27);},_0x377b06[_0xaf80b2(0x230)][_0xaf80b2(0x1f4)]=_0x377b06[_0xaf80b2(0x230)],_0x377b06[_0xaf80b2(0x230)]['__esModule']=!0x0;},function(_0x2fe990,_0x586bc4,_0x3ff3ce){var _0xc8c688=a0_0x5d3c2d,_0x3eba50=_0x3ff3ce(0xa)[_0xc8c688(0x1f4)],_0x464c1b=_0x3ff3ce(0xb);_0x2fe990[_0xc8c688(0x230)]=function(_0x42fe1a,_0x41803f){var _0x2b28b3=_0xc8c688;if(_0x41803f&&(_0x2b28b3(0x1fc)===_0x3eba50(_0x41803f)||_0x2b28b3(0x214)==typeof _0x41803f))return _0x41803f;if(void 0x0!==_0x41803f)throw new TypeError('Derived\x20constructors\x20may\x20only\x20return\x20object\x20or\x20undefined');return _0x464c1b(_0x42fe1a);},_0x2fe990['exports']['default']=_0x2fe990[_0xc8c688(0x230)],_0x2fe990['exports'][_0xc8c688(0x232)]=!0x0;},function(_0x48db98,_0x220589){var _0x4bc5e9=a0_0x5d3c2d;function _0x277846(_0x16e2c1,_0x1f07ae){var _0x4f60ac=a0_0x3b5e;return _0x48db98[_0x4f60ac(0x230)]=_0x277846=Object['setPrototypeOf']||function(_0x54b42d,_0x55472e){return _0x54b42d['__proto__']=_0x55472e,_0x54b42d;},_0x48db98['exports']['default']=_0x48db98['exports'],_0x48db98[_0x4f60ac(0x230)][_0x4f60ac(0x232)]=!0x0,_0x277846(_0x16e2c1,_0x1f07ae);}_0x48db98[_0x4bc5e9(0x230)]=_0x277846,_0x48db98['exports'][_0x4bc5e9(0x1f4)]=_0x48db98[_0x4bc5e9(0x230)],_0x48db98[_0x4bc5e9(0x230)][_0x4bc5e9(0x232)]=!0x0;},function(_0x4377b5,_0x5dc0ef){var _0x4a2c60=a0_0x5d3c2d;function _0x1e9a37(_0x8f4fbe){var _0xc4d058=a0_0x3b5e;return _0xc4d058(0x214)==typeof Symbol&&'symbol'==typeof Symbol['iterator']?(_0x4377b5[_0xc4d058(0x230)]=_0x1e9a37=function(_0x23b34c){return typeof _0x23b34c;},_0x4377b5[_0xc4d058(0x230)][_0xc4d058(0x1f4)]=_0x4377b5[_0xc4d058(0x230)],_0x4377b5[_0xc4d058(0x230)][_0xc4d058(0x232)]=!0x0):(_0x4377b5['exports']=_0x1e9a37=function(_0x105774){var _0x5e7063=_0xc4d058;return _0x105774&&'function'==typeof Symbol&&_0x105774[_0x5e7063(0x207)]===Symbol&&_0x105774!==Symbol[_0x5e7063(0x203)]?'symbol':typeof _0x105774;},_0x4377b5['exports'][_0xc4d058(0x1f4)]=_0x4377b5['exports'],_0x4377b5['exports'][_0xc4d058(0x232)]=!0x0),_0x1e9a37(_0x8f4fbe);}_0x4377b5[_0x4a2c60(0x230)]=_0x1e9a37,_0x4377b5[_0x4a2c60(0x230)][_0x4a2c60(0x1f4)]=_0x4377b5[_0x4a2c60(0x230)],_0x4377b5[_0x4a2c60(0x230)][_0x4a2c60(0x232)]=!0x0;},function(_0x3c0b20,_0x9a6b9b){var _0x277260=a0_0x5d3c2d;_0x3c0b20[_0x277260(0x230)]=function(_0x2cb043){if(void 0x0===_0x2cb043)throw new ReferenceError('this\x20hasn\x27t\x20been\x20initialised\x20-\x20super()\x20hasn\x27t\x20been\x20called');return _0x2cb043;},_0x3c0b20[_0x277260(0x230)][_0x277260(0x1f4)]=_0x3c0b20[_0x277260(0x230)],_0x3c0b20['exports'][_0x277260(0x232)]=!0x0;},function(_0x378db7,_0x5e7009){var _0x3f13ac=a0_0x5d3c2d;_0x378db7[_0x3f13ac(0x230)]=window[_0x3f13ac(0x255)];},function(_0x261169,_0x2cf0cf,_0x3e7df3){'use strict';var _0x5bc5e9=a0_0x5d3c2d;_0x3e7df3['r'](_0x2cf0cf),_0x3e7df3['d'](_0x2cf0cf,'HeatLayer',function(){return _0x47a278;});var _0x55ebcd=_0x3e7df3(0x4),_0x3ad402=_0x3e7df3['n'](_0x55ebcd),_0x31c9ea=_0x3e7df3(0x5),_0x147b93=_0x3e7df3['n'](_0x31c9ea),_0x130e31=_0x3e7df3(0x6),_0x81832f=_0x3e7df3['n'](_0x130e31),_0x53212e=_0x3e7df3(0x7),_0x6c10bf=_0x3e7df3['n'](_0x53212e),_0x1887e5=_0x3e7df3(0x8),_0x3526ac=_0x3e7df3['n'](_0x1887e5),_0x165d79=_0x3e7df3(0x2),_0x139e41=_0x3e7df3['n'](_0x165d79),_0x5db689=_0x3e7df3(0x0),_0x480816=_0x3e7df3(0x1),_0x44acfe=_0x3e7df3(0x3),_0x242e86=_0x3e7df3['n'](_0x44acfe);function _0x589088(_0x558fae,_0x1e5811){var _0x7f702a=a0_0x3b5e,_0x1bb3bc=Object[_0x7f702a(0x201)](_0x558fae);if(Object[_0x7f702a(0x1fe)]){var _0x3f17c4=Object[_0x7f702a(0x1fe)](_0x558fae);_0x1e5811&&(_0x3f17c4=_0x3f17c4[_0x7f702a(0x241)](function(_0x5dae87){var _0x2755f7=_0x7f702a;return Object[_0x2755f7(0x23b)](_0x558fae,_0x5dae87)['enumerable'];})),_0x1bb3bc['push'][_0x7f702a(0x227)](_0x1bb3bc,_0x3f17c4);}return _0x1bb3bc;}function _0x3f7a8b(_0x7f8d1a){var _0x3cb71e=a0_0x3b5e;for(var _0x4938ac=0x1;_0x4938ac<arguments['length'];_0x4938ac++){var _0x2ffda5=null!=arguments[_0x4938ac]?arguments[_0x4938ac]:{};_0x4938ac%0x2?_0x589088(Object(_0x2ffda5),!0x0)[_0x3cb71e(0x1f5)](function(_0x582b06){_0x3ad402()(_0x7f8d1a,_0x582b06,_0x2ffda5[_0x582b06]);}):Object[_0x3cb71e(0x206)]?Object[_0x3cb71e(0x260)](_0x7f8d1a,Object[_0x3cb71e(0x206)](_0x2ffda5)):_0x589088(Object(_0x2ffda5))[_0x3cb71e(0x1f5)](function(_0x52c46f){var _0x16a44c=_0x3cb71e;Object[_0x16a44c(0x217)](_0x7f8d1a,_0x52c46f,Object[_0x16a44c(0x23b)](_0x2ffda5,_0x52c46f));});}return _0x7f8d1a;}function _0x4595f8(_0x46e260){var _0xeda70e=function(){var _0x54c3a5=a0_0x3b5e;if('undefined'==typeof Reflect||!Reflect[_0x54c3a5(0x21d)])return!0x1;if(Reflect[_0x54c3a5(0x21d)][_0x54c3a5(0x20f)])return!0x1;if(_0x54c3a5(0x214)==typeof Proxy)return!0x0;try{return Boolean[_0x54c3a5(0x203)]['valueOf']['call'](Reflect[_0x54c3a5(0x21d)](Boolean,[],function(){})),!0x0;}catch(_0x269b6b){return!0x1;}}();return function(){var _0x205e04=a0_0x3b5e,_0x4523c1,_0x287592=_0x139e41()(_0x46e260);if(_0xeda70e){var _0xcb380c=_0x139e41()(this)[_0x205e04(0x207)];_0x4523c1=Reflect['construct'](_0x287592,arguments,_0xcb380c);}else _0x4523c1=_0x287592[_0x205e04(0x227)](this,arguments);return _0x3526ac()(this,_0x4523c1);};}var _0x1b5d3d=_0x3e7df3(0xc),_0x11150b=_0x480816[_0x5bc5e9(0x24b)][_0x5bc5e9(0x224)],_0x4f830e={'maxOpacity':0.8,'minOpacity':0.1,'blur':0.85,'radius':0x19,'gradient':{0.4:_0x5bc5e9(0x249),0.6:_0x5bc5e9(0x1d9),0.8:'yellow',0.9:_0x5bc5e9(0x200)}},_0x4250f2={'arcRadiusScale':1.5,'arcBlurScale':1.5,'vertexFormat':_0x5db689[_0x5bc5e9(0x25b)][_0x5bc5e9(0x1f3)]},_0x47a278=function(_0x3cf34c){var _0x14709c=_0x5bc5e9;_0x6c10bf()(_0x392e3c,_0x3cf34c);var _0x2e93d3=_0x4595f8(_0x392e3c);function _0x392e3c(){var _0x434a1=a0_0x3b5e,_0x48bc95,_0x1d74a9=arguments[_0x434a1(0x22f)]>0x0&&void 0x0!==arguments[0x0]?arguments[0x0]:{};return _0x147b93()(this,_0x392e3c),(_0x48bc95=_0x2e93d3[_0x434a1(0x1e3)](this,_0x1d74a9))[_0x434a1(0x21c)][_0x434a1(0x1ce)]=_0x5db689['defaultValue'](_0x48bc95[_0x434a1(0x21c)][_0x434a1(0x1ce)],document['body'][_0x434a1(0x1df)]),_0x48bc95[_0x434a1(0x21c)][_0x434a1(0x1ce)]=Math['min'](_0x48bc95[_0x434a1(0x21c)][_0x434a1(0x1ce)],0x1388),_0x48bc95[_0x434a1(0x21c)][_0x434a1(0x229)]=_0x5db689[_0x434a1(0x1eb)](_0x48bc95[_0x434a1(0x21c)][_0x434a1(0x229)],document[_0x434a1(0x1e0)][_0x434a1(0x1d3)]),_0x48bc95['options'][_0x434a1(0x229)]=Math['max'](_0x48bc95[_0x434a1(0x21c)][_0x434a1(0x229)],0x2bc),_0x48bc95[_0x434a1(0x21c)][_0x434a1(0x1fb)]=_0x3f7a8b(_0x3f7a8b({},_0x4f830e),_0x48bc95[_0x434a1(0x21c)][_0x434a1(0x1fb)]||{}),_0x48bc95[_0x434a1(0x21c)][_0x434a1(0x22e)]=_0x3f7a8b(_0x3f7a8b({},_0x4250f2),_0x48bc95[_0x434a1(0x21c)][_0x434a1(0x22e)]||{}),_0x48bc95;}return _0x81832f()(_0x392e3c,[{'key':'layer','get':function(){return this['_layer'];}},{'key':_0x14709c(0x1fb),'get':function(){var _0x43d4d2=_0x14709c;return this[_0x43d4d2(0x21c)][_0x43d4d2(0x1fb)];},'set':function(_0x564b94){var _0xb80f01=_0x14709c;this[_0xb80f01(0x21c)][_0xb80f01(0x1fb)]=_0x480816['Util'][_0xb80f01(0x1ee)](this[_0xb80f01(0x21c)][_0xb80f01(0x1fb)],_0x564b94),this['_heat']&&this[_0xb80f01(0x256)]['configure'](this['options'][_0xb80f01(0x1fb)]);}},{'key':_0x14709c(0x22e),'get':function(){var _0x23e463=_0x14709c;return this[_0x23e463(0x21c)][_0x23e463(0x22e)];},'set':function(_0x382709){var _0x1ec69e=_0x14709c;this['options'][_0x1ec69e(0x22e)]=_0x480816[_0x1ec69e(0x1c6)][_0x1ec69e(0x1ee)](this['options'][_0x1ec69e(0x22e)],_0x382709);}},{'key':_0x14709c(0x262),'get':function(){var _0x5b05a=_0x14709c;return this[_0x5b05a(0x228)];},'set':function(_0x358e92){var _0x474204=_0x14709c;this[_0x474204(0x228)]=_0x358e92,this[_0x474204(0x1f6)]();}},{'key':'coordinates','get':function(){var _0x4a2d87=_0x14709c,_0x1b44b0=[];return this[_0x4a2d87(0x23a)][_0x4a2d87(0x1f5)](function(_0x3184d5){var _0x3a5b05=_0x4a2d87;_0x1b44b0['push'](_0x3184d5[_0x3a5b05(0x1c5)]());}),_0x1b44b0;}},{'key':_0x14709c(0x259),'get':function(){return this['_rectangle'];}},{'key':_0x14709c(0x21b),'value':function(){var _0x393914=_0x14709c;this[_0x393914(0x1f1)]=new _0x480816[(_0x393914(0x24b))][(_0x393914(0x202))]({'noLayerManage':!0x0}),this[_0x393914(0x1f1)][_0x393914(0x210)]=!0x0;}},{'key':_0x14709c(0x219),'value':function(){var _0xaae59f=_0x14709c;this['_map'][_0xaae59f(0x21a)](this[_0xaae59f(0x1f1)]),this['options']['positions']&&(this['positions']=this[_0xaae59f(0x21c)][_0xaae59f(0x262)]),this[_0xaae59f(0x21c)][_0xaae59f(0x1fa)]&&this[_0xaae59f(0x22b)]();}},{'key':_0x14709c(0x1e8),'value':function(){var _0x1024fb=_0x14709c;this[_0x1024fb(0x1fb)]['container']&&(this['_map']['container'][_0x1024fb(0x223)](this[_0x1024fb(0x1fb)]['container']),delete this['heatStyle']['container']),this['clear'](),this[_0x1024fb(0x1da)][_0x1024fb(0x20e)](this['_layer']);}},{'key':_0x14709c(0x225),'value':function(_0x4a12fa){var _0x2df816=_0x14709c;this['_positions']=this[_0x2df816(0x228)]||[],this['_positions']['push'](_0x4a12fa),this['_updatePositionsHook']();}},{'key':'clear','value':function(){var _0x43ce5d=_0x14709c;this[_0x43ce5d(0x253)]&&(this[_0x43ce5d(0x1f1)]['removeGraphic'](this[_0x43ce5d(0x253)],!0x0),delete this[_0x43ce5d(0x253)]);}},{'key':'_updatePositionsHook','value':function(){var _0x2473db=_0x14709c;if(!this[_0x2473db(0x1d1)]||!this['_map']||!this[_0x2473db(0x262)]||0x0===this[_0x2473db(0x262)]['length'])return this;var _0x55ae6d=this[_0x2473db(0x1d8)]();return this['style']['arc']?this[_0x2473db(0x246)](_0x55ae6d):this[_0x2473db(0x22a)](_0x55ae6d),this;}},{'key':_0x14709c(0x1d8),'value':function(){var _0x3d017b=_0x14709c,_0x358de6,_0x2262d2,_0x4aa522,_0x46d3df,_0x194596,_0x27161a,_0x3b5247=this[_0x3d017b(0x228)],_0x4136ca=[];_0x3b5247['forEach'](function(_0x5734c2){var _0x47dce0=_0x3d017b,_0x20c3d1=_0x480816['LatLngPoint'][_0x47dce0(0x258)](_0x5734c2);_0x20c3d1&&(_0x20c3d1[_0x47dce0(0x24e)]=_0x5734c2[_0x47dce0(0x24e)]||0x1,null==_0x4aa522?(_0x4aa522=_0x20c3d1[_0x47dce0(0x25d)],_0x46d3df=_0x20c3d1[_0x47dce0(0x25d)],_0x194596=_0x20c3d1[_0x47dce0(0x1d5)],_0x27161a=_0x20c3d1[_0x47dce0(0x1d5)]):(_0x4aa522=Math[_0x47dce0(0x1d7)](_0x4aa522,_0x20c3d1[_0x47dce0(0x25d)]),_0x46d3df=Math[_0x47dce0(0x24d)](_0x46d3df,_0x20c3d1[_0x47dce0(0x25d)]),_0x194596=Math[_0x47dce0(0x1d7)](_0x194596,_0x20c3d1[_0x47dce0(0x1d5)]),_0x27161a=Math[_0x47dce0(0x24d)](_0x27161a,_0x20c3d1[_0x47dce0(0x1d5)])),_0x4136ca[_0x47dce0(0x248)](_0x20c3d1));});var _0x10c846,_0x20a54f,_0x294d10,_0x139369=1.5*this[_0x3d017b(0x1fb)][_0x3d017b(0x213)],_0x5521e6={'xmin':_0x4aa522,'xmax':_0x46d3df,'ymin':_0x194596,'ymax':_0x27161a},_0x83c06a=(_0x10c846=_0x5521e6,_0x20a54f=_0x480816['PointTrans'][_0x3d017b(0x1ea)]([_0x10c846[_0x3d017b(0x221)],_0x10c846[_0x3d017b(0x1e4)]]),_0x294d10=_0x480816['PointTrans'][_0x3d017b(0x1ea)]([_0x10c846[_0x3d017b(0x1cf)],_0x10c846['ymax']]),{'xmin':_0x20a54f[0x0],'ymin':_0x20a54f[0x1],'xmax':_0x294d10[0x0],'ymax':_0x294d10[0x1]}),_0x3fd7a4=Math['abs'](_0x83c06a['xmax']-_0x83c06a[_0x3d017b(0x221)]),_0x1ea95d=Math[_0x3d017b(0x243)](_0x83c06a['ymax']-_0x83c06a[_0x3d017b(0x1e4)]),_0xd84a21=Math['max'](_0x3fd7a4,_0x1ea95d),_0x4caf95=Math['min'](_0x3fd7a4,_0x1ea95d);this[_0x3d017b(0x209)]=_0xd84a21;var _0x4a45bc=0x1;_0xd84a21>this['options'][_0x3d017b(0x1ce)]?_0x4caf95/(_0x4a45bc=_0xd84a21/this[_0x3d017b(0x21c)][_0x3d017b(0x1ce)])<this[_0x3d017b(0x21c)][_0x3d017b(0x229)]&&(_0x4a45bc=_0x4caf95/this[_0x3d017b(0x21c)][_0x3d017b(0x229)]):_0x4caf95<this[_0x3d017b(0x21c)][_0x3d017b(0x229)]&&_0xd84a21/(_0x4a45bc=_0x4caf95/this[_0x3d017b(0x21c)]['minCanvasSize'])>this[_0x3d017b(0x21c)]['maxCanvasSize']&&(_0x4a45bc=_0xd84a21/this[_0x3d017b(0x21c)][_0x3d017b(0x1ce)]);var _0x33a55a=_0x3fd7a4/_0x4a45bc+0x2*_0x139369,_0x29802b=_0x1ea95d/_0x4a45bc+0x2*_0x139369,_0x12f536=_0x139369*_0x4a45bc;_0x83c06a['xmin']-=_0x12f536,_0x83c06a['ymin']-=_0x12f536,_0x83c06a['xmax']+=_0x12f536,_0x83c06a['ymax']+=_0x12f536,_0x5521e6=function(_0x22ba83){var _0x2cbac5=_0x3d017b,_0x4f942f=_0x480816[_0x2cbac5(0x1ed)][_0x2cbac5(0x22d)]([_0x22ba83[_0x2cbac5(0x221)],_0x22ba83[_0x2cbac5(0x1e4)]]),_0x4453ac=_0x480816[_0x2cbac5(0x1ed)][_0x2cbac5(0x22d)]([_0x22ba83['xmax'],_0x22ba83['ymax']]);return{'xmin':_0x4f942f[0x0],'ymin':_0x4f942f[0x1],'xmax':_0x4453ac[0x0],'ymax':_0x4453ac[0x1]};}(_0x83c06a),this['_rectangle']=_0x5db689[_0x3d017b(0x1ec)][_0x3d017b(0x1f8)](_0x5521e6['xmin'],_0x5521e6[_0x3d017b(0x1e4)],_0x5521e6[_0x3d017b(0x1cf)],_0x5521e6[_0x3d017b(0x20a)]);var _0x57eb3a=null!==(_0x358de6=_0x4136ca[0x0][_0x3d017b(0x24e)])&&void 0x0!==_0x358de6?_0x358de6:0x1,_0x5f4d5c=null!==(_0x2262d2=_0x4136ca[0x0][_0x3d017b(0x24e)])&&void 0x0!==_0x2262d2?_0x2262d2:0x0,_0x3acc99=[];_0x4136ca[_0x3d017b(0x1f5)](function(_0x7c1d5a){var _0x6ce571=_0x3d017b,_0x59b2dd=_0x480816['PointTrans'][_0x6ce571(0x1ea)]([_0x7c1d5a[_0x6ce571(0x25d)],_0x7c1d5a[_0x6ce571(0x1d5)]]),_0x128d77=_0x7c1d5a[_0x6ce571(0x24e)]||0x1,_0x54949f=Math[_0x6ce571(0x1c9)]((_0x59b2dd[0x0]-_0x83c06a['xmin'])/_0x4a45bc),_0x25c710=Math['round']((_0x83c06a[_0x6ce571(0x20a)]-_0x59b2dd[0x1])/_0x4a45bc);_0x57eb3a=Math['max'](_0x57eb3a,_0x128d77),_0x5f4d5c=Math[_0x6ce571(0x1d7)](_0x5f4d5c,_0x128d77),_0x3acc99['push']({'x':_0x54949f,'y':_0x25c710,'value':_0x128d77});});var _0x32a8f3={'min':_0x5f4d5c,'max':_0x57eb3a,'data':_0x3acc99};this['_last_heatData']=_0x32a8f3,this[_0x3d017b(0x1e7)]&&_0x83c06a['xmin']===this[_0x3d017b(0x1e7)][_0x3d017b(0x221)]&&_0x83c06a[_0x3d017b(0x1e4)]===this[_0x3d017b(0x1e7)]['ymin']&&_0x83c06a[_0x3d017b(0x1cf)]===this[_0x3d017b(0x1e7)][_0x3d017b(0x1cf)]&&_0x83c06a[_0x3d017b(0x20a)]===this[_0x3d017b(0x1e7)][_0x3d017b(0x20a)]||(this[_0x3d017b(0x1e7)]=_0x83c06a,this[_0x3d017b(0x1fb)][_0x3d017b(0x208)]||(this['heatStyle']['container']=_0x480816[_0x3d017b(0x1c7)][_0x3d017b(0x20b)](_0x3d017b(0x245),_0x3d017b(0x231),this[_0x3d017b(0x1da)]['container'])),this['heatStyle']['container'][_0x3d017b(0x22e)][_0x3d017b(0x1c3)]=_0x3d017b(0x1de)[_0x3d017b(0x247)](_0x33a55a,_0x3d017b(0x254))[_0x3d017b(0x247)](_0x29802b,_0x3d017b(0x1f7)),this[_0x3d017b(0x256)]?this['_heat']['configure'](this['heatStyle']):this[_0x3d017b(0x256)]=_0x1b5d3d[_0x3d017b(0x20b)](this[_0x3d017b(0x1fb)])),this[_0x3d017b(0x256)][_0x3d017b(0x1e6)](_0x32a8f3);var _0x490423=this[_0x3d017b(0x256)]['_renderer'][_0x3d017b(0x240)][_0x3d017b(0x25e)](_0x3d017b(0x1ff));return this[_0x3d017b(0x1fb)][_0x3d017b(0x208)]&&(this['_map'][_0x3d017b(0x208)][_0x3d017b(0x223)](this[_0x3d017b(0x1fb)][_0x3d017b(0x208)]),delete this[_0x3d017b(0x1fb)][_0x3d017b(0x208)]),_0x490423;}},{'key':_0x14709c(0x22a),'value':function(_0x44395e){var _0x33ed0b=_0x14709c;this[_0x33ed0b(0x24a)](),this[_0x33ed0b(0x253)]=new _0x480816['graphic'][(_0x33ed0b(0x237))](_0x3f7a8b(_0x3f7a8b({},this[_0x33ed0b(0x21c)]),{},{'rectangle':this[_0x33ed0b(0x238)],'appearance':new _0x5db689['EllipsoidSurfaceAppearance']({'material':new _0x5db689[(_0x33ed0b(0x1e1))]({'fabric':{'uniforms':{'image':_0x44395e},'source':_0x242e86['a']},'translucent':!0x0}),'flat':!0x0})})),this[_0x33ed0b(0x1f1)][_0x33ed0b(0x250)](this[_0x33ed0b(0x253)]);}},{'key':'_createArcGraphic','value':function(_0x2ea691){var _0xee1b6f=_0x14709c;this[_0xee1b6f(0x24a)](),this[_0xee1b6f(0x256)][_0xee1b6f(0x242)](_0x3f7a8b(_0x3f7a8b({},this[_0xee1b6f(0x1fb)]),{},{'radius':this[_0xee1b6f(0x1fb)][_0xee1b6f(0x213)]*this[_0xee1b6f(0x22e)][_0xee1b6f(0x1d4)],'blur':this[_0xee1b6f(0x1fb)]['blur']*this['style'][_0xee1b6f(0x1e2)],'gradient':this[_0xee1b6f(0x1fb)][_0xee1b6f(0x220)]||{0.25:_0xee1b6f(0x1f9),0.55:_0xee1b6f(0x212),0.85:_0xee1b6f(0x218),0x1:'rgb(255,255,255)'}}));var _0x4251fd=this['_heat']['_renderer']['canvas']['toDataURL'](_0xee1b6f(0x1ff)),_0x5b4956=_0x5db689[_0xee1b6f(0x1dd)][_0xee1b6f(0x1f0)]({'cull':{'enabled':!0x0},'depthTest':{'enabled':!0x0},'stencilTest':{'enabled':!0x0,'frontFunction':_0x5db689[_0xee1b6f(0x211)][_0xee1b6f(0x23d)],'frontOperation':{'fail':_0x5db689[_0xee1b6f(0x23f)][_0xee1b6f(0x1cd)],'zFail':_0x5db689[_0xee1b6f(0x23f)]['KEEP'],'zPass':_0x5db689['StencilOperation'][_0xee1b6f(0x222)]},'backFunction':_0x5db689['StencilFunction'][_0xee1b6f(0x23d)],'backOperation':{'fail':_0x5db689['StencilOperation']['KEEP'],'zFail':_0x5db689[_0xee1b6f(0x23f)][_0xee1b6f(0x1cd)],'zPass':_0x5db689['StencilOperation'][_0xee1b6f(0x222)]},'reference':0x2,'mask':0x2},'blending':_0x5db689[_0xee1b6f(0x205)][_0xee1b6f(0x21e)]}),_0x53853c=Math[_0xee1b6f(0x1e9)](_0x5db689[_0xee1b6f(0x1eb)](this[_0xee1b6f(0x22e)]['diffHeight'],0.02*this[_0xee1b6f(0x209)]))+0.1,_0x457c87=_0x5db689[_0xee1b6f(0x1eb)](this[_0xee1b6f(0x22e)][_0xee1b6f(0x1d0)],0x64),_0x4c9144=Math[_0xee1b6f(0x24d)](this[_0xee1b6f(0x238)][_0xee1b6f(0x1db)],this[_0xee1b6f(0x238)][_0xee1b6f(0x1c2)]);this[_0xee1b6f(0x22e)][_0xee1b6f(0x204)]=_0x4c9144/=_0x457c87,this[_0xee1b6f(0x253)]=new _0x480816[(_0xee1b6f(0x1f2))][(_0xee1b6f(0x237))](_0x3f7a8b(_0x3f7a8b({},this[_0xee1b6f(0x21c)]),{},{'rectangle':this[_0xee1b6f(0x238)],'appearance':new _0x5db689[(_0xee1b6f(0x25b))]({'aboveGround':!0x0,'renderState':_0x5b4956,'material':new _0x5db689['Material']({'fabric':{'uniforms':{'image':_0x2ea691,'repeat':new _0x5db689[(_0xee1b6f(0x25c))](0x1,0x1),'color':new _0x5db689[(_0xee1b6f(0x239))](0x1,0x1,0x1,0.01),'bumpMap':_0x4251fd},'source':_0x242e86['a']},'translucent':!0x0}),'vertexShaderSource':_0xee1b6f(0x1d2)[_0xee1b6f(0x247)](_0x53853c,_0xee1b6f(0x257)),'flat':!0x0})})),this[_0xee1b6f(0x1f1)][_0xee1b6f(0x250)](this[_0xee1b6f(0x253)]);}},{'key':_0x14709c(0x1c8),'value':function(_0x28148e){var _0x608390=_0x14709c;return null!=_0x28148e&&_0x28148e[_0x608390(0x1cb)]&&this[_0x608390(0x238)]?_0x480816[_0x608390(0x1cc)]['formatRectangle'](this['_rectangle']):this[_0x608390(0x238)];}}]),_0x392e3c;}(_0x11150b);_0x480816['layer'][_0x5bc5e9(0x261)]=_0x47a278,_0x480816['LayerUtil'][_0x5bc5e9(0x20d)](_0x5bc5e9(0x1c1),_0x47a278);}]));
|
|
36
|
+
(function(_0x433aa6,_0x373e9a){var _0x21d3a3=a0_0x545b,_0x45857f=_0x433aa6();while(!![]){try{var _0x364f55=-parseInt(_0x21d3a3(0x106))/0x1*(parseInt(_0x21d3a3(0x148))/0x2)+-parseInt(_0x21d3a3(0x10a))/0x3+-parseInt(_0x21d3a3(0x176))/0x4+-parseInt(_0x21d3a3(0xe1))/0x5+parseInt(_0x21d3a3(0x155))/0x6+-parseInt(_0x21d3a3(0x100))/0x7*(-parseInt(_0x21d3a3(0x158))/0x8)+parseInt(_0x21d3a3(0xf5))/0x9*(parseInt(_0x21d3a3(0x164))/0xa);if(_0x364f55===_0x373e9a)break;else _0x45857f['push'](_0x45857f['shift']());}catch(_0x298307){_0x45857f['push'](_0x45857f['shift']());}}}(a0_0x600b,0xdd1f2),window['mars3dHeatmap']=function(_0x5d2831){var _0x57cb41={};function _0x33ebbc(_0x46dd07){var _0xd28461=a0_0x545b;if(_0x57cb41[_0x46dd07])return _0x57cb41[_0x46dd07]['exports'];var _0x6ae0c7=_0x57cb41[_0x46dd07]={'i':_0x46dd07,'l':!0x1,'exports':{}};return _0x5d2831[_0x46dd07][_0xd28461(0x115)](_0x6ae0c7[_0xd28461(0xf9)],_0x6ae0c7,_0x6ae0c7['exports'],_0x33ebbc),_0x6ae0c7['l']=!0x0,_0x6ae0c7[_0xd28461(0xf9)];}return _0x33ebbc['m']=_0x5d2831,_0x33ebbc['c']=_0x57cb41,_0x33ebbc['d']=function(_0x3f326b,_0x47949f,_0x29462e){var _0x5f1e5e=a0_0x545b;_0x33ebbc['o'](_0x3f326b,_0x47949f)||Object[_0x5f1e5e(0x15e)](_0x3f326b,_0x47949f,{'enumerable':!0x0,'get':_0x29462e});},_0x33ebbc['r']=function(_0x3e1cc4){var _0xb80045=a0_0x545b;'undefined'!=typeof Symbol&&Symbol['toStringTag']&&Object[_0xb80045(0x15e)](_0x3e1cc4,Symbol[_0xb80045(0xfc)],{'value':_0xb80045(0xf7)}),Object[_0xb80045(0x15e)](_0x3e1cc4,'__esModule',{'value':!0x0});},_0x33ebbc['t']=function(_0x4d9c08,_0x42deb6){var _0x4bbc2b=a0_0x545b;if(0x1&_0x42deb6&&(_0x4d9c08=_0x33ebbc(_0x4d9c08)),0x8&_0x42deb6)return _0x4d9c08;if(0x4&_0x42deb6&&_0x4bbc2b(0x116)==typeof _0x4d9c08&&_0x4d9c08&&_0x4d9c08[_0x4bbc2b(0x145)])return _0x4d9c08;var _0x5db4a8=Object[_0x4bbc2b(0xfe)](null);if(_0x33ebbc['r'](_0x5db4a8),Object[_0x4bbc2b(0x15e)](_0x5db4a8,_0x4bbc2b(0x144),{'enumerable':!0x0,'value':_0x4d9c08}),0x2&_0x42deb6&&_0x4bbc2b(0x11d)!=typeof _0x4d9c08){for(var _0x4f2061 in _0x4d9c08)_0x33ebbc['d'](_0x5db4a8,_0x4f2061,function(_0x48cdad){return _0x4d9c08[_0x48cdad];}['bind'](null,_0x4f2061));}return _0x5db4a8;},_0x33ebbc['n']=function(_0x3fe72a){var _0x215cb7=a0_0x545b,_0x545c2b=_0x3fe72a&&_0x3fe72a[_0x215cb7(0x145)]?function(){var _0x485d62=_0x215cb7;return _0x3fe72a[_0x485d62(0x144)];}:function(){return _0x3fe72a;};return _0x33ebbc['d'](_0x545c2b,'a',_0x545c2b),_0x545c2b;},_0x33ebbc['o']=function(_0x8abb81,_0x266b5a){var _0x1df597=a0_0x545b;return Object[_0x1df597(0x152)]['hasOwnProperty'][_0x1df597(0x115)](_0x8abb81,_0x266b5a);},_0x33ebbc['p']='',_0x33ebbc(_0x33ebbc['s']=0xd);}([function(_0x45765c,_0x9564fb){var _0x2aec8d=a0_0x545b;_0x45765c[_0x2aec8d(0xf9)]=window[_0x2aec8d(0x10b)];},function(_0x18c36a,_0x4613c0){var _0x2fa5d0=a0_0x545b;_0x18c36a[_0x2fa5d0(0xf9)]=window[_0x2fa5d0(0x135)];},function(_0x2c0239,_0x35fd51){var _0x1e1209=a0_0x545b;function _0x44bc39(_0x39f151){var _0x3edaa9=a0_0x545b;return _0x2c0239[_0x3edaa9(0xf9)]=_0x44bc39=Object[_0x3edaa9(0xff)]?Object[_0x3edaa9(0x16a)]:function(_0x436933){var _0xfb1b18=_0x3edaa9;return _0x436933['__proto__']||Object[_0xfb1b18(0x16a)](_0x436933);},_0x2c0239[_0x3edaa9(0xf9)][_0x3edaa9(0x144)]=_0x2c0239[_0x3edaa9(0xf9)],_0x2c0239[_0x3edaa9(0xf9)][_0x3edaa9(0x145)]=!0x0,_0x44bc39(_0x39f151);}_0x2c0239[_0x1e1209(0xf9)]=_0x44bc39,_0x2c0239['exports'][_0x1e1209(0x144)]=_0x2c0239[_0x1e1209(0xf9)],_0x2c0239['exports']['__esModule']=!0x0;},function(_0x516552,_0x1a8b46){var _0xb3ecfe=a0_0x545b;_0x516552[_0xb3ecfe(0xf9)]=_0xb3ecfe(0x139);},function(_0x180c79,_0xa5c44c){var _0x42670c=a0_0x545b;_0x180c79[_0x42670c(0xf9)]=function(_0x5dc792,_0x41a256,_0x50d9b7){var _0x4ff693=_0x42670c;return _0x41a256 in _0x5dc792?Object[_0x4ff693(0x15e)](_0x5dc792,_0x41a256,{'value':_0x50d9b7,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x5dc792[_0x41a256]=_0x50d9b7,_0x5dc792;},_0x180c79['exports'][_0x42670c(0x144)]=_0x180c79[_0x42670c(0xf9)],_0x180c79[_0x42670c(0xf9)][_0x42670c(0x145)]=!0x0;},function(_0x589a53,_0x5f8a06){var _0x6f7b0e=a0_0x545b;_0x589a53[_0x6f7b0e(0xf9)]=function(_0x59578e,_0x1d3406){var _0xfe6d96=_0x6f7b0e;if(!(_0x59578e instanceof _0x1d3406))throw new TypeError(_0xfe6d96(0x15f));},_0x589a53[_0x6f7b0e(0xf9)][_0x6f7b0e(0x144)]=_0x589a53[_0x6f7b0e(0xf9)],_0x589a53['exports'][_0x6f7b0e(0x145)]=!0x0;},function(_0x21f61a,_0x5db763){var _0xce9f89=a0_0x545b;function _0x168c83(_0x403bb1,_0x86a8c3){var _0x39b391=a0_0x545b;for(var _0xf264b9=0x0;_0xf264b9<_0x86a8c3[_0x39b391(0x12c)];_0xf264b9++){var _0x511c83=_0x86a8c3[_0xf264b9];_0x511c83['enumerable']=_0x511c83[_0x39b391(0x11b)]||!0x1,_0x511c83[_0x39b391(0x175)]=!0x0,'value'in _0x511c83&&(_0x511c83[_0x39b391(0x157)]=!0x0),Object['defineProperty'](_0x403bb1,_0x511c83[_0x39b391(0x128)],_0x511c83);}}_0x21f61a[_0xce9f89(0xf9)]=function(_0x4ece3c,_0x57a2d2,_0x4c1c77){return _0x57a2d2&&_0x168c83(_0x4ece3c['prototype'],_0x57a2d2),_0x4c1c77&&_0x168c83(_0x4ece3c,_0x4c1c77),_0x4ece3c;},_0x21f61a[_0xce9f89(0xf9)][_0xce9f89(0x144)]=_0x21f61a[_0xce9f89(0xf9)],_0x21f61a[_0xce9f89(0xf9)]['__esModule']=!0x0;},function(_0xd2913a,_0x17001d,_0xc4ef53){var _0x4728a5=a0_0x545b,_0x3d90f4=_0xc4ef53(0x9);_0xd2913a[_0x4728a5(0xf9)]=function(_0x3b647a,_0x4f8463){var _0x10f352=_0x4728a5;if('function'!=typeof _0x4f8463&&null!==_0x4f8463)throw new TypeError(_0x10f352(0x169));_0x3b647a[_0x10f352(0x152)]=Object[_0x10f352(0xfe)](_0x4f8463&&_0x4f8463[_0x10f352(0x152)],{'constructor':{'value':_0x3b647a,'writable':!0x0,'configurable':!0x0}}),_0x4f8463&&_0x3d90f4(_0x3b647a,_0x4f8463);},_0xd2913a[_0x4728a5(0xf9)]['default']=_0xd2913a[_0x4728a5(0xf9)],_0xd2913a[_0x4728a5(0xf9)]['__esModule']=!0x0;},function(_0x44d4d8,_0x2bb70d,_0x55df60){var _0xf07f5=a0_0x545b,_0xfac9db=_0x55df60(0xa)[_0xf07f5(0x144)],_0x41b677=_0x55df60(0xb);_0x44d4d8['exports']=function(_0x4d4f25,_0xc06546){var _0x86b323=_0xf07f5;if(_0xc06546&&(_0x86b323(0x116)===_0xfac9db(_0xc06546)||_0x86b323(0x117)==typeof _0xc06546))return _0xc06546;if(void 0x0!==_0xc06546)throw new TypeError(_0x86b323(0x174));return _0x41b677(_0x4d4f25);},_0x44d4d8[_0xf07f5(0xf9)]['default']=_0x44d4d8[_0xf07f5(0xf9)],_0x44d4d8[_0xf07f5(0xf9)][_0xf07f5(0x145)]=!0x0;},function(_0x35dae4,_0x4be2b1){var _0x3fb1ff=a0_0x545b;function _0x5a4847(_0x50cd19,_0x30f13a){var _0x1a92c5=a0_0x545b;return _0x35dae4[_0x1a92c5(0xf9)]=_0x5a4847=Object[_0x1a92c5(0xff)]||function(_0x488825,_0x4119a2){return _0x488825['__proto__']=_0x4119a2,_0x488825;},_0x35dae4['exports'][_0x1a92c5(0x144)]=_0x35dae4['exports'],_0x35dae4[_0x1a92c5(0xf9)][_0x1a92c5(0x145)]=!0x0,_0x5a4847(_0x50cd19,_0x30f13a);}_0x35dae4[_0x3fb1ff(0xf9)]=_0x5a4847,_0x35dae4[_0x3fb1ff(0xf9)][_0x3fb1ff(0x144)]=_0x35dae4[_0x3fb1ff(0xf9)],_0x35dae4['exports'][_0x3fb1ff(0x145)]=!0x0;},function(_0x315b9a,_0x251eb3){var _0x1681e8=a0_0x545b;function _0x1f67d9(_0x153f80){var _0x353d24=a0_0x545b;return'function'==typeof Symbol&&_0x353d24(0x11e)==typeof Symbol[_0x353d24(0x171)]?(_0x315b9a[_0x353d24(0xf9)]=_0x1f67d9=function(_0x34de85){return typeof _0x34de85;},_0x315b9a['exports']['default']=_0x315b9a[_0x353d24(0xf9)],_0x315b9a[_0x353d24(0xf9)][_0x353d24(0x145)]=!0x0):(_0x315b9a[_0x353d24(0xf9)]=_0x1f67d9=function(_0x2beb3b){var _0x1eaf54=_0x353d24;return _0x2beb3b&&_0x1eaf54(0x117)==typeof Symbol&&_0x2beb3b[_0x1eaf54(0x154)]===Symbol&&_0x2beb3b!==Symbol['prototype']?_0x1eaf54(0x11e):typeof _0x2beb3b;},_0x315b9a[_0x353d24(0xf9)][_0x353d24(0x144)]=_0x315b9a[_0x353d24(0xf9)],_0x315b9a[_0x353d24(0xf9)][_0x353d24(0x145)]=!0x0),_0x1f67d9(_0x153f80);}_0x315b9a[_0x1681e8(0xf9)]=_0x1f67d9,_0x315b9a['exports'][_0x1681e8(0x144)]=_0x315b9a['exports'],_0x315b9a[_0x1681e8(0xf9)]['__esModule']=!0x0;},function(_0x54462d,_0x212514){var _0x2d01b6=a0_0x545b;_0x54462d[_0x2d01b6(0xf9)]=function(_0x5e1020){var _0x1cf784=_0x2d01b6;if(void 0x0===_0x5e1020)throw new ReferenceError(_0x1cf784(0x121));return _0x5e1020;},_0x54462d['exports'][_0x2d01b6(0x144)]=_0x54462d[_0x2d01b6(0xf9)],_0x54462d[_0x2d01b6(0xf9)]['__esModule']=!0x0;},function(_0x5b65e9,_0x403783){var _0x304ad7=a0_0x545b;_0x5b65e9[_0x304ad7(0xf9)]=window[_0x304ad7(0x11c)];},function(_0x4b11f0,_0xdfd4fb,_0x324bb7){'use strict';var _0x42688=a0_0x545b;_0x324bb7['r'](_0xdfd4fb),_0x324bb7['d'](_0xdfd4fb,_0x42688(0xf8),function(){return _0x2eba13;});var _0xee1869=_0x324bb7(0x4),_0x2eeeb3=_0x324bb7['n'](_0xee1869),_0x2eba57=_0x324bb7(0x5),_0x3093cd=_0x324bb7['n'](_0x2eba57),_0x4588c9=_0x324bb7(0x6),_0x122d4c=_0x324bb7['n'](_0x4588c9),_0x3a0859=_0x324bb7(0x7),_0x366fbd=_0x324bb7['n'](_0x3a0859),_0x27a403=_0x324bb7(0x8),_0x3455c2=_0x324bb7['n'](_0x27a403),_0x3ad9fb=_0x324bb7(0x2),_0x51ac22=_0x324bb7['n'](_0x3ad9fb),_0xd03344=_0x324bb7(0x0),_0x1e2ffa=_0x324bb7(0x1),_0x4ab599=_0x324bb7(0x3),_0x1d57d5=_0x324bb7['n'](_0x4ab599);function _0x3e77ac(_0x1a558a,_0x1b5da0){var _0x19fbbc=_0x42688,_0x52f0fb=Object[_0x19fbbc(0x15d)](_0x1a558a);if(Object[_0x19fbbc(0x12a)]){var _0x32bda0=Object['getOwnPropertySymbols'](_0x1a558a);_0x1b5da0&&(_0x32bda0=_0x32bda0[_0x19fbbc(0x101)](function(_0x3b0a00){var _0x17e90f=_0x19fbbc;return Object['getOwnPropertyDescriptor'](_0x1a558a,_0x3b0a00)[_0x17e90f(0x11b)];})),_0x52f0fb[_0x19fbbc(0x132)][_0x19fbbc(0xdf)](_0x52f0fb,_0x32bda0);}return _0x52f0fb;}function _0x9b61fc(_0xf5c2e){var _0x56b494=_0x42688;for(var _0x5c4007=0x1;_0x5c4007<arguments[_0x56b494(0x12c)];_0x5c4007++){var _0x51fd95=null!=arguments[_0x5c4007]?arguments[_0x5c4007]:{};_0x5c4007%0x2?_0x3e77ac(Object(_0x51fd95),!0x0)[_0x56b494(0x156)](function(_0x402d67){_0x2eeeb3()(_0xf5c2e,_0x402d67,_0x51fd95[_0x402d67]);}):Object[_0x56b494(0x13d)]?Object[_0x56b494(0x14e)](_0xf5c2e,Object[_0x56b494(0x13d)](_0x51fd95)):_0x3e77ac(Object(_0x51fd95))[_0x56b494(0x156)](function(_0x5f40a9){var _0x35d6c9=_0x56b494;Object[_0x35d6c9(0x15e)](_0xf5c2e,_0x5f40a9,Object[_0x35d6c9(0x12f)](_0x51fd95,_0x5f40a9));});}return _0xf5c2e;}function _0xb2ea71(_0x25c9c9){var _0x348756=function(){var _0x271bcb=a0_0x545b;if(_0x271bcb(0x108)==typeof Reflect||!Reflect[_0x271bcb(0x127)])return!0x1;if(Reflect[_0x271bcb(0x127)]['sham'])return!0x1;if(_0x271bcb(0x117)==typeof Proxy)return!0x0;try{return Boolean[_0x271bcb(0x152)][_0x271bcb(0x113)]['call'](Reflect[_0x271bcb(0x127)](Boolean,[],function(){})),!0x0;}catch(_0xd41d4c){return!0x1;}}();return function(){var _0x51577d=a0_0x545b,_0x5c77e8,_0x4437ab=_0x51ac22()(_0x25c9c9);if(_0x348756){var _0x5f18c1=_0x51ac22()(this)['constructor'];_0x5c77e8=Reflect[_0x51577d(0x127)](_0x4437ab,arguments,_0x5f18c1);}else _0x5c77e8=_0x4437ab[_0x51577d(0xdf)](this,arguments);return _0x3455c2()(this,_0x5c77e8);};}var _0x30d17f=_0x324bb7(0xc),_0xbfc85c=_0x1e2ffa[_0x42688(0xf0)][_0x42688(0x163)],_0xe7d401={'maxOpacity':0.8,'minOpacity':0.1,'blur':0.85,'radius':0x19,'gradient':{0.4:_0x42688(0x137),0.6:_0x42688(0x13f),0.8:_0x42688(0x136),0.9:'red'}},_0x2cc314={'arcRadiusScale':1.5,'arcBlurScale':1.5,'vertexFormat':_0xd03344[_0x42688(0x114)][_0x42688(0xe2)]},_0x2eba13=function(_0x1d75e6){var _0x4232c1=_0x42688;_0x366fbd()(_0x3c4cc8,_0x1d75e6);var _0x17f080=_0xb2ea71(_0x3c4cc8);function _0x3c4cc8(){var _0x51c052=a0_0x545b,_0x3bc572,_0x32f110=arguments[_0x51c052(0x12c)]>0x0&&void 0x0!==arguments[0x0]?arguments[0x0]:{};return _0x3093cd()(this,_0x3c4cc8),(_0x3bc572=_0x17f080[_0x51c052(0x115)](this,_0x32f110))['options'][_0x51c052(0x151)]=_0xd03344[_0x51c052(0x149)](_0x3bc572['options'][_0x51c052(0x151)],document[_0x51c052(0x167)][_0x51c052(0x140)]),_0x3bc572[_0x51c052(0xfa)][_0x51c052(0x151)]=Math[_0x51c052(0xe3)](_0x3bc572['options'][_0x51c052(0x151)],0x1388),_0x3bc572[_0x51c052(0xfa)][_0x51c052(0x126)]=_0xd03344[_0x51c052(0x149)](_0x3bc572[_0x51c052(0xfa)][_0x51c052(0x126)],document[_0x51c052(0x167)][_0x51c052(0x11f)]),_0x3bc572[_0x51c052(0xfa)]['minCanvasSize']=Math[_0x51c052(0x12e)](_0x3bc572[_0x51c052(0xfa)]['minCanvasSize'],0x2bc),_0x3bc572[_0x51c052(0xfa)][_0x51c052(0x10e)]=_0x9b61fc(_0x9b61fc({},_0xe7d401),_0x3bc572['options'][_0x51c052(0x10e)]||{}),_0x3bc572['options']['style']=_0x9b61fc(_0x9b61fc({},_0x2cc314),_0x3bc572[_0x51c052(0xfa)]['style']||{}),_0x3bc572;}return _0x122d4c()(_0x3c4cc8,[{'key':'layer','get':function(){var _0xdbaf01=a0_0x545b;return this[_0xdbaf01(0x112)];}},{'key':_0x4232c1(0x10e),'get':function(){var _0x31a5f0=_0x4232c1;return this[_0x31a5f0(0xfa)]['heatStyle'];},'set':function(_0x55ce43){var _0x469d86=_0x4232c1;this[_0x469d86(0xfa)]['heatStyle']=_0x1e2ffa['Util']['merge'](this[_0x469d86(0xfa)][_0x469d86(0x10e)],_0x55ce43),this['_heat']&&this[_0x469d86(0x168)][_0x469d86(0x14a)](this[_0x469d86(0xfa)][_0x469d86(0x10e)]);}},{'key':_0x4232c1(0x146),'get':function(){var _0x1742dd=_0x4232c1;return this[_0x1742dd(0xfa)]['style'];},'set':function(_0x3a64aa){var _0x3fccec=_0x4232c1;this[_0x3fccec(0xfa)][_0x3fccec(0x146)]=_0x1e2ffa[_0x3fccec(0x141)][_0x3fccec(0x109)](this[_0x3fccec(0xfa)][_0x3fccec(0x146)],_0x3a64aa);}},{'key':'positions','get':function(){var _0xda70d2=_0x4232c1;return this[_0xda70d2(0x124)];},'set':function(_0x494dd9){var _0x5f52ab=_0x4232c1;this['_positions']=_0x494dd9,this[_0x5f52ab(0x107)]();}},{'key':_0x4232c1(0xed),'get':function(){var _0x23e244=_0x4232c1,_0x59f595=[];return this['points'][_0x23e244(0x156)](function(_0xcf7d51){var _0x516e01=_0x23e244;_0x59f595[_0x516e01(0x132)](_0xcf7d51['toArray']());}),_0x59f595;}},{'key':'rectangle','get':function(){var _0x5343b2=_0x4232c1;return this[_0x5343b2(0x120)];}},{'key':'_setOptionsHook','value':function(_0x7a425e){var _0x10d77e=_0x4232c1;_0x7a425e['positions']&&(this['positions']=_0x7a425e[_0x10d77e(0x13c)]);}},{'key':_0x4232c1(0x104),'value':function(){var _0x55eae8=_0x4232c1;this[_0x55eae8(0x112)]=new _0x1e2ffa['layer'][(_0x55eae8(0x16f))]({'noLayerManage':!0x0}),this[_0x55eae8(0x112)]['_mars3d_private']=!0x0;}},{'key':_0x4232c1(0x16d),'value':function(){var _0x1d85fa=_0x4232c1;this[_0x1d85fa(0x138)][_0x1d85fa(0x170)](this[_0x1d85fa(0x112)]),this[_0x1d85fa(0xfa)][_0x1d85fa(0x13c)]&&(this[_0x1d85fa(0x13c)]=this['options'][_0x1d85fa(0x13c)]),this[_0x1d85fa(0xfa)][_0x1d85fa(0x142)]&&this['flyToByAnimationEnd']();}},{'key':_0x4232c1(0xfb),'value':function(){var _0xa56d49=_0x4232c1;this['heatStyle'][_0xa56d49(0xec)]&&(this[_0xa56d49(0x138)][_0xa56d49(0xec)][_0xa56d49(0x13a)](this[_0xa56d49(0x10e)][_0xa56d49(0xec)]),delete this[_0xa56d49(0x10e)]['container']),this[_0xa56d49(0x123)](),this[_0xa56d49(0x138)][_0xa56d49(0x10f)](this['_layer']);}},{'key':_0x4232c1(0x14c),'value':function(_0x23301d){var _0x1b9e5f=_0x4232c1;this[_0x1b9e5f(0x124)]=this['_positions']||[],this['_positions'][_0x1b9e5f(0x132)](_0x23301d),this[_0x1b9e5f(0x107)]();}},{'key':'clear','value':function(){var _0x6a3274=_0x4232c1;this[_0x6a3274(0xeb)]&&(this[_0x6a3274(0x112)][_0x6a3274(0x103)](this[_0x6a3274(0xeb)],!0x0),delete this[_0x6a3274(0xeb)]);}},{'key':_0x4232c1(0x107),'value':function(){var _0x20130f=_0x4232c1;if(!this[_0x20130f(0x134)]||!this[_0x20130f(0x138)]||!this['positions']||0x0===this[_0x20130f(0x13c)][_0x20130f(0x12c)])return this;var _0x329489=this['_getHeatCanvasImg']();return this[_0x20130f(0x146)][_0x20130f(0x125)]?this[_0x20130f(0x165)](_0x329489):this[_0x20130f(0x105)](_0x329489),this;}},{'key':'_getHeatCanvasImg','value':function(){var _0x4397f5=_0x4232c1,_0x34b0a9,_0x2d6a2b,_0x29ad89,_0x80d793,_0x575a2a,_0x546d08,_0x4bec6a=this[_0x4397f5(0x124)],_0xd13e42=[];_0x4bec6a['forEach'](function(_0x5a5509){var _0x5074ab=_0x4397f5,_0x2bfaa7=_0x1e2ffa[_0x5074ab(0x147)][_0x5074ab(0x15b)](_0x5a5509);_0x2bfaa7&&(_0x2bfaa7[_0x5074ab(0x15a)]=_0x5a5509[_0x5074ab(0x15a)]||0x1,null==_0x29ad89?(_0x29ad89=_0x2bfaa7[_0x5074ab(0x131)],_0x80d793=_0x2bfaa7['lng'],_0x575a2a=_0x2bfaa7[_0x5074ab(0xde)],_0x546d08=_0x2bfaa7[_0x5074ab(0xde)]):(_0x29ad89=Math['min'](_0x29ad89,_0x2bfaa7[_0x5074ab(0x131)]),_0x80d793=Math[_0x5074ab(0x12e)](_0x80d793,_0x2bfaa7[_0x5074ab(0x131)]),_0x575a2a=Math[_0x5074ab(0xe3)](_0x575a2a,_0x2bfaa7[_0x5074ab(0xde)]),_0x546d08=Math[_0x5074ab(0x12e)](_0x546d08,_0x2bfaa7['lat'])),_0xd13e42['push'](_0x2bfaa7));});var _0x448aae,_0x1452a8,_0x4ecdce,_0x48d825=1.5*this['heatStyle']['radius'],_0x3c66cf={'xmin':_0x29ad89,'xmax':_0x80d793,'ymin':_0x575a2a,'ymax':_0x546d08},_0xa98957=(_0x448aae=_0x3c66cf,_0x1452a8=_0x1e2ffa[_0x4397f5(0x161)]['lonlat2mercator']([_0x448aae[_0x4397f5(0xea)],_0x448aae[_0x4397f5(0x12b)]]),_0x4ecdce=_0x1e2ffa[_0x4397f5(0x161)]['lonlat2mercator']([_0x448aae['xmax'],_0x448aae['ymax']]),{'xmin':_0x1452a8[0x0],'ymin':_0x1452a8[0x1],'xmax':_0x4ecdce[0x0],'ymax':_0x4ecdce[0x1]}),_0x26c6ec=Math[_0x4397f5(0x166)](_0xa98957[_0x4397f5(0x16b)]-_0xa98957[_0x4397f5(0xea)]),_0x4224ed=Math[_0x4397f5(0x166)](_0xa98957[_0x4397f5(0x122)]-_0xa98957['ymin']),_0xfd036d=Math[_0x4397f5(0x12e)](_0x26c6ec,_0x4224ed),_0x15f997=Math[_0x4397f5(0xe3)](_0x26c6ec,_0x4224ed);this['_mBoundsMax']=_0xfd036d;var _0x5f52c0=0x1;_0xfd036d>this[_0x4397f5(0xfa)][_0x4397f5(0x151)]?_0x15f997/(_0x5f52c0=_0xfd036d/this[_0x4397f5(0xfa)][_0x4397f5(0x151)])<this[_0x4397f5(0xfa)]['minCanvasSize']&&(_0x5f52c0=_0x15f997/this['options'][_0x4397f5(0x126)]):_0x15f997<this['options'][_0x4397f5(0x126)]&&_0xfd036d/(_0x5f52c0=_0x15f997/this[_0x4397f5(0xfa)][_0x4397f5(0x126)])>this['options'][_0x4397f5(0x151)]&&(_0x5f52c0=_0xfd036d/this[_0x4397f5(0xfa)]['maxCanvasSize']);var _0x251ff8=_0x26c6ec/_0x5f52c0+0x2*_0x48d825,_0x5659b8=_0x4224ed/_0x5f52c0+0x2*_0x48d825,_0xb38d2c=_0x48d825*_0x5f52c0;_0xa98957[_0x4397f5(0xea)]-=_0xb38d2c,_0xa98957[_0x4397f5(0x12b)]-=_0xb38d2c,_0xa98957[_0x4397f5(0x16b)]+=_0xb38d2c,_0xa98957[_0x4397f5(0x122)]+=_0xb38d2c,_0x3c66cf=function(_0x4efb96){var _0x2e5182=_0x4397f5,_0x3efccb=_0x1e2ffa[_0x2e5182(0x161)][_0x2e5182(0x172)]([_0x4efb96[_0x2e5182(0xea)],_0x4efb96['ymin']]),_0x1d7d71=_0x1e2ffa[_0x2e5182(0x161)][_0x2e5182(0x172)]([_0x4efb96['xmax'],_0x4efb96['ymax']]);return{'xmin':_0x3efccb[0x0],'ymin':_0x3efccb[0x1],'xmax':_0x1d7d71[0x0],'ymax':_0x1d7d71[0x1]};}(_0xa98957),this[_0x4397f5(0x120)]=_0xd03344[_0x4397f5(0xdd)][_0x4397f5(0x129)](_0x3c66cf[_0x4397f5(0xea)],_0x3c66cf[_0x4397f5(0x12b)],_0x3c66cf[_0x4397f5(0x16b)],_0x3c66cf[_0x4397f5(0x122)]);var _0x436a8e=null!==(_0x34b0a9=_0xd13e42[0x0][_0x4397f5(0x15a)])&&void 0x0!==_0x34b0a9?_0x34b0a9:0x1,_0x470e10=null!==(_0x2d6a2b=_0xd13e42[0x0]['value'])&&void 0x0!==_0x2d6a2b?_0x2d6a2b:0x0,_0x191308=[];_0xd13e42['forEach'](function(_0x12ea5f){var _0x328c31=_0x4397f5,_0x89f55f=_0x1e2ffa['PointTrans']['lonlat2mercator']([_0x12ea5f[_0x328c31(0x131)],_0x12ea5f[_0x328c31(0xde)]]),_0x471a2e=_0x12ea5f['value']||0x1,_0x282640=Math[_0x328c31(0xf2)]((_0x89f55f[0x0]-_0xa98957[_0x328c31(0xea)])/_0x5f52c0),_0x2a6294=Math[_0x328c31(0xf2)]((_0xa98957[_0x328c31(0x122)]-_0x89f55f[0x1])/_0x5f52c0);_0x436a8e=Math[_0x328c31(0x12e)](_0x436a8e,_0x471a2e),_0x470e10=Math['min'](_0x470e10,_0x471a2e),_0x191308[_0x328c31(0x132)]({'x':_0x282640,'y':_0x2a6294,'value':_0x471a2e});});var _0x52c2da={'min':_0x470e10,'max':_0x436a8e,'data':_0x191308};this[_0x4397f5(0xfd)]=_0x52c2da,this[_0x4397f5(0xe0)]&&_0xa98957[_0x4397f5(0xea)]===this['_last_mBounds']['xmin']&&_0xa98957[_0x4397f5(0x12b)]===this[_0x4397f5(0xe0)][_0x4397f5(0x12b)]&&_0xa98957[_0x4397f5(0x16b)]===this[_0x4397f5(0xe0)][_0x4397f5(0x16b)]&&_0xa98957[_0x4397f5(0x122)]===this[_0x4397f5(0xe0)][_0x4397f5(0x122)]||(this['_last_mBounds']=_0xa98957,this[_0x4397f5(0x10e)][_0x4397f5(0xec)]||(this['heatStyle'][_0x4397f5(0xec)]=_0x1e2ffa[_0x4397f5(0xf4)][_0x4397f5(0xfe)](_0x4397f5(0x153),_0x4397f5(0xe7),this['_map'][_0x4397f5(0xec)])),this[_0x4397f5(0x10e)][_0x4397f5(0xec)][_0x4397f5(0x146)]['cssText']=_0x4397f5(0xdc)[_0x4397f5(0x130)](_0x251ff8,_0x4397f5(0xf1))['concat'](_0x5659b8,_0x4397f5(0x160)),this[_0x4397f5(0x168)]?this[_0x4397f5(0x168)]['configure'](this[_0x4397f5(0x10e)]):this[_0x4397f5(0x168)]=_0x30d17f[_0x4397f5(0xfe)](this[_0x4397f5(0x10e)])),this[_0x4397f5(0x168)]['setData'](_0x52c2da);var _0x59d892=this[_0x4397f5(0x168)][_0x4397f5(0x133)][_0x4397f5(0xee)]['toDataURL'](_0x4397f5(0x11a));return this[_0x4397f5(0x10e)][_0x4397f5(0xec)]&&(this[_0x4397f5(0x138)]['container'][_0x4397f5(0x13a)](this['heatStyle'][_0x4397f5(0xec)]),delete this[_0x4397f5(0x10e)]['container']),_0x59d892;}},{'key':_0x4232c1(0x105),'value':function(_0x3ab2c5){var _0x17bae7=_0x4232c1;this[_0x17bae7(0x123)](),this[_0x17bae7(0xeb)]=new _0x1e2ffa['graphic']['RectanglePrimitive'](_0x9b61fc(_0x9b61fc({},this[_0x17bae7(0xfa)]),{},{'rectangle':this['_rectangle'],'appearance':new _0xd03344['EllipsoidSurfaceAppearance']({'material':new _0xd03344[(_0x17bae7(0xef))]({'fabric':{'uniforms':{'image':_0x3ab2c5},'source':_0x1d57d5['a']},'translucent':!0x0}),'flat':!0x0})})),this['_layer'][_0x17bae7(0x14f)](this[_0x17bae7(0xeb)]);}},{'key':_0x4232c1(0x165),'value':function(_0x4bfd3f){var _0xd0d947=_0x4232c1;this['clear'](),this[_0xd0d947(0x168)]['configure'](_0x9b61fc(_0x9b61fc({},this['heatStyle']),{},{'radius':this[_0xd0d947(0x10e)][_0xd0d947(0x13e)]*this[_0xd0d947(0x146)][_0xd0d947(0xe5)],'blur':this[_0xd0d947(0x10e)]['blur']*this[_0xd0d947(0x146)][_0xd0d947(0xe6)],'gradient':this['heatStyle'][_0xd0d947(0x110)]||{0.25:'rgb(0,0,0)',0.55:_0xd0d947(0x118),0.85:'rgb(216,216,216)',0x1:_0xd0d947(0xf6)}}));var _0x42b7bb=this[_0xd0d947(0x168)][_0xd0d947(0x133)][_0xd0d947(0xee)]['toDataURL'](_0xd0d947(0x11a)),_0x23d31a=_0xd03344[_0xd0d947(0x14b)][_0xd0d947(0x16e)]({'cull':{'enabled':!0x0},'depthTest':{'enabled':!0x0},'stencilTest':{'enabled':!0x0,'frontFunction':_0xd03344[_0xd0d947(0x10d)][_0xd0d947(0x162)],'frontOperation':{'fail':_0xd03344['StencilOperation']['KEEP'],'zFail':_0xd03344[_0xd0d947(0x173)]['KEEP'],'zPass':_0xd03344[_0xd0d947(0x173)]['REPLACE']},'backFunction':_0xd03344[_0xd0d947(0x10d)][_0xd0d947(0x162)],'backOperation':{'fail':_0xd03344['StencilOperation']['KEEP'],'zFail':_0xd03344[_0xd0d947(0x173)][_0xd0d947(0x13b)],'zPass':_0xd03344[_0xd0d947(0x173)][_0xd0d947(0xe4)]},'reference':0x2,'mask':0x2},'blending':_0xd03344[_0xd0d947(0x16c)]['ALPHA_BLEND']}),_0x482b43=Math[_0xd0d947(0x150)](_0xd03344[_0xd0d947(0x149)](this[_0xd0d947(0x146)][_0xd0d947(0x12d)],0.02*this['_mBoundsMax']))+0.1,_0x329bb8=_0xd03344['defaultValue'](this['style'][_0xd0d947(0x111)],0x64),_0x46fe51=Math[_0xd0d947(0x12e)](this['_rectangle'][_0xd0d947(0x119)],this['_rectangle']['width']);this[_0xd0d947(0x146)][_0xd0d947(0x14d)]=_0x46fe51/=_0x329bb8,this[_0xd0d947(0xeb)]=new _0x1e2ffa['graphic'][(_0xd0d947(0x10c))](_0x9b61fc(_0x9b61fc({},this[_0xd0d947(0xfa)]),{},{'rectangle':this['_rectangle'],'appearance':new _0xd03344[(_0xd0d947(0x114))]({'aboveGround':!0x0,'renderState':_0x23d31a,'material':new _0xd03344[(_0xd0d947(0xef))]({'fabric':{'uniforms':{'image':_0x4bfd3f,'repeat':new _0xd03344['Cartesian2'](0x1,0x1),'color':new _0xd03344[(_0xd0d947(0x102))](0x1,0x1,0x1,0.01),'bumpMap':_0x42b7bb},'source':_0x1d57d5['a']},'translucent':!0x0}),'vertexShaderSource':'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'[_0xd0d947(0x130)](_0x482b43,_0xd0d947(0x159)),'flat':!0x0})})),this[_0xd0d947(0x112)][_0xd0d947(0x14f)](this['_graphic']);}},{'key':_0x4232c1(0xe8),'value':function(_0x499e0d){var _0x564580=_0x4232c1;return null!=_0x499e0d&&_0x499e0d['isFormat']&&this[_0x564580(0x120)]?_0x1e2ffa[_0x564580(0xf3)][_0x564580(0x143)](this['_rectangle']):this[_0x564580(0x120)];}}]),_0x3c4cc8;}(_0xbfc85c);_0x1e2ffa[_0x42688(0xf0)][_0x42688(0xf8)]=_0x2eba13,_0x1e2ffa['LayerUtil'][_0x42688(0xe9)](_0x42688(0x15c),_0x2eba13);}]));function a0_0x545b(_0x1c896a,_0x1e8644){var _0x600be0=a0_0x600b();return a0_0x545b=function(_0x545b6d,_0x200692){_0x545b6d=_0x545b6d-0xdc;var _0x514bdf=_0x600be0[_0x545b6d];return _0x514bdf;},a0_0x545b(_0x1c896a,_0x1e8644);}function a0_0x600b(){var _0x374ebf=['diffHeight','max','getOwnPropertyDescriptor','concat','lng','push','_renderer','show','mars3d','yellow','blue','_map','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','removeChild','KEEP','positions','getOwnPropertyDescriptors','radius','green','clientWidth','Util','flyTo','formatRectangle','default','__esModule','style','LatLngPoint','992XIRbRJ','defaultValue','configure','RenderState','addPosition','granularity','defineProperties','addGraphic','floor','maxCanvasSize','prototype','div','constructor','6957174EYPTGn','forEach','writable','5851504iExxUd',';\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','value','parse','heat','keys','defineProperty','Cannot\x20call\x20a\x20class\x20as\x20a\x20function','px;','PointTrans','ALWAYS','BaseLayer','133070ISiBqX','_createArcGraphic','abs','body','_heat','Super\x20expression\x20must\x20either\x20be\x20null\x20or\x20a\x20function','getPrototypeOf','xmax','BlendingState','_addedHook','fromCache','GraphicLayer','addLayer','iterator','mercator2lonlat','StencilOperation','Derived\x20constructors\x20may\x20only\x20return\x20object\x20or\x20undefined','configurable','4642332HMGyhC','\x0a\x20\x20\x20\x20\x20\x20\x20\x20margin:0;\x0a\x20\x20\x20\x20\x20\x20\x20\x20width:','Rectangle','lat','apply','_last_mBounds','999335aMkSLl','VERTEX_FORMAT','min','REPLACE','arcRadiusScale','arcBlurScale','mars3d-heatmap','getRectangle','register','xmin','_graphic','container','coordinates','canvas','Material','layer','px;\x0a\x20\x20\x20\x20\x20\x20\x20\x20height:','round','PolyUtil','DomUtil','1017ZCjqfE','rgb(255,255,255)','Module','HeatLayer','exports','options','_removedHook','toStringTag','_last_heatData','create','setPrototypeOf','7PjvIGM','filter','Color','removeGraphic','_mountedHook','_createGraphic','1087ldowkJ','_updatePositionsHook','undefined','merge','1768026wDbWod','Cesium','RectanglePrimitive','StencilFunction','heatStyle','removeLayer','gradientArc','splitNum','_layer','valueOf','EllipsoidSurfaceAppearance','call','object','function','rgb(140,140,140)','height','image/png','enumerable','h337','string','symbol','clientHeight','_rectangle','this\x20hasn\x27t\x20been\x20initialised\x20-\x20super()\x20hasn\x27t\x20been\x20called','ymax','clear','_positions','arc','minCanvasSize','construct','key','fromDegrees','getOwnPropertySymbols','ymin','length'];a0_0x600b=function(){return _0x374ebf;};return a0_0x600b();}
|
|
37
37
|
|
|
38
38
|
})(window);
|
|
39
39
|
|
package/package.json
CHANGED
|
@@ -1,12 +1,15 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "mars3d-heatmap",
|
|
3
|
-
"version": "3.1.
|
|
3
|
+
"version": "3.1.21",
|
|
4
4
|
"description": "Mars3D平台插件,结合heatmap可视化功能插件",
|
|
5
5
|
"main": "dist/mars3d-heatmap.js",
|
|
6
|
+
"files": [
|
|
7
|
+
"dist"
|
|
8
|
+
],
|
|
6
9
|
"dependencies": {
|
|
7
10
|
"heatmap.js": "^2.0.5",
|
|
8
|
-
"mars3d": "^3.1.
|
|
9
|
-
"mars3d-cesium": "^1.
|
|
11
|
+
"mars3d": "^3.1.21",
|
|
12
|
+
"mars3d-cesium": "^1.89.0"
|
|
10
13
|
},
|
|
11
14
|
"devDependencies": {},
|
|
12
15
|
"scripts": {
|
package/index.html
DELETED
|
@@ -1,146 +0,0 @@
|
|
|
1
|
-
<!DOCTYPE html>
|
|
2
|
-
<html class="no-js css-menubar" lang="zh-cn">
|
|
3
|
-
|
|
4
|
-
<head>
|
|
5
|
-
<title> Mars3D三维地球 heatmap插件</title>
|
|
6
|
-
<meta charset="utf-8">
|
|
7
|
-
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
|
|
8
|
-
<!-- 移动设备 viewport -->
|
|
9
|
-
<meta name="viewport" content="width=device-width,initial-scale=1.0,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no,minimal-ui">
|
|
10
|
-
<meta name="author" content="火星科技 http://mars3d.cn ">
|
|
11
|
-
<!-- 360浏览器默认使用Webkit内核 -->
|
|
12
|
-
<meta name="renderer" content="webkit">
|
|
13
|
-
<!-- Chrome浏览器添加桌面快捷方式(安卓) -->
|
|
14
|
-
<link rel="icon" type="image/png" href="img/favicon/favicon.png">
|
|
15
|
-
<meta name="mobile-web-app-capable" content="yes">
|
|
16
|
-
<!-- Safari浏览器添加到主屏幕(IOS) -->
|
|
17
|
-
<link rel="icon" sizes="192x192" href="img/favicon/apple-touch-icon.png">
|
|
18
|
-
<meta name="apple-mobile-web-app-capable" content="yes">
|
|
19
|
-
<meta name="apple-mobile-web-app-status-bar-style" content="black">
|
|
20
|
-
<meta name="apple-mobile-web-app-title" content="火星科技 MarsGIS">
|
|
21
|
-
<!-- Win8标题栏及ICON图标 -->
|
|
22
|
-
<link rel="apple-touch-icon-precomposed" href="img/favicon/apple-touch-icon.png">
|
|
23
|
-
<meta name="msapplication-TileImage" content="img/favicon/app-icon72x72@2x.png">
|
|
24
|
-
<meta name="msapplication-TileColor" content="#62a8ea">
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
<!--引入基础lib-->
|
|
28
|
-
<link href="https://cdn.jsdelivr.net/npm/mars3d-cesium/Build/Cesium/Widgets/widgets.css" rel="stylesheet" type="text/css" />
|
|
29
|
-
<script src="https://cdn.jsdelivr.net/npm/mars3d-cesium/Build/Cesium/Cesium.js" type="text/javascript" ></script>
|
|
30
|
-
<script src="https://unpkg.com/@turf/turf/turf.min.js" type="text/javascript" ></script>
|
|
31
|
-
<script type="text/javascript" src="http://mars3d.cn/lib/jquery/jquery-2.1.4.min.js"></script>
|
|
32
|
-
<script type="text/javascript" src="http://mars3d.cn/lib/hao/haoutil.js"></script>
|
|
33
|
-
|
|
34
|
-
<!--引入mars3d库lib-->
|
|
35
|
-
<link href="https://cdn.jsdelivr.net/npm/mars3d/dist/mars3d.css" rel="stylesheet" type="text/css" />
|
|
36
|
-
<script src="https://cdn.jsdelivr.net/npm/mars3d/dist/mars3d.js" type="text/javascript" ></script>
|
|
37
|
-
|
|
38
|
-
<script src="https://mars3d.cn/lib/mars3d/plugins/heatmap/heatmap.min.js" type="text/javascript"></script>
|
|
39
|
-
<script type="text/javascript" src="dist/mars3d-heatmap.js"></script>
|
|
40
|
-
|
|
41
|
-
<style>
|
|
42
|
-
html,
|
|
43
|
-
body {
|
|
44
|
-
height: 100%;
|
|
45
|
-
width: 100%;
|
|
46
|
-
margin: 0;
|
|
47
|
-
padding: 0;
|
|
48
|
-
border: none;
|
|
49
|
-
overflow: hidden;
|
|
50
|
-
font-size: 14px;
|
|
51
|
-
background: #000;
|
|
52
|
-
}
|
|
53
|
-
</style>
|
|
54
|
-
</head>
|
|
55
|
-
|
|
56
|
-
<body>
|
|
57
|
-
<div id="mars3dContainer" class="mars3d-container"></div>
|
|
58
|
-
|
|
59
|
-
<!--业务代码-->
|
|
60
|
-
<script type="text/javascript">
|
|
61
|
-
//判断webgl支持
|
|
62
|
-
if (!mars3d.Util.webglreport()) {
|
|
63
|
-
mars3d.Util.webglerror()
|
|
64
|
-
}
|
|
65
|
-
|
|
66
|
-
//读取 config.json 配置文件
|
|
67
|
-
var configUrl = 'http://mars3d.cn/example/config/config.json'
|
|
68
|
-
mars3d.Resource.fetchJson({ url: configUrl }).then(function (json) {
|
|
69
|
-
initMap(json.map3d)//构建地图
|
|
70
|
-
})
|
|
71
|
-
|
|
72
|
-
var map
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
function initMap(options) {
|
|
76
|
-
//合并属性参数,可覆盖config.json中的对应配置
|
|
77
|
-
var mapOptions = mars3d.Util.merge(options, {
|
|
78
|
-
scene: {
|
|
79
|
-
center: { y: 31.794428, x: 117.235343, z: 2351.9, heading: 1.6, pitch: -28.8, roll: 0 },
|
|
80
|
-
},
|
|
81
|
-
})
|
|
82
|
-
|
|
83
|
-
//创建三维地球场景
|
|
84
|
-
map = new mars3d.Map('mars3dContainer', mapOptions)
|
|
85
|
-
|
|
86
|
-
map.basemap = 2017 //蓝色底图
|
|
87
|
-
|
|
88
|
-
var tilesetLayer = new mars3d.layer.TilesetLayer({
|
|
89
|
-
url: 'http://data.mars3d.cn/3dtiles/jzw-hefei/tileset.json',
|
|
90
|
-
maximumScreenSpaceError: 3,
|
|
91
|
-
maximumMemoryUsage: 1024,
|
|
92
|
-
center: { y: 31.805004, x: 117.222617, z: 1457.4, heading: 1.6, pitch: -30.5, roll: 0 },
|
|
93
|
-
showClickFeature: true,
|
|
94
|
-
popup: 'all',
|
|
95
|
-
})
|
|
96
|
-
map.addLayer(tilesetLayer)
|
|
97
|
-
|
|
98
|
-
// 视角切换(分步执行)
|
|
99
|
-
map.setCameraViewList([
|
|
100
|
-
{ y: 31.816012, x: 117.229387, z: 786.55, heading: 11.2, pitch: -15.4, roll: 0 },
|
|
101
|
-
{ y: 31.814115, x: 117.241232, z: 2344.97, heading: 346.3, pitch: -42.2, roll: 359.9 },
|
|
102
|
-
{ y: 31.831903, x: 117.256958, z: 789.61, heading: 284.2, pitch: -18.2, roll: 359.8 },
|
|
103
|
-
])
|
|
104
|
-
|
|
105
|
-
//测试点数据,实际开发时换掉
|
|
106
|
-
var arrPoints = getRandomPoints(1000)
|
|
107
|
-
|
|
108
|
-
//热力图 图层
|
|
109
|
-
var heatLayer = new mars3d.layer.HeatLayer({
|
|
110
|
-
positions: arrPoints,
|
|
111
|
-
//以下为热力图本身的样式参数,可参阅api:https://www.patrick-wied.at/static/heatmapjs/docs.html
|
|
112
|
-
heatStyle: {
|
|
113
|
-
radius: 60,
|
|
114
|
-
blur: 0.85,
|
|
115
|
-
},
|
|
116
|
-
//以下为矩形矢量对象的样式参数
|
|
117
|
-
style: {
|
|
118
|
-
arc: true, //是否为曲面
|
|
119
|
-
height: 100.0,
|
|
120
|
-
},
|
|
121
|
-
// flyTo: true,
|
|
122
|
-
})
|
|
123
|
-
map.addLayer(heatLayer)
|
|
124
|
-
}
|
|
125
|
-
|
|
126
|
-
//获取bbox矩形区域内的count个随机点
|
|
127
|
-
function getRandomPoints(count) {
|
|
128
|
-
var xmin = 117.226189,
|
|
129
|
-
xmax = 117.245831,
|
|
130
|
-
ymin = 31.828858,
|
|
131
|
-
ymax = 31.842967
|
|
132
|
-
var arr = []
|
|
133
|
-
var arrPoint = turf.randomPoint(count, { bbox: [xmin, ymin, xmax, ymax] }).features //随机点
|
|
134
|
-
for (var i = 0; i < arrPoint.length; i++) {
|
|
135
|
-
var item = arrPoint[i].geometry.coordinates
|
|
136
|
-
var val = Math.floor(Math.random() * 100) //热力值
|
|
137
|
-
arr.push({ lng: item[0], lat: item[1], value: val })
|
|
138
|
-
}
|
|
139
|
-
return arr
|
|
140
|
-
}
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
</script>
|
|
144
|
-
</body>
|
|
145
|
-
|
|
146
|
-
</html>
|