mars3d-heatmap
Advanced tools
Comparing version 3.3.10 to 3.3.11
/** | ||
* Mars3D平台插件,结合heatmap可视化功能插件 mars3d-heatmap | ||
* | ||
* 版本信息:v3.3.10 | ||
* 编译日期:2022-05-23 18:17:53 | ||
* 版本信息:v3.3.11 | ||
* 编译日期:2022-05-29 09:13:37 | ||
* 版权所有:Copyright by 火星科技 http://mars3d.cn | ||
@@ -14,3 +14,3 @@ * 使用单位:免费公开版 ,2022-02-01 | ||
})(this, (function (exports, mars3d, h337) { | ||
'use strict';var _0x2337b6=_0x561d;(function(_0x20eedb,_0x1f2daa){var _0x55318d=_0x561d,_0x4d112a=_0x20eedb();while(!![]){try{var _0x18a70a=-parseInt(_0x55318d(0xfd))/0x1+-parseInt(_0x55318d(0x15f))/0x2+parseInt(_0x55318d(0x135))/0x3+parseInt(_0x55318d(0x158))/0x4+-parseInt(_0x55318d(0x159))/0x5+-parseInt(_0x55318d(0x11c))/0x6*(parseInt(_0x55318d(0xed))/0x7)+parseInt(_0x55318d(0xfc))/0x8;if(_0x18a70a===_0x1f2daa)break;else _0x4d112a['push'](_0x4d112a['shift']());}catch(_0x43797e){_0x4d112a['push'](_0x4d112a['shift']());}}}(_0x1eb0,0xa4d91));function _interopNamespace(_0x33b6b2){var _0x1286d2=_0x561d;if(_0x33b6b2&&_0x33b6b2[_0x1286d2(0xf4)])return _0x33b6b2;var _0x91048=Object[_0x1286d2(0x113)](null);return _0x33b6b2&&Object[_0x1286d2(0x141)](_0x33b6b2)[_0x1286d2(0x154)](function(_0x147003){var _0x967241=_0x1286d2;if(_0x147003!==_0x967241(0xdb)){var _0x11e574=Object[_0x967241(0x12f)](_0x33b6b2,_0x147003);Object[_0x967241(0xe0)](_0x91048,_0x147003,_0x11e574[_0x967241(0xdf)]?_0x11e574:{'enumerable':!![],'get':function(){return _0x33b6b2[_0x147003];}});}}),_0x91048[_0x1286d2(0xdb)]=_0x33b6b2,_0x91048;}var mars3d__namespace=_interopNamespace(mars3d),h337__namespace=_interopNamespace(h337);function ownKeys(_0x1ec020,_0xc4be59){var _0x4544e0=_0x561d,_0x259b4c=Object[_0x4544e0(0x141)](_0x1ec020);if(Object['getOwnPropertySymbols']){var _0x1119c7=Object[_0x4544e0(0xfb)](_0x1ec020);_0xc4be59&&(_0x1119c7=_0x1119c7[_0x4544e0(0x150)](function(_0x289dd0){var _0x587823=_0x4544e0;return Object[_0x587823(0x12f)](_0x1ec020,_0x289dd0)[_0x587823(0x14d)];})),_0x259b4c['push'][_0x4544e0(0x137)](_0x259b4c,_0x1119c7);}return _0x259b4c;}function _objectSpread2(_0xc28510){var _0x7b0300=_0x561d;for(var _0x5019da=0x1;_0x5019da<arguments[_0x7b0300(0x14b)];_0x5019da++){var _0x1f05d5=null!=arguments[_0x5019da]?arguments[_0x5019da]:{};_0x5019da%0x2?ownKeys(Object(_0x1f05d5),!0x0)[_0x7b0300(0x154)](function(_0x3276e3){_defineProperty(_0xc28510,_0x3276e3,_0x1f05d5[_0x3276e3]);}):Object[_0x7b0300(0x12c)]?Object[_0x7b0300(0x11e)](_0xc28510,Object[_0x7b0300(0x12c)](_0x1f05d5)):ownKeys(Object(_0x1f05d5))[_0x7b0300(0x154)](function(_0xef6455){var _0x2b85b2=_0x7b0300;Object[_0x2b85b2(0xe0)](_0xc28510,_0xef6455,Object['getOwnPropertyDescriptor'](_0x1f05d5,_0xef6455));});}return _0xc28510;}function _classCallCheck(_0x3befc5,_0x4b5b2d){if(!(_0x3befc5 instanceof _0x4b5b2d))throw new TypeError('Cannot\x20call\x20a\x20class\x20as\x20a\x20function');}function _defineProperties(_0x211a64,_0x13807d){var _0x2b1a7d=_0x561d;for(var _0x11864c=0x0;_0x11864c<_0x13807d[_0x2b1a7d(0x14b)];_0x11864c++){var _0xce3427=_0x13807d[_0x11864c];_0xce3427[_0x2b1a7d(0x14d)]=_0xce3427[_0x2b1a7d(0x14d)]||![],_0xce3427[_0x2b1a7d(0x131)]=!![];if('value'in _0xce3427)_0xce3427[_0x2b1a7d(0x143)]=!![];Object[_0x2b1a7d(0xe0)](_0x211a64,_0xce3427[_0x2b1a7d(0x15d)],_0xce3427);}}function _createClass(_0x50b656,_0x28c8e6,_0x4ed42f){var _0x39d402=_0x561d;if(_0x28c8e6)_defineProperties(_0x50b656[_0x39d402(0x122)],_0x28c8e6);if(_0x4ed42f)_defineProperties(_0x50b656,_0x4ed42f);return Object[_0x39d402(0xe0)](_0x50b656,'prototype',{'writable':![]}),_0x50b656;}function _defineProperty(_0x28db3a,_0x56fa51,_0x3b4620){var _0x22dee4=_0x561d;return _0x56fa51 in _0x28db3a?Object[_0x22dee4(0xe0)](_0x28db3a,_0x56fa51,{'value':_0x3b4620,'enumerable':!![],'configurable':!![],'writable':!![]}):_0x28db3a[_0x56fa51]=_0x3b4620,_0x28db3a;}function _inherits(_0x3faefd,_0x4a3f9e){var _0x52dc54=_0x561d;if(typeof _0x4a3f9e!=='function'&&_0x4a3f9e!==null)throw new TypeError(_0x52dc54(0x11b));_0x3faefd['prototype']=Object[_0x52dc54(0x113)](_0x4a3f9e&&_0x4a3f9e['prototype'],{'constructor':{'value':_0x3faefd,'writable':!![],'configurable':!![]}}),Object[_0x52dc54(0xe0)](_0x3faefd,_0x52dc54(0x122),{'writable':![]});if(_0x4a3f9e)_setPrototypeOf(_0x3faefd,_0x4a3f9e);}function _getPrototypeOf(_0x1bf304){var _0x661166=_0x561d;return _getPrototypeOf=Object[_0x661166(0xe2)]?Object['getPrototypeOf']:function _0x45c8f2(_0x29570e){var _0x4a1718=_0x661166;return _0x29570e[_0x4a1718(0xe5)]||Object['getPrototypeOf'](_0x29570e);},_getPrototypeOf(_0x1bf304);}function _setPrototypeOf(_0x59b771,_0x284411){var _0x30b8ba=_0x561d;return _setPrototypeOf=Object[_0x30b8ba(0xe2)]||function _0x55c3f2(_0x1a38c5,_0x1c5f3e){var _0x19cfa8=_0x30b8ba;return _0x1a38c5[_0x19cfa8(0xe5)]=_0x1c5f3e,_0x1a38c5;},_setPrototypeOf(_0x59b771,_0x284411);}function _isNativeReflectConstruct(){var _0x3d8bfb=_0x561d;if(typeof Reflect==='undefined'||!Reflect[_0x3d8bfb(0x165)])return![];if(Reflect[_0x3d8bfb(0x165)][_0x3d8bfb(0xff)])return![];if(typeof Proxy===_0x3d8bfb(0x14c))return!![];try{return Boolean[_0x3d8bfb(0x122)]['valueOf'][_0x3d8bfb(0xd9)](Reflect[_0x3d8bfb(0x165)](Boolean,[],function(){})),!![];}catch(_0x36c0bd){return![];}}function _assertThisInitialized(_0x1750dd){var _0x5653e3=_0x561d;if(_0x1750dd===void 0x0)throw new ReferenceError(_0x5653e3(0x16f));return _0x1750dd;}function _possibleConstructorReturn(_0x996d3e,_0x5c89e3){var _0x507941=_0x561d;if(_0x5c89e3&&(typeof _0x5c89e3==='object'||typeof _0x5c89e3===_0x507941(0x14c)))return _0x5c89e3;else{if(_0x5c89e3!==void 0x0)throw new TypeError(_0x507941(0x145));}return _assertThisInitialized(_0x996d3e);}function _createSuper(_0x389891){var _0xb02ac1=_isNativeReflectConstruct();return function _0x1011ee(){var _0x23f898=_0x561d,_0x3c68a0=_getPrototypeOf(_0x389891),_0x140cd4;if(_0xb02ac1){var _0x3095b0=_getPrototypeOf(this)[_0x23f898(0xf9)];_0x140cd4=Reflect['construct'](_0x3c68a0,arguments,_0x3095b0);}else _0x140cd4=_0x3c68a0[_0x23f898(0x137)](this,arguments);return _possibleConstructorReturn(this,_0x140cd4);};}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';if(!h337__namespace[_0x2337b6(0x113)])throw new Error(_0x2337b6(0x15e));var Cesium=mars3d__namespace[_0x2337b6(0x13e)],BaseLayer=mars3d__namespace[_0x2337b6(0x118)][_0x2337b6(0x170)],DEF_HEATSTYLE={'maxOpacity':0.8,'minOpacity':0.1,'blur':0.85,'radius':0x19,'gradient':{0.4:_0x2337b6(0x14a),0.6:'green',0.8:_0x2337b6(0x151),0.9:'red'}},DEF_STYLE={'arcRadiusScale':1.5,'arcBlurScale':1.5,'vertexFormat':Cesium['EllipsoidSurfaceAppearance'][_0x2337b6(0x138)]},HeatLayer=function(_0x3835b9){var _0x537bb3=_0x2337b6;_inherits(_0x58feec,_0x3835b9);var _0x296cb6=_createSuper(_0x58feec);function _0x58feec(){var _0x1005da=_0x561d,_0x3de4be,_0x52568a=arguments[_0x1005da(0x14b)]>0x0&&arguments[0x0]!==undefined?arguments[0x0]:{};return _classCallCheck(this,_0x58feec),_0x3de4be=_0x296cb6[_0x1005da(0xd9)](this,_0x52568a),_0x3de4be[_0x1005da(0xee)][_0x1005da(0x167)]=Cesium[_0x1005da(0xf8)](_0x3de4be[_0x1005da(0xee)][_0x1005da(0x167)],document['body'][_0x1005da(0x121)]),_0x3de4be[_0x1005da(0xee)][_0x1005da(0x167)]=Math[_0x1005da(0x104)](_0x3de4be[_0x1005da(0xee)][_0x1005da(0x167)],0x1388),_0x3de4be[_0x1005da(0xee)][_0x1005da(0x129)]=Cesium[_0x1005da(0xf8)](_0x3de4be['options'][_0x1005da(0x129)],document[_0x1005da(0x114)][_0x1005da(0x110)]),_0x3de4be[_0x1005da(0xee)][_0x1005da(0x129)]=Math[_0x1005da(0xf5)](_0x3de4be[_0x1005da(0xee)][_0x1005da(0x129)],0x2bc),_0x3de4be['options'][_0x1005da(0x123)]=_objectSpread2(_objectSpread2({},DEF_HEATSTYLE),_0x3de4be[_0x1005da(0xee)][_0x1005da(0x123)]||{}),_0x3de4be[_0x1005da(0xee)]['style']=_objectSpread2(_objectSpread2({},DEF_STYLE),_0x3de4be[_0x1005da(0xee)][_0x1005da(0xe8)]||{}),_0x3de4be;}return _createClass(_0x58feec,[{'key':_0x537bb3(0x118),'get':function _0x184cf9(){var _0x2a027d=_0x537bb3;return this[_0x2a027d(0xea)];}},{'key':_0x537bb3(0x123),'get':function _0x464328(){var _0x3414cf=_0x537bb3;return this[_0x3414cf(0xee)][_0x3414cf(0x123)];},'set':function _0x4eac0e(_0x2bd73b){var _0x14bfe2=_0x537bb3;this[_0x14bfe2(0xee)][_0x14bfe2(0x123)]=mars3d__namespace[_0x14bfe2(0x100)][_0x14bfe2(0x163)](this[_0x14bfe2(0xee)][_0x14bfe2(0x123)],_0x2bd73b),this[_0x14bfe2(0x125)]&&(this[_0x14bfe2(0x125)]['configure'](this[_0x14bfe2(0xee)]['heatStyle']),this[_0x14bfe2(0x139)](!![]));}},{'key':'style','get':function _0x343a4e(){var _0x585d69=_0x537bb3;return this['options'][_0x585d69(0xe8)];},'set':function _0x3d23d0(_0x43e5c5){var _0x2da695=_0x537bb3;this[_0x2da695(0xee)][_0x2da695(0xe8)]=mars3d__namespace[_0x2da695(0x100)]['merge'](this[_0x2da695(0xee)][_0x2da695(0xe8)],_0x43e5c5);}},{'key':_0x537bb3(0x136),'get':function _0x35edec(){return this['_positions'];},'set':function _0xf72999(_0x20eb71){var _0xddfe28=_0x537bb3;this[_0xddfe28(0xdd)](_0x20eb71);}},{'key':_0x537bb3(0x132),'get':function _0x5589ca(){var _0x1113e3=_0x537bb3,_0x22060f=[];return this[_0x1113e3(0x112)]['forEach'](function(_0x38cdba){var _0x433174=_0x1113e3;_0x22060f[_0x433174(0x16e)](_0x38cdba[_0x433174(0x161)]());}),_0x22060f;}},{'key':'rectangle','get':function _0x160fa8(){return this['_rectangle'];}},{'key':_0x537bb3(0xe6),'value':function _0x10a42d(_0x631e24){var _0x2a3c20=_0x537bb3;_0x631e24[_0x2a3c20(0x136)]&&(this[_0x2a3c20(0x136)]=_0x631e24[_0x2a3c20(0x136)]);}},{'key':'_mountedHook','value':function _0x39bbce(){var _0x1e4944=_0x537bb3;this[_0x1e4944(0xea)]=new mars3d__namespace[(_0x1e4944(0x118))][(_0x1e4944(0x10d))]({'noLayerManage':!![]}),this[_0x1e4944(0xea)]['_mars3d_private']=!![];}},{'key':'_addedHook','value':function _0x29c281(){var _0x524b6f=_0x537bb3;this['_map']['addLayer'](this[_0x524b6f(0xea)]),this['options'][_0x524b6f(0x136)]&&(this['positions']=this[_0x524b6f(0xee)][_0x524b6f(0x136)]),this[_0x524b6f(0xee)]['flyTo']&&this[_0x524b6f(0x128)]();}},{'key':_0x537bb3(0x115),'value':function _0x30cd65(){var _0x2e4b6a=_0x537bb3;this[_0x2e4b6a(0x123)]['container']&&(mars3d__namespace[_0x2e4b6a(0x111)]['remove'](this[_0x2e4b6a(0x123)][_0x2e4b6a(0xdc)]),delete this[_0x2e4b6a(0x123)][_0x2e4b6a(0xdc)]),this['clear'](),this[_0x2e4b6a(0xde)][_0x2e4b6a(0xf1)](this[_0x2e4b6a(0xea)]);}},{'key':'addPosition','value':function _0x1b7a98(_0x355966,_0x251a81){var _0x3d038c=_0x537bb3;this[_0x3d038c(0x116)]=this[_0x3d038c(0x116)]||[],this[_0x3d038c(0x116)][_0x3d038c(0x16e)](_0x355966),this['_updatePositionsHook'](_0x251a81);}},{'key':_0x537bb3(0xdd),'value':function _0x1d51fa(_0x47dd27,_0xa57fa8){var _0x4ed9e0=_0x537bb3;this[_0x4ed9e0(0x116)]=_0x47dd27,this['_updatePositionsHook'](_0xa57fa8);}},{'key':_0x537bb3(0x153),'value':function _0x1d14c5(){var _0x48ae86=_0x537bb3;this[_0x48ae86(0xe7)]&&(this[_0x48ae86(0xea)][_0x48ae86(0xfe)](this[_0x48ae86(0xe7)],!![]),delete this['_graphic']);}},{'key':_0x537bb3(0x139),'value':function _0x486df7(_0x4df2be){var _0x11951e=_0x537bb3;if(!this['show']||!this['_map']||!this[_0x11951e(0x136)]||this[_0x11951e(0x136)]['length']===0x0)return this;var _0x2c72f6=this[_0x11951e(0x13f)]();return this[_0x11951e(0xe8)][_0x11951e(0x10c)]?this[_0x11951e(0xe7)]&&_0x4df2be?(this['_graphic'][_0x11951e(0x14f)]['image']=_0x2c72f6,this[_0x11951e(0xe7)][_0x11951e(0x14f)]['bumpMap']=this[_0x11951e(0x12e)]()):this[_0x11951e(0xe9)](_0x2c72f6):this[_0x11951e(0xe7)]&&_0x4df2be?this[_0x11951e(0xe7)]['uniforms'][_0x11951e(0xeb)]=_0x2c72f6:this[_0x11951e(0x160)](_0x2c72f6),this;}},{'key':'_createGraphic','value':function _0x2d8c65(_0x285fdc){var _0x57765a=_0x537bb3;this[_0x57765a(0x153)](),this[_0x57765a(0xe7)]=new mars3d__namespace['graphic'][(_0x57765a(0x15a))](_objectSpread2(_objectSpread2({},this['options']),{},{'rectangle':this[_0x57765a(0x10f)],'appearance':new Cesium['EllipsoidSurfaceAppearance']({'material':new Cesium[(_0x57765a(0x133))]({'fabric':{'uniforms':{'image':_0x285fdc},'source':HeatMaterial},'translucent':!![]}),'flat':!![]})})),this[_0x57765a(0xea)][_0x57765a(0x13b)](this['_graphic']);}},{'key':_0x537bb3(0xe9),'value':function _0x5e9a1(_0x5814c5){var _0x54b504=_0x537bb3;this[_0x54b504(0x153)]();var _0x38c127=Cesium[_0x54b504(0x107)][_0x54b504(0x171)]({'cull':{'enabled':!![]},'depthTest':{'enabled':!![]},'stencilTest':{'enabled':!![],'frontFunction':Cesium[_0x54b504(0x103)][_0x54b504(0x166)],'frontOperation':{'fail':Cesium[_0x54b504(0x101)][_0x54b504(0xef)],'zFail':Cesium[_0x54b504(0x101)]['KEEP'],'zPass':Cesium[_0x54b504(0x101)][_0x54b504(0xec)]},'backFunction':Cesium['StencilFunction']['ALWAYS'],'backOperation':{'fail':Cesium[_0x54b504(0x101)][_0x54b504(0xef)],'zFail':Cesium[_0x54b504(0x101)][_0x54b504(0xef)],'zPass':Cesium[_0x54b504(0x101)][_0x54b504(0xec)]},'reference':0x2,'mask':0x2},'blending':Cesium[_0x54b504(0x16b)][_0x54b504(0x169)]}),_0x171415=Math[_0x54b504(0x13c)](Cesium['defaultValue'](this[_0x54b504(0xe8)][_0x54b504(0xf3)],this[_0x54b504(0x117)]*0.02))+0.1;this[_0x54b504(0xe8)][_0x54b504(0xf3)]&&delete this['style'][_0x54b504(0xf3)];var _0x11cb7b=Cesium[_0x54b504(0xf8)](this['style'][_0x54b504(0xf6)],0x64),_0x3c4db1=Math[_0x54b504(0xf5)](this[_0x54b504(0x10f)][_0x54b504(0x162)],this[_0x54b504(0x10f)][_0x54b504(0x164)]);this[_0x54b504(0xe8)][_0x54b504(0x108)]=_0x3c4db1/=_0x11cb7b,this[_0x54b504(0xe7)]=new mars3d__namespace[(_0x54b504(0x130))]['RectanglePrimitive'](_objectSpread2(_objectSpread2({},this[_0x54b504(0xee)]),{},{'rectangle':this[_0x54b504(0x10f)],'appearance':new Cesium[(_0x54b504(0x12b))]({'aboveGround':!![],'renderState':_0x38c127,'material':new Cesium[(_0x54b504(0x133))]({'fabric':{'uniforms':{'image':_0x5814c5,'repeat':new Cesium[(_0x54b504(0x16d))](0x1,0x1),'color':new Cesium['Color'](0x1,0x1,0x1,0.01),'bumpMap':this[_0x54b504(0x12e)]()},'source':HeatMaterial},'translucent':!![]}),'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\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'[_0x54b504(0x12a)](_0x171415,_0x54b504(0x15b)),'flat':!![]})})),this[_0x54b504(0xea)][_0x54b504(0x13b)](this[_0x54b504(0xe7)]);}},{'key':_0x537bb3(0x106),'value':function _0x2f0de2(_0x89677){var _0x5dbcbf=_0x537bb3;return _0x89677!==null&&_0x89677!==void 0x0&&_0x89677[_0x5dbcbf(0xda)]&&this[_0x5dbcbf(0x10f)]?mars3d__namespace[_0x5dbcbf(0x146)][_0x5dbcbf(0x156)](this[_0x5dbcbf(0x10f)]):this[_0x5dbcbf(0x10f)];}},{'key':_0x537bb3(0x13f),'value':function _0x5b7d2b(){var _0x4119aa=_0x537bb3,_0x21afd4=this,_0x215d7c,_0xe2867e,_0x12e651=this[_0x4119aa(0x116)],_0x3c76ac=[],_0x4401de,_0x5f21b9,_0x3d16ab,_0xa32ff7;_0x12e651['forEach'](function(_0x1f45e6){var _0x2d9164=_0x4119aa,_0x217429=mars3d__namespace[_0x2d9164(0x16a)][_0x2d9164(0x12d)](_0x1f45e6);if(!_0x217429)return;_0x217429[_0x2d9164(0x142)]=_0x1f45e6[_0x2d9164(0x142)]||0x1,!_0x21afd4[_0x2d9164(0xee)][_0x2d9164(0xf2)]&&(_0x4401de===undefined?(_0x4401de=_0x217429[_0x2d9164(0x10b)],_0x5f21b9=_0x217429[_0x2d9164(0x10b)],_0x3d16ab=_0x217429[_0x2d9164(0x10a)],_0xa32ff7=_0x217429[_0x2d9164(0x10a)]):(_0x4401de=Math[_0x2d9164(0x104)](_0x4401de,_0x217429[_0x2d9164(0x10b)]),_0x5f21b9=Math['max'](_0x5f21b9,_0x217429[_0x2d9164(0x10b)]),_0x3d16ab=Math[_0x2d9164(0x104)](_0x3d16ab,_0x217429[_0x2d9164(0x10a)]),_0xa32ff7=Math['max'](_0xa32ff7,_0x217429['lat']))),_0x3c76ac['push'](_0x217429);});var _0x5f322e=this['options'][_0x4119aa(0xf2)]||{'xmin':_0x4401de,'xmax':_0x5f21b9,'ymin':_0x3d16ab,'ymax':_0xa32ff7},_0x1ab0eb=getMercatorBounds(_0x5f322e),_0x180963=Math['abs'](_0x1ab0eb['xmax']-_0x1ab0eb['xmin']),_0x397fee=Math['abs'](_0x1ab0eb[_0x4119aa(0x140)]-_0x1ab0eb[_0x4119aa(0xfa)]),_0x32b15a=Math[_0x4119aa(0xf5)](_0x180963,_0x397fee),_0x86fd52=Math[_0x4119aa(0x104)](_0x180963,_0x397fee);this[_0x4119aa(0x117)]=_0x32b15a;var _0x4d61e6=0x1;if(_0x32b15a>this[_0x4119aa(0xee)]['maxCanvasSize'])_0x4d61e6=_0x32b15a/this[_0x4119aa(0xee)][_0x4119aa(0x167)],_0x86fd52/_0x4d61e6<this[_0x4119aa(0xee)][_0x4119aa(0x129)]&&(_0x4d61e6=_0x86fd52/this[_0x4119aa(0xee)][_0x4119aa(0x129)]);else _0x86fd52<this[_0x4119aa(0xee)]['minCanvasSize']&&(_0x4d61e6=_0x86fd52/this[_0x4119aa(0xee)]['minCanvasSize'],_0x32b15a/_0x4d61e6>this[_0x4119aa(0xee)][_0x4119aa(0x167)]&&(_0x4d61e6=_0x32b15a/this[_0x4119aa(0xee)][_0x4119aa(0x167)]));var _0x324802=this[_0x4119aa(0x123)]['radius']*1.5,_0x11799c=_0x180963/_0x4d61e6+_0x324802*0x2,_0xf513ba=_0x397fee/_0x4d61e6+_0x324802*0x2,_0x49290a=_0x324802*_0x4d61e6;_0x1ab0eb['xmin']-=_0x49290a,_0x1ab0eb['ymin']-=_0x49290a,_0x1ab0eb[_0x4119aa(0x155)]+=_0x49290a,_0x1ab0eb[_0x4119aa(0x140)]+=_0x49290a,this[_0x4119aa(0xf0)]=_0x4d61e6,_0x5f322e=geLatLngBounds(_0x1ab0eb),this['_rectangle']=Cesium['Rectangle'][_0x4119aa(0x127)](_0x5f322e[_0x4119aa(0x126)],_0x5f322e[_0x4119aa(0xfa)],_0x5f322e[_0x4119aa(0x155)],_0x5f322e['ymax']);var _0x1dde34=(_0x215d7c=_0x3c76ac[0x0][_0x4119aa(0x142)])!==null&&_0x215d7c!==void 0x0?_0x215d7c:0x1,_0x2d1de3=(_0xe2867e=_0x3c76ac[0x0][_0x4119aa(0x142)])!==null&&_0xe2867e!==void 0x0?_0xe2867e:0x0,_0x2fe444=[];_0x3c76ac[_0x4119aa(0x154)](function(_0xe15c45){var _0x1f6010=_0x4119aa,_0x5b1fe2=mars3d__namespace['PointTrans']['lonlat2mercator']([_0xe15c45[_0x1f6010(0x10b)],_0xe15c45[_0x1f6010(0x10a)]]),_0x5860eb=_0xe15c45[_0x1f6010(0x142)]||0x1,_0x3e8219=Math['round']((_0x5b1fe2[0x0]-_0x1ab0eb['xmin'])/_0x4d61e6),_0xb2cbda=Math['round']((_0x1ab0eb[_0x1f6010(0x140)]-_0x5b1fe2[0x1])/_0x4d61e6);_0x1dde34=Math['max'](_0x1dde34,_0x5860eb),_0x2d1de3=Math[_0x1f6010(0x104)](_0x2d1de3,_0x5860eb),_0x2fe444[_0x1f6010(0x16e)]({'x':_0x3e8219,'y':_0xb2cbda,'value':_0x5860eb});});var _0x43c663={'min':_0x2d1de3,'max':_0x1dde34,'data':_0x2fe444};this[_0x4119aa(0xf7)]=_0x43c663;(!this[_0x4119aa(0x144)]||_0x1ab0eb[_0x4119aa(0x126)]!==this['_last_mBounds'][_0x4119aa(0x126)]||_0x1ab0eb[_0x4119aa(0xfa)]!==this['_last_mBounds'][_0x4119aa(0xfa)]||_0x1ab0eb[_0x4119aa(0x155)]!==this[_0x4119aa(0x144)]['xmax']||_0x1ab0eb[_0x4119aa(0x140)]!==this[_0x4119aa(0x144)][_0x4119aa(0x140)])&&(this[_0x4119aa(0x144)]=_0x1ab0eb,!this[_0x4119aa(0x123)]['container']&&(this[_0x4119aa(0x123)][_0x4119aa(0xdc)]=mars3d__namespace[_0x4119aa(0x111)][_0x4119aa(0x113)]('div',_0x4119aa(0x168),this[_0x4119aa(0xde)][_0x4119aa(0xdc)])),this['heatStyle'][_0x4119aa(0xdc)][_0x4119aa(0xe8)][_0x4119aa(0xe4)]=_0x4119aa(0x148)['concat'](_0x11799c,'px;height:')[_0x4119aa(0x12a)](_0xf513ba,_0x4119aa(0x16c)),!this['_heat']?this[_0x4119aa(0x125)]=h337__namespace['create'](this[_0x4119aa(0x123)]):this[_0x4119aa(0x125)][_0x4119aa(0x120)](this[_0x4119aa(0x123)]));this[_0x4119aa(0x125)][_0x4119aa(0x13d)](_0x43c663);var _0x2331f0=mars3d__namespace['DomUtil'][_0x4119aa(0x119)](this[_0x4119aa(0x125)]['_renderer'][_0x4119aa(0x15c)]);return _0x2331f0;}},{'key':'_getArcHeatCanvas','value':function _0x4f91fd(){var _0x4bb79b=_0x537bb3;this[_0x4bb79b(0x125)][_0x4bb79b(0x120)]({'radius':this[_0x4bb79b(0x123)]['radius']*this[_0x4bb79b(0xe8)][_0x4bb79b(0xd8)],'blur':this[_0x4bb79b(0x123)][_0x4bb79b(0x14e)]*this[_0x4bb79b(0xe8)]['arcBlurScale'],'gradient':this[_0x4bb79b(0x123)][_0x4bb79b(0x147)]||{0.25:'rgb(0,0,0)',0.55:_0x4bb79b(0x102),0.85:_0x4bb79b(0x109),0x1:'rgb(255,255,255)'}});var _0x1171d7=mars3d__namespace[_0x4bb79b(0x111)][_0x4bb79b(0x119)](this[_0x4bb79b(0x125)][_0x4bb79b(0x105)][_0x4bb79b(0x15c)]);return this[_0x4bb79b(0x125)][_0x4bb79b(0x120)](this[_0x4bb79b(0xee)][_0x4bb79b(0x123)]),_0x1171d7;}},{'key':_0x537bb3(0x11a),'value':function _0x3f7aa2(_0x18f19d){var _0x206890=_0x537bb3,_0x4171d6=mars3d__namespace[_0x206890(0x16a)][_0x206890(0x12d)](_0x18f19d);if(!_0x4171d6)return{};var _0x2df5c0=mars3d__namespace[_0x206890(0x124)][_0x206890(0x10e)]([_0x4171d6[_0x206890(0x10b)],_0x4171d6['lat']]),_0x7c9b4a=this[_0x206890(0x144)],_0x3119ce=Math['round']((_0x2df5c0[0x0]-_0x7c9b4a[_0x206890(0x126)])/this[_0x206890(0xf0)]),_0x36e59d=Math[_0x206890(0x11d)]((_0x7c9b4a[_0x206890(0x140)]-_0x2df5c0[0x1])/this[_0x206890(0xf0)]),_0x568f71=this[_0x206890(0x125)][_0x206890(0x157)]({'x':_0x3119ce,'y':_0x36e59d}),_0x3c3e31=this['_heat'][_0x206890(0x105)][_0x206890(0x134)][_0x206890(0x13a)](_0x3119ce-0x1,_0x36e59d-0x1,0x1,0x1)['data'];return{'x':_0x3119ce,'y':_0x36e59d,'value':_0x568f71,'color':'rgba('+_0x3c3e31[0x0]+','+_0x3c3e31[0x1]+','+_0x3c3e31[0x2]+','+_0x3c3e31[0x3]+')'};}}]),_0x58feec;}(BaseLayer);function _0x1eb0(){var _0x346de7=['y2XPzw50sgvPz2H0','rg9TvxrPBa','Cg9PBNrZ','y3jLyxrL','yM9KEq','x3jLBw92zwriB29R','x3bVC2L0Aw9UCW','x21cB3vUzhnnyxG','Bgf5zxi','y29WEunHBNzHCW','z2v0ug9PBNreyxrH','u3vWzxiGzxHWCMvZC2LVBIbTDxn0igvPDgHLCIbIzsbUDwXSig9YigeGzNvUy3rPB24','nNfpswXNBq','CM91BMq','zgvMAw5LuhjVCgvYDgLLCW','tgf5zxjvDgLS','y29UzMLNDxjL','y2XPzw50v2LKDgG','ChjVDg90ExbL','AgvHDfn0EwXL','ug9PBNruCMfUCW','x2HLyxq','Eg1PBG','zNjVBurLz3jLzxm','zMX5vg9cEufUAw1HDgLVBKvUza','BwLUq2fUDMfZu2L6zq','y29Uy2f0','rwXSAxbZB2LKu3vYzMfJzufWCgvHCMfUy2u','z2v0t3DUuhjVCgvYDhLezxnJCMLWDg9YCW','CgfYC2u','x2DLDefYy0HLyxrdyw52yxm','z2v0t3DUuhjVCgvYDhLezxnJCMLWDg9Y','z3jHCgHPyW','y29UzMLNDxjHyMXL','y29VCMrPBMf0zxm','twf0zxjPywW','y3r4','mtKXmtiYmKv4wfLQwa','Cg9ZAxrPB25Z','yxbWBhK','vKvsvevyx0zpuK1bva','x3vWzgf0zvbVC2L0Aw9UC0HVB2S','z2v0sw1Hz2veyxrH','ywrKr3jHCgHPyW','zMXVB3i','C2v0rgf0yq','q2vZAxvT','x2DLDeHLyxrdyw52yxm','Ew1HEa','A2v5CW','DMfSDwu','D3jPDgfIBgu','x2XHC3rFBujVDw5KCW','rgvYAxzLzcbJB25ZDhj1y3rVCNmGBwf5ig9UBhKGCMv0DxjUig9IAMvJDcbVCIb1BMrLzMLUzwq','ug9SEvv0AwW','z3jHzgLLBNrbCMm','D2LKDgG6','AgvHDa','yMX1zq','BgvUz3rO','zNvUy3rPB24','zw51BwvYywjSzq','yMX1CG','Dw5PzM9YBxm','zMLSDgvY','EwvSBg93','sgvHDeXHEwvY','y2XLyxi','zM9YrwfJAa','Eg1HEa','zM9YBwf0uMvJDgfUz2XL','z2v0vMfSDwvbDa','mZuWmtG3nMPKDuTiAq','mJu4mJK1nwvfr3buAq','uMvJDgfUz2XLuhjPBwL0AxzL','oWOGicaGicaGicaGicbWicS9DMvJncHKAxnqB3mSmc4WktSkicaGicaGicaGicaGz2XFug9ZAxrPB24GpsbJEM1FBw9KzwXwAwv3uhjVAMvJDgLVBLjLBgf0AxzLvg9fEwuGkIbWoWOGicaGicaGicaGFqOGicaGicaGia','y2fUDMfZ','A2v5','6k+35BYv5ywLigHLyxrTyxaUANmG5BQtia','mJaZmJyXnMjnwujQrq','x2nYzwf0zuDYyxbOAwm','Dg9bCNjHEq','AgvPz2H0','BwvYz2u','D2LKDgG','y29UC3rYDwn0','quXxqvLt','Bwf4q2fUDMfZu2L6zq','BwfYCZnKlwHLyxrTyxaGBwfYCZnKlwHPzgveAxy','quXqsefFqKXftKq','tg5Ntgf0ug9PBNq','qMXLBMrPBMDtDgf0zq','ChG7','q2fYDgvZAwfUmG','ChvZAa','DgHPCYbOyxnUj3qGyMvLBIbPBML0AwfSAxnLzcaTihn1CgvYkcKGAgfZBID0igjLzw4Gy2fSBgvK','qMfZzuXHEwvY','zNjVBunHy2HL','yxjJuMfKAxvZu2nHBgu','y2fSBa','AxngB3jTyxq','zgvMyxvSDa','y29UDgfPBMvY','C2v0ug9ZAxrPB25Z','x21HCa','z2v0','zgvMAw5LuhjVCgvYDhK','BwvYy2f0B3iYBg9UBgf0','C2v0uhjVDg90ExbLt2y','CMvNAxn0zxi','y3nZvgv4Da','x19WCM90B19F','x3nLDe9WDgLVBNniB29R','x2DYyxbOAwm','C3r5Bgu','x2nYzwf0zufYy0DYyxbOAwm','x2XHEwvY','Aw1Hz2u','uKvqtefdrq','mJKZnta1ohPZvefAAG','B3b0Aw9UCW','s0vfua','x3nJywXL','CMvTB3zLtgf5zxi','CMvJDgfUz2XL','zgLMzKHLAwDODa','x19LC01VzhvSzq','Bwf4','C3bSAxroDw0','x2XHC3rFAgvHDerHDge','zgvMyxvSDfzHBhvL','y29UC3rYDwn0B3i','Ew1PBG','z2v0t3DUuhjVCgvYDhLtEw1IB2XZ','mtC5ntC0mdbpuNfHDxq','mteYotGWoeftqNrpzG','CMvTB3zLr3jHCgHPyW','C2HHBq','vxrPBa','u3rLBMnPBe9WzxjHDgLVBG','CMDIkde0mcWXndaSmtqWkq','u3rLBMnPBez1BMn0Aw9U','BwLU','x3jLBMrLCMvY','z2v0uMvJDgfUz2XL','uMvUzgvYu3rHDgu','z3jHBNvSyxjPDhK','CMDIkdiXnIWYmtySmJe2kq','Bgf0','Bg5N','yxjJ','r3jHCgHPy0XHEwvY','Bg9UBgf0mM1LCMnHDg9Y','x3jLy3rHBMDSzq'];_0x1eb0=function(){return _0x346de7;};return _0x1eb0();}mars3d__namespace[_0x2337b6(0x118)]['HeatLayer']=HeatLayer,mars3d__namespace[_0x2337b6(0x11f)][_0x2337b6(0xe3)](_0x2337b6(0x149),HeatLayer);function getMercatorBounds(_0x1c17c5){var _0x1fd44b=_0x2337b6,_0x395f1d=mars3d__namespace[_0x1fd44b(0x124)]['lonlat2mercator']([_0x1c17c5[_0x1fd44b(0x126)],_0x1c17c5[_0x1fd44b(0xfa)]]),_0x33a914=mars3d__namespace['PointTrans'][_0x1fd44b(0x10e)]([_0x1c17c5['xmax'],_0x1c17c5[_0x1fd44b(0x140)]]);return{'xmin':_0x395f1d[0x0],'ymin':_0x395f1d[0x1],'xmax':_0x33a914[0x0],'ymax':_0x33a914[0x1]};}function geLatLngBounds(_0x365d41){var _0x33910f=_0x2337b6,_0x25d6ed=mars3d__namespace[_0x33910f(0x124)][_0x33910f(0xe1)]([_0x365d41[_0x33910f(0x126)],_0x365d41[_0x33910f(0xfa)]]),_0x4b5d61=mars3d__namespace[_0x33910f(0x124)][_0x33910f(0xe1)]([_0x365d41['xmax'],_0x365d41[_0x33910f(0x140)]]);return{'xmin':_0x25d6ed[0x0],'ymin':_0x25d6ed[0x1],'xmax':_0x4b5d61[0x0],'ymax':_0x4b5d61[0x1]};}function _0x561d(_0x47c655,_0x54f490){var _0x1eb03e=_0x1eb0();return _0x561d=function(_0x561daf,_0x1274e9){_0x561daf=_0x561daf-0xd8;var _0x64d4e2=_0x1eb03e[_0x561daf];if(_0x561d['BkLMEv']===undefined){var _0x169aed=function(_0x33b6b2){var _0x91048='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';var _0x147003='',_0x11e574='';for(var _0x1ec020=0x0,_0xc4be59,_0x259b4c,_0x1119c7=0x0;_0x259b4c=_0x33b6b2['charAt'](_0x1119c7++);~_0x259b4c&&(_0xc4be59=_0x1ec020%0x4?_0xc4be59*0x40+_0x259b4c:_0x259b4c,_0x1ec020++%0x4)?_0x147003+=String['fromCharCode'](0xff&_0xc4be59>>(-0x2*_0x1ec020&0x6)):0x0){_0x259b4c=_0x91048['indexOf'](_0x259b4c);}for(var _0x289dd0=0x0,_0xc28510=_0x147003['length'];_0x289dd0<_0xc28510;_0x289dd0++){_0x11e574+='%'+('00'+_0x147003['charCodeAt'](_0x289dd0)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x11e574);};_0x561d['neCPxh']=_0x169aed,_0x47c655=arguments,_0x561d['BkLMEv']=!![];}var _0x5067bf=_0x1eb03e[0x0],_0x465ca6=_0x561daf+_0x5067bf,_0x30bda4=_0x47c655[_0x465ca6];return!_0x30bda4?(_0x64d4e2=_0x561d['neCPxh'](_0x64d4e2),_0x47c655[_0x465ca6]=_0x64d4e2):_0x64d4e2=_0x30bda4,_0x64d4e2;},_0x561d(_0x47c655,_0x54f490);}exports[_0x2337b6(0x152)]=HeatLayer,Object[_0x2337b6(0xe0)](exports,_0x2337b6(0xf4),{'value':!![]}); | ||
'use strict';var _0x1575ef=_0x4953;(function(_0x1abbaf,_0x5e2745){var _0x12d818=_0x4953,_0x37586e=_0x1abbaf();while(!![]){try{var _0x181a1d=-parseInt(_0x12d818(0x153))/0x1*(-parseInt(_0x12d818(0x149))/0x2)+-parseInt(_0x12d818(0x116))/0x3*(-parseInt(_0x12d818(0xe5))/0x4)+parseInt(_0x12d818(0x146))/0x5+parseInt(_0x12d818(0x10a))/0x6*(parseInt(_0x12d818(0xc7))/0x7)+parseInt(_0x12d818(0x157))/0x8*(parseInt(_0x12d818(0xeb))/0x9)+parseInt(_0x12d818(0xdb))/0xa*(-parseInt(_0x12d818(0xdc))/0xb)+-parseInt(_0x12d818(0xfa))/0xc;if(_0x181a1d===_0x5e2745)break;else _0x37586e['push'](_0x37586e['shift']());}catch(_0x36f58c){_0x37586e['push'](_0x37586e['shift']());}}}(_0x13ba,0x4dfd6));function _0x4953(_0x5657c1,_0x151662){var _0x13baa9=_0x13ba();return _0x4953=function(_0x4953ca,_0x57b939){_0x4953ca=_0x4953ca-0xb6;var _0x3a698b=_0x13baa9[_0x4953ca];if(_0x4953['MCAtOu']===undefined){var _0x46539d=function(_0x372663){var _0x2ff287='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';var _0xc533e1='',_0x2f7f0a='';for(var _0x31456f=0x0,_0x423594,_0x3897e6,_0x39e7d3=0x0;_0x3897e6=_0x372663['charAt'](_0x39e7d3++);~_0x3897e6&&(_0x423594=_0x31456f%0x4?_0x423594*0x40+_0x3897e6:_0x3897e6,_0x31456f++%0x4)?_0xc533e1+=String['fromCharCode'](0xff&_0x423594>>(-0x2*_0x31456f&0x6)):0x0){_0x3897e6=_0x2ff287['indexOf'](_0x3897e6);}for(var _0x242b66=0x0,_0x3eedbe=_0xc533e1['length'];_0x242b66<_0x3eedbe;_0x242b66++){_0x2f7f0a+='%'+('00'+_0xc533e1['charCodeAt'](_0x242b66)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x2f7f0a);};_0x4953['lqLPXd']=_0x46539d,_0x5657c1=arguments,_0x4953['MCAtOu']=!![];}var _0x2043bd=_0x13baa9[0x0],_0x48aa9d=_0x4953ca+_0x2043bd,_0x5d9f82=_0x5657c1[_0x48aa9d];return!_0x5d9f82?(_0x3a698b=_0x4953['lqLPXd'](_0x3a698b),_0x5657c1[_0x48aa9d]=_0x3a698b):_0x3a698b=_0x5d9f82,_0x3a698b;},_0x4953(_0x5657c1,_0x151662);}function _interopNamespace(_0x372663){var _0x4f968c=_0x4953;if(_0x372663&&_0x372663[_0x4f968c(0xf8)])return _0x372663;var _0x2ff287=Object[_0x4f968c(0x111)](null);return _0x372663&&Object[_0x4f968c(0x10d)](_0x372663)[_0x4f968c(0xba)](function(_0xc533e1){var _0x3c4b91=_0x4f968c;if(_0xc533e1!==_0x3c4b91(0xc9)){var _0x2f7f0a=Object['getOwnPropertyDescriptor'](_0x372663,_0xc533e1);Object[_0x3c4b91(0xde)](_0x2ff287,_0xc533e1,_0x2f7f0a[_0x3c4b91(0xdd)]?_0x2f7f0a:{'enumerable':!![],'get':function(){return _0x372663[_0xc533e1];}});}}),_0x2ff287[_0x4f968c(0xc9)]=_0x372663,_0x2ff287;}var mars3d__namespace=_interopNamespace(mars3d),h337__namespace=_interopNamespace(h337);function ownKeys(_0x31456f,_0x423594){var _0xa63e6=_0x4953,_0x3897e6=Object['keys'](_0x31456f);if(Object['getOwnPropertySymbols']){var _0x39e7d3=Object[_0xa63e6(0x105)](_0x31456f);_0x423594&&(_0x39e7d3=_0x39e7d3[_0xa63e6(0x13a)](function(_0x242b66){var _0x5e59cf=_0xa63e6;return Object[_0x5e59cf(0x132)](_0x31456f,_0x242b66)['enumerable'];})),_0x3897e6['push'][_0xa63e6(0xcc)](_0x3897e6,_0x39e7d3);}return _0x3897e6;}function _objectSpread2(_0x3eedbe){var _0x30aff2=_0x4953;for(var _0x3e6073=0x1;_0x3e6073<arguments['length'];_0x3e6073++){var _0xdeae86=null!=arguments[_0x3e6073]?arguments[_0x3e6073]:{};_0x3e6073%0x2?ownKeys(Object(_0xdeae86),!0x0)[_0x30aff2(0xba)](function(_0x321fa8){_defineProperty(_0x3eedbe,_0x321fa8,_0xdeae86[_0x321fa8]);}):Object[_0x30aff2(0xf2)]?Object[_0x30aff2(0x144)](_0x3eedbe,Object[_0x30aff2(0xf2)](_0xdeae86)):ownKeys(Object(_0xdeae86))[_0x30aff2(0xba)](function(_0x27fbab){var _0x4bdf68=_0x30aff2;Object[_0x4bdf68(0xde)](_0x3eedbe,_0x27fbab,Object[_0x4bdf68(0x132)](_0xdeae86,_0x27fbab));});}return _0x3eedbe;}function _classCallCheck(_0x3ec167,_0x4f8b1c){var _0x7d468f=_0x4953;if(!(_0x3ec167 instanceof _0x4f8b1c))throw new TypeError(_0x7d468f(0xf7));}function _defineProperties(_0x117d07,_0x1fbd31){var _0x5884bd=_0x4953;for(var _0x53dccb=0x0;_0x53dccb<_0x1fbd31[_0x5884bd(0x136)];_0x53dccb++){var _0x28b069=_0x1fbd31[_0x53dccb];_0x28b069['enumerable']=_0x28b069[_0x5884bd(0x108)]||![],_0x28b069[_0x5884bd(0x138)]=!![];if('value'in _0x28b069)_0x28b069[_0x5884bd(0xca)]=!![];Object[_0x5884bd(0xde)](_0x117d07,_0x28b069[_0x5884bd(0xc8)],_0x28b069);}}function _createClass(_0x4edf47,_0xf893c2,_0x18c5eb){var _0x4ccfde=_0x4953;if(_0xf893c2)_defineProperties(_0x4edf47[_0x4ccfde(0x115)],_0xf893c2);if(_0x18c5eb)_defineProperties(_0x4edf47,_0x18c5eb);return Object[_0x4ccfde(0xde)](_0x4edf47,_0x4ccfde(0x115),{'writable':![]}),_0x4edf47;}function _defineProperty(_0xa99557,_0x4f80e4,_0x24dc07){return _0x4f80e4 in _0xa99557?Object['defineProperty'](_0xa99557,_0x4f80e4,{'value':_0x24dc07,'enumerable':!![],'configurable':!![],'writable':!![]}):_0xa99557[_0x4f80e4]=_0x24dc07,_0xa99557;}function _inherits(_0x165e97,_0x2a2517){var _0x485c5b=_0x4953;if(typeof _0x2a2517!==_0x485c5b(0x140)&&_0x2a2517!==null)throw new TypeError(_0x485c5b(0x106));_0x165e97[_0x485c5b(0x115)]=Object[_0x485c5b(0x111)](_0x2a2517&&_0x2a2517[_0x485c5b(0x115)],{'constructor':{'value':_0x165e97,'writable':!![],'configurable':!![]}}),Object[_0x485c5b(0xde)](_0x165e97,_0x485c5b(0x115),{'writable':![]});if(_0x2a2517)_setPrototypeOf(_0x165e97,_0x2a2517);}function _getPrototypeOf(_0x1cf47a){var _0x14e07d=_0x4953;return _getPrototypeOf=Object[_0x14e07d(0xc0)]?Object[_0x14e07d(0x158)]:function _0x4fa6c4(_0xf8b535){var _0x3456f7=_0x14e07d;return _0xf8b535[_0x3456f7(0xe3)]||Object[_0x3456f7(0x158)](_0xf8b535);},_getPrototypeOf(_0x1cf47a);}function _setPrototypeOf(_0x59769c,_0x59d95b){var _0x34b43d=_0x4953;return _setPrototypeOf=Object[_0x34b43d(0xc0)]||function _0x1f2719(_0x44eeed,_0x4aa46a){var _0x1242fe=_0x34b43d;return _0x44eeed[_0x1242fe(0xe3)]=_0x4aa46a,_0x44eeed;},_setPrototypeOf(_0x59769c,_0x59d95b);}function _isNativeReflectConstruct(){var _0x2bd19f=_0x4953;if(typeof Reflect===_0x2bd19f(0x109)||!Reflect[_0x2bd19f(0x14e)])return![];if(Reflect['construct'][_0x2bd19f(0x12c)])return![];if(typeof Proxy===_0x2bd19f(0x140))return!![];try{return Boolean[_0x2bd19f(0x115)]['valueOf'][_0x2bd19f(0x11c)](Reflect[_0x2bd19f(0x14e)](Boolean,[],function(){})),!![];}catch(_0x8a72a5){return![];}}function _assertThisInitialized(_0x42db2f){var _0x126933=_0x4953;if(_0x42db2f===void 0x0)throw new ReferenceError(_0x126933(0xb6));return _0x42db2f;}function _0x13ba(){var _0x12a8b1=['y29UC3rYDwn0','CMvJDgfUz2XL','ywrKr3jHCgHPyW','uMvJDgfUz2XL','u3rLBMnPBe9WzxjHDgLVBG','mJa1nty2zhLhB21x','x3jLBw92zwriB29R','ywrKtgf5zxi','Bgf0','ndqWD1HPzu9W','z2v0uhjVDg90ExbLt2y','DgHPCYbOyxnUj3qGyMvLBIbPBML0AwfSAxnLzcaTihn1CgvYkcKGAgfZBID0igjLzw4Gy2fSBgvK','ChG7AgvPz2H0oG','y2XPzw50v2LKDgG','DMfSDwu','zM9YrwfJAa','z3jHCgHPyW','C2v0ug9ZAxrPB25Z','q2fYDgvZAwfUmG','CMvNAxn0zxi','x2nYzwf0zuDYyxbOAwm','C2v0uhjVDg90ExbLt2y','uKvqtefdrq','Ew1PBG','x2DLDefYy0HLyxrdyw52yxm','x21HCa','yNvTCe1HCa','B2jQzwn0','nJm4ndDVsND1u0e','A2v5','zgvMyxvSDa','D3jPDgfIBgu','tg5Ntgf0ug9PBNq','yxbWBhK','vKvsvevyx0zpuK1bva','x2DLDeHLyxrdyw52yxm','z3jLzw4','ChG7','y2XLyxi','Cg9PBNrZ','Ew1HEa','Cg9ZAxrPB25Z','x2XHC3rFBujVDw5KCW','ChvZAa','uMvUzgvYu3rHDgu','y29UDgfPBMvY','Bgf5zxi','Dw5PzM9YBxm','ntbeD0j1rfy','mti3mZe1mwrdAfLJzW','z2v0','zgvMAw5LuhjVCgvYDhK','z2v0ug9PBNreyxrH','Bwf4q2fUDMfZu2L6zq','CMfKAxvZ','CgfYC2u','x19WCM90B19F','BwLU','mJi3mMv3zhfVEq','quXqsefFqKXftKq','quXxqvLt','rwXSAxbZB2LKu3vYzMfJzufWCgvHCMfUy2u','BwLUq2fUDMfZu2L6zq','yM9KEq','nJq1mJfTEhryB00','x21VDw50zwriB29R','u3rLBMnPBez1BMn0Aw9U','B3b0Aw9UCW','ug9SEvv0AwW','C3bSAxroDw0','qMXLBMrPBMDtDgf0zq','z2v0t3DUuhjVCgvYDhLezxnJCMLWDg9YCW','zgLMzKHLAwDODa','CMDIysG','y29UzMLNDxjL','ywjZ','q2fUBM90ignHBgWGysbJBgfZCYbHCYbHigz1BMn0Aw9U','x19LC01VzhvSzq','zgvMyxvSDfzHBhvL','mtiXmdK0odHOCurcCw0','yMX1zq','Dw5PzM9YBsbZyw1WBgvYmKqGAw1Hz2u7cMn6Bv9TyxrLCMLHBcbJEM1Fz2v0twf0zxjPywWOy3PTx21HDgvYAwfSsw5WDxqGBwf0zxjPywXjBNb1DcL7cIaGy3PTx21HDgvYAwfSig1HDgvYAwfSid0Gy3PTx2DLDerLzMf1BhrnyxrLCMLHBcHTyxrLCMLHBeLUChv0ktSkicb2zwmYihn0id0GBwf0zxjPywXjBNb1Dc5ZDdSkicb2zwm0ignVBg9Ysw1Hz2uGpsb0zxH0DxjLmKqOAw1Hz2uSC3qPoWOGigLMkgnVBg9Ysw1Hz2uUCMDIid09ihzLyZmOms4Wksb8FcbJB2XVCKLTywDLlNjNyIa9psb2zwmZkdaUmcKPEWOGicaGzgLZy2fYzdSkicb9cIaGBwf0zxjPywWUzgLMzNvZzsa9ignVBg9Ysw1Hz2uUCMDIoWOGig1HDgvYAwfSlMfSCgHHid0Gy29SB3jjBwfNzs5HoWOGihjLDhvYBIbTyxrLCMLHBdSkFqO','vxrPBa','CMDIkde0mcWXndaSmtqWkq','Aw1Hz2u','Bg5N','y29Uy2f0','x21cB3vUzhnnyxG','BwvYz2u','CMvTB3zL','z2v0t3DUuhjVCgvYDhLtEw1IB2XZ','u3vWzxiGzxHWCMvZC2LVBIbTDxn0igvPDgHLCIbIzsbUDwXSig9YigeGzNvUy3rPB24','Bwf4','zw51BwvYywjSzq','Dw5KzwzPBMvK','mZi0z3DIyvbH','BwfYCZnKlwHLyxrTyxaGBwfYCZnKlwHPzgveAxy','z2v0sw1Hz2veyxrH','A2v5CW','6k+35BYv5ywLigHLyxrTyxaUANmG5BQtia','Eg1PBG','CMDIkdaSmcWWkq','y3jLyxrL','x2XHEwvY','x3nLDe9WDgLVBNniB29R','Eg1HEa','ChjVDg90ExbL','mJG5mLnlDhPZua','Dg9bCNjHEq','x3bVC2L0Aw9UCW','x3jLy3rHBMDSzq','BwvYy2f0B3iYBg9UBgf0','oWOGicaGicaGicaGicbWicS9DMvJncHKAxnqB3mSmc4WktSkicaGicaGicaGicaGz2XFug9ZAxrPB24GpsbJEM1FBw9KzwXwAwv3uhjVAMvJDgLVBLjLBgf0AxzLvg9fEwuGkIbWoWOGicaGicaGicaGFqOGicaGicaGia','y2fSBa','zNjVBurLz3jLzxm','AgvHDfn0EwXL','q29SB3i','twf0zxjPywW','yxjJuMfKAxvZu2nHBgu','CM91BMq','z2v0vMfSDwvbDa','zNjVBunHy2HL','Bg9UBgf0mM1LCMnHDg9Y','C2HVDW','rg9TvxrPBa','x21HCNmZzf9WCML2yxrL','D2LKDgG','x2DYyxbOAwm','r3jHCgHPy0XHEwvY','C2HHBq','yMX1CG','zgL2','y2fUDMfZ','zM9YBwf0uMvJDgfUz2XL','x3nJywXL','z2v0t3DUuhjVCgvYDhLezxnJCMLWDg9Y','z3jHzgLLBNrbCMm','x3vWzgf0zvbVC2L0Aw9UC0HVB2S','x2nYzwf0zufYy0DYyxbOAwm','BgvUz3rO','ug9PBNruCMfUCW','y29UzMLNDxjHyMXL','sgvHDeXHEwvY','zMLSDgvY','q2vZAxvT','z3jHBNvSyxjPDhK','C3r5Bgu','CMvTB3zLtgf5zxi','yxjJ','zNvUy3rPB24','zMX5vg8','qMfZzuXHEwvY','x2HLyxq','zgvMAw5LuhjVCgvYDgLLCW','x3jLBMrLCMvY','mtmZnJy0mej4svPJzq','s0vfua','EwvSBg93','mNvluvvMvW','y29VCMrPBMf0zxm','C2v0rgf0yq','x2XHC3rFAgvHDerHDge','y3r4'];_0x13ba=function(){return _0x12a8b1;};return _0x13ba();}function _possibleConstructorReturn(_0x3964ec,_0x569c10){var _0x2b8b99=_0x4953;if(_0x569c10&&(typeof _0x569c10===_0x2b8b99(0xc6)||typeof _0x569c10==='function'))return _0x569c10;else{if(_0x569c10!==void 0x0)throw new TypeError('Derived\x20constructors\x20may\x20only\x20return\x20object\x20or\x20undefined');}return _assertThisInitialized(_0x3964ec);}function _createSuper(_0xb2414){var _0x252d24=_isNativeReflectConstruct();return function _0x59edce(){var _0xd53d6=_0x4953,_0x1f739a=_getPrototypeOf(_0xb2414),_0x42eab3;if(_0x252d24){var _0x3d1d4f=_getPrototypeOf(this)['constructor'];_0x42eab3=Reflect['construct'](_0x1f739a,arguments,_0x3d1d4f);}else _0x42eab3=_0x1f739a[_0xd53d6(0xcc)](this,arguments);return _possibleConstructorReturn(this,_0x42eab3);};}var HeatMaterial=_0x1575ef(0xfc);if(!h337__namespace[_0x1575ef(0x111)])throw new Error(_0x1575ef(0x10e));var Cesium=mars3d__namespace[_0x1575ef(0x13b)],BaseLayer=mars3d__namespace['layer'][_0x1575ef(0x142)],DEF_HEATSTYLE={'maxOpacity':0.8,'minOpacity':0.1,'blur':0.85,'radius':0x19,'gradient':{0.4:_0x1575ef(0xfb),0.6:_0x1575ef(0xcf),0.8:_0x1575ef(0x148),0.9:'red'}},DEF_STYLE={'arcRadiusScale':1.5,'arcBlurScale':1.5,'vertexFormat':Cesium['EllipsoidSurfaceAppearance'][_0x1575ef(0xcd)]},HeatLayer=function(_0xb3bcc4){var _0x2c5df4=_0x1575ef;_inherits(_0x18592f,_0xb3bcc4);var _0x350a80=_createSuper(_0x18592f);function _0x18592f(){var _0x217e48=_0x4953,_0x2cac34,_0xbac67e=arguments[_0x217e48(0x136)]>0x0&&arguments[0x0]!==undefined?arguments[0x0]:{};return _classCallCheck(this,_0x18592f),_0x2cac34=_0x350a80[_0x217e48(0x11c)](this,_0xbac67e),_0x2cac34['options'][_0x217e48(0xe0)]=Cesium[_0x217e48(0xf9)](_0x2cac34['options'][_0x217e48(0xe0)],document['body'][_0x217e48(0xb8)]),_0x2cac34[_0x217e48(0xee)][_0x217e48(0xe0)]=Math[_0x217e48(0xe4)](_0x2cac34[_0x217e48(0xee)]['maxCanvasSize'],0x1388),_0x2cac34[_0x217e48(0xee)][_0x217e48(0xe9)]=Cesium['defaultValue'](_0x2cac34['options'][_0x217e48(0xe9)],document[_0x217e48(0xea)]['clientHeight']),_0x2cac34[_0x217e48(0xee)][_0x217e48(0xe9)]=Math[_0x217e48(0x107)](_0x2cac34[_0x217e48(0xee)]['minCanvasSize'],0x2bc),_0x2cac34[_0x217e48(0xee)][_0x217e48(0x11e)]=_objectSpread2(_objectSpread2({},DEF_HEATSTYLE),_0x2cac34[_0x217e48(0xee)][_0x217e48(0x11e)]||{}),_0x2cac34['options']['style']=_objectSpread2(_objectSpread2({},DEF_STYLE),_0x2cac34[_0x217e48(0xee)][_0x217e48(0x13d)]||{}),_0x2cac34;}return _createClass(_0x18592f,[{'key':_0x2c5df4(0xd9),'get':function _0x40ec08(){return this['_layer'];}},{'key':_0x2c5df4(0x11e),'get':function _0x274d2b(){var _0x529121=_0x2c5df4;return this[_0x529121(0xee)][_0x529121(0x11e)];},'set':function _0x227c90(_0xa82ab7){var _0x20ab97=_0x2c5df4;this[_0x20ab97(0xee)][_0x20ab97(0x11e)]=mars3d__namespace[_0x20ab97(0xfd)][_0x20ab97(0x103)](this[_0x20ab97(0xee)][_0x20ab97(0x11e)],_0xa82ab7),this[_0x20ab97(0x143)]&&(this[_0x20ab97(0x143)][_0x20ab97(0xf5)](this[_0x20ab97(0xee)]['heatStyle']),this['_updatePositionsHook'](!![]));}},{'key':'style','get':function _0x230670(){var _0x1d7f08=_0x2c5df4;return this[_0x1d7f08(0xee)][_0x1d7f08(0x13d)];},'set':function _0x11f95b(_0x56fe67){var _0x91f548=_0x2c5df4;this[_0x91f548(0xee)][_0x91f548(0x13d)]=mars3d__namespace[_0x91f548(0xfd)][_0x91f548(0x103)](this[_0x91f548(0xee)][_0x91f548(0x13d)],_0x56fe67);}},{'key':'positions','get':function _0x1bf5aa(){var _0x9e53f4=_0x2c5df4;return this[_0x9e53f4(0x118)];},'set':function _0x35b3d2(_0x48491a){var _0x2fa6d7=_0x2c5df4;this[_0x2fa6d7(0xbc)](_0x48491a);}},{'key':_0x2c5df4(0x14a),'get':function _0x245aa6(){var _0x56b5e7=_0x2c5df4,_0x38c085=[];return this[_0x56b5e7(0xd2)][_0x56b5e7(0xba)](function(_0x21ad76){var _0x10f885=_0x56b5e7;_0x38c085[_0x10f885(0xd6)](_0x21ad76[_0x10f885(0x117)]());}),_0x38c085;}},{'key':'rectangle','get':function _0x174a10(){var _0x3992ab=_0x2c5df4;return this[_0x3992ab(0x119)];}},{'key':_0x2c5df4(0x113),'value':function _0x4aa09b(_0x6433c6){var _0x56e8b3=_0x2c5df4;_0x6433c6[_0x56e8b3(0xd4)]&&(this[_0x56e8b3(0xd4)]=_0x6433c6[_0x56e8b3(0xd4)]);}},{'key':_0x2c5df4(0xec),'value':function _0x25ae1a(){var _0x5a5361=_0x2c5df4;this[_0x5a5361(0x112)]=new mars3d__namespace['layer'][(_0x5a5361(0x12b))]({'noLayerManage':!![]}),this[_0x5a5361(0x112)][_0x5a5361(0x128)]=!![];}},{'key':'_addedHook','value':function _0x4b47f5(){var _0x522421=_0x2c5df4;this[_0x522421(0xc4)][_0x522421(0x155)](this['_layer']),this[_0x522421(0xee)]['positions']&&(this['positions']=this['options'][_0x522421(0xd4)]),this[_0x522421(0xee)][_0x522421(0x141)]&&this['flyToByAnimationEnd']();}},{'key':_0x2c5df4(0x154),'value':function _0x313466(){var _0x450221=_0x2c5df4;this['heatStyle'][_0x450221(0xd8)]&&(mars3d__namespace[_0x450221(0x127)][_0x450221(0x104)](this[_0x450221(0x11e)][_0x450221(0xd8)]),delete this['heatStyle']['container']),this[_0x450221(0xd1)](),this[_0x450221(0xc4)][_0x450221(0x13e)](this[_0x450221(0x112)]);}},{'key':'addPosition','value':function _0x16ce4a(_0x334f9f,_0x186588){var _0x50d970=_0x2c5df4;this[_0x50d970(0x118)]=this[_0x50d970(0x118)]||[],this[_0x50d970(0x118)][_0x50d970(0xd6)](_0x334f9f),this[_0x50d970(0x134)](_0x186588);}},{'key':'setPositions','value':function _0x4c0422(_0x5a6a56,_0x15d07a){this['_positions']=_0x5a6a56,this['_updatePositionsHook'](_0x15d07a);}},{'key':_0x2c5df4(0xd1),'value':function _0x3289e4(){var _0x1a2bfb=_0x2c5df4;this[_0x1a2bfb(0x12a)]&&(this['_layer']['removeGraphic'](this['_graphic'],!![]),delete this[_0x1a2bfb(0x12a)]);}},{'key':_0x2c5df4(0x134),'value':function _0x3b0342(_0xec3936){var _0xe3e7e=_0x2c5df4;if(!this[_0xe3e7e(0x126)]||!this[_0xe3e7e(0xc4)]||!this[_0xe3e7e(0xd4)]||this['positions'][_0xe3e7e(0x136)]===0x0)return this;var _0x214f00=this[_0xe3e7e(0xce)]();return this[_0xe3e7e(0x13d)][_0xe3e7e(0x13f)]?this['_graphic']&&_0xec3936?(this[_0xe3e7e(0x12a)]['uniforms'][_0xe3e7e(0xff)]=_0x214f00,this[_0xe3e7e(0x12a)]['uniforms'][_0xe3e7e(0xc5)]=this[_0xe3e7e(0xc3)]()):this[_0xe3e7e(0x135)](_0x214f00):this[_0xe3e7e(0x12a)]&&_0xec3936?this['_graphic'][_0xe3e7e(0xda)][_0xe3e7e(0xff)]=_0x214f00:this['_createGraphic'](_0x214f00),this;}},{'key':_0x2c5df4(0xbf),'value':function _0x386414(_0x35fd8e){var _0x5dbb88=_0x2c5df4;this['clear'](),this[_0x5dbb88(0x12a)]=new mars3d__namespace[(_0x5dbb88(0xbb))]['RectanglePrimitive'](_objectSpread2(_objectSpread2({},this[_0x5dbb88(0xee)]),{},{'rectangle':this[_0x5dbb88(0x119)],'appearance':new Cesium[(_0x5dbb88(0xe8))]({'material':new Cesium[(_0x5dbb88(0x120))]({'fabric':{'uniforms':{'image':_0x35fd8e},'source':HeatMaterial},'translucent':!![]}),'flat':!![]})})),this['_layer'][_0x5dbb88(0x150)](this[_0x5dbb88(0x12a)]);}},{'key':_0x2c5df4(0x135),'value':function _0x31010e(_0x1247b4){var _0xe20a71=_0x2c5df4;this['clear']();var _0x18bdef=Cesium[_0xe20a71(0xd7)][_0xe20a71(0x124)]({'cull':{'enabled':!![]},'depthTest':{'enabled':!![]},'stencilTest':{'enabled':!![],'frontFunction':Cesium[_0xe20a71(0xed)][_0xe20a71(0xe7)],'frontOperation':{'fail':Cesium[_0xe20a71(0x152)][_0xe20a71(0x147)],'zFail':Cesium[_0xe20a71(0x152)][_0xe20a71(0x147)],'zPass':Cesium[_0xe20a71(0x152)][_0xe20a71(0xc1)]},'backFunction':Cesium[_0xe20a71(0xed)][_0xe20a71(0xe7)],'backOperation':{'fail':Cesium['StencilOperation'][_0xe20a71(0x147)],'zFail':Cesium[_0xe20a71(0x152)][_0xe20a71(0x147)],'zPass':Cesium['StencilOperation'][_0xe20a71(0xc1)]},'reference':0x2,'mask':0x2},'blending':Cesium[_0xe20a71(0xf1)][_0xe20a71(0xe6)]}),_0x3b17c1=Math['floor'](Cesium[_0xe20a71(0xf9)](this['style'][_0xe20a71(0xf3)],this[_0xe20a71(0x102)]*0.02))+0.1;this['style'][_0xe20a71(0xf3)]&&delete this[_0xe20a71(0x13d)][_0xe20a71(0xf3)];var _0x4eb9d8=Cesium[_0xe20a71(0xf9)](this[_0xe20a71(0x13d)][_0xe20a71(0xf0)],0x64),_0x14eeff=Math[_0xe20a71(0x107)](this[_0xe20a71(0x119)]['height'],this[_0xe20a71(0x119)][_0xe20a71(0x129)]);this[_0xe20a71(0x13d)][_0xe20a71(0x13c)]=_0x14eeff/=_0x4eb9d8,this[_0xe20a71(0x12a)]=new mars3d__namespace[(_0xe20a71(0xbb))]['RectanglePrimitive'](_objectSpread2(_objectSpread2({},this[_0xe20a71(0xee)]),{},{'rectangle':this[_0xe20a71(0x119)],'appearance':new Cesium[(_0xe20a71(0xe8))]({'aboveGround':!![],'renderState':_0x18bdef,'material':new Cesium[(_0xe20a71(0x120))]({'fabric':{'uniforms':{'image':_0x1247b4,'repeat':new Cesium[(_0xe20a71(0xbd))](0x1,0x1),'color':new Cesium[(_0xe20a71(0x11f))](0x1,0x1,0x1,0.01),'bumpMap':this[_0xe20a71(0xc3)]()},'source':HeatMaterial},'translucent':!![]}),'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\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'['concat'](_0x3b17c1,_0xe20a71(0x11b)),'flat':!![]})})),this[_0xe20a71(0x112)][_0xe20a71(0x150)](this[_0xe20a71(0x12a)]);}},{'key':'getRectangle','value':function _0x5f40e2(_0x562a6c){var _0x29d1ea=_0x2c5df4;return _0x562a6c!==null&&_0x562a6c!==void 0x0&&_0x562a6c['isFormat']&&this[_0x29d1ea(0x119)]?mars3d__namespace[_0x29d1ea(0xef)][_0x29d1ea(0x130)](this[_0x29d1ea(0x119)]):this[_0x29d1ea(0x119)];}},{'key':_0x2c5df4(0xce),'value':function _0x487db7(){var _0x34d55d=_0x2c5df4,_0x385d2e=this,_0x47111b,_0x1657bc,_0x2fecf5=this[_0x34d55d(0x118)],_0xcea5fe=[],_0x4b2503,_0x1b6833,_0x13c4c9,_0x39e9f1;_0x2fecf5[_0x34d55d(0xba)](function(_0x124ef4){var _0x2b238f=_0x34d55d,_0x4cd412=mars3d__namespace[_0x2b238f(0xcb)]['parse'](_0x124ef4);if(!_0x4cd412)return;_0x4cd412[_0x2b238f(0xb9)]=_0x124ef4['value']||0x1,!_0x385d2e[_0x2b238f(0xee)][_0x2b238f(0x14f)]&&(_0x4b2503===undefined?(_0x4b2503=_0x4cd412[_0x2b238f(0x100)],_0x1b6833=_0x4cd412['lng'],_0x13c4c9=_0x4cd412['lat'],_0x39e9f1=_0x4cd412[_0x2b238f(0x156)]):(_0x4b2503=Math['min'](_0x4b2503,_0x4cd412['lng']),_0x1b6833=Math[_0x2b238f(0x107)](_0x1b6833,_0x4cd412[_0x2b238f(0x100)]),_0x13c4c9=Math[_0x2b238f(0xe4)](_0x13c4c9,_0x4cd412['lat']),_0x39e9f1=Math[_0x2b238f(0x107)](_0x39e9f1,_0x4cd412[_0x2b238f(0x156)]))),_0xcea5fe[_0x2b238f(0xd6)](_0x4cd412);});var _0x21ffce=this[_0x34d55d(0xee)][_0x34d55d(0x14f)]||{'xmin':_0x4b2503,'xmax':_0x1b6833,'ymin':_0x13c4c9,'ymax':_0x39e9f1},_0x6bb657=getMercatorBounds(_0x21ffce),_0x4da0f6=Math[_0x34d55d(0xf6)](_0x6bb657[_0x34d55d(0x114)]-_0x6bb657[_0x34d55d(0x10f)]),_0x41b6f4=Math[_0x34d55d(0xf6)](_0x6bb657[_0x34d55d(0xd3)]-_0x6bb657[_0x34d55d(0xc2)]),_0x4a5451=Math[_0x34d55d(0x107)](_0x4da0f6,_0x41b6f4),_0x4d4b12=Math[_0x34d55d(0xe4)](_0x4da0f6,_0x41b6f4);this[_0x34d55d(0x102)]=_0x4a5451;var _0x28a766=0x1;if(_0x4a5451>this[_0x34d55d(0xee)][_0x34d55d(0xe0)])_0x28a766=_0x4a5451/this[_0x34d55d(0xee)][_0x34d55d(0xe0)],_0x4d4b12/_0x28a766<this['options'][_0x34d55d(0xe9)]&&(_0x28a766=_0x4d4b12/this['options'][_0x34d55d(0xe9)]);else _0x4d4b12<this[_0x34d55d(0xee)]['minCanvasSize']&&(_0x28a766=_0x4d4b12/this[_0x34d55d(0xee)][_0x34d55d(0xe9)],_0x4a5451/_0x28a766>this[_0x34d55d(0xee)]['maxCanvasSize']&&(_0x28a766=_0x4a5451/this['options'][_0x34d55d(0xe0)]));var _0x4b97e5=this['heatStyle'][_0x34d55d(0xe1)]*1.5,_0x57f2ed=_0x4da0f6/_0x28a766+_0x4b97e5*0x2,_0x5dc060=_0x41b6f4/_0x28a766+_0x4b97e5*0x2,_0x2bd992=_0x4b97e5*_0x28a766;_0x6bb657[_0x34d55d(0x10f)]-=_0x2bd992,_0x6bb657[_0x34d55d(0xc2)]-=_0x2bd992,_0x6bb657[_0x34d55d(0x114)]+=_0x2bd992,_0x6bb657[_0x34d55d(0xd3)]+=_0x2bd992,this[_0x34d55d(0x131)]=_0x28a766,_0x21ffce=geLatLngBounds(_0x6bb657),this[_0x34d55d(0x119)]=Cesium[_0x34d55d(0x151)][_0x34d55d(0x11d)](_0x21ffce[_0x34d55d(0x10f)],_0x21ffce[_0x34d55d(0xc2)],_0x21ffce[_0x34d55d(0x114)],_0x21ffce[_0x34d55d(0xd3)]);var _0x6c35da=(_0x47111b=_0xcea5fe[0x0][_0x34d55d(0xb9)])!==null&&_0x47111b!==void 0x0?_0x47111b:0x1,_0x463558=(_0x1657bc=_0xcea5fe[0x0][_0x34d55d(0xb9)])!==null&&_0x1657bc!==void 0x0?_0x1657bc:0x0,_0x56b032=[];_0xcea5fe[_0x34d55d(0xba)](function(_0x25eeab){var _0x56abf0=_0x34d55d,_0x14da88=mars3d__namespace['PointTrans']['lonlat2mercator']([_0x25eeab[_0x56abf0(0x100)],_0x25eeab[_0x56abf0(0x156)]]),_0x2408ea=_0x25eeab[_0x56abf0(0xb9)]||0x1,_0x3acd5d=Math[_0x56abf0(0x122)]((_0x14da88[0x0]-_0x6bb657[_0x56abf0(0x10f)])/_0x28a766),_0x32b7fd=Math[_0x56abf0(0x122)]((_0x6bb657['ymax']-_0x14da88[0x1])/_0x28a766);_0x6c35da=Math['max'](_0x6c35da,_0x2408ea),_0x463558=Math[_0x56abf0(0xe4)](_0x463558,_0x2408ea),_0x56b032['push']({'x':_0x3acd5d,'y':_0x32b7fd,'value':_0x2408ea});});var _0x568837={'min':_0x463558,'max':_0x6c35da,'data':_0x56b032};this[_0x34d55d(0x14c)]=_0x568837;(!this['_last_mBounds']||_0x6bb657['xmin']!==this[_0x34d55d(0xd5)][_0x34d55d(0x10f)]||_0x6bb657[_0x34d55d(0xc2)]!==this[_0x34d55d(0xd5)][_0x34d55d(0xc2)]||_0x6bb657['xmax']!==this[_0x34d55d(0xd5)][_0x34d55d(0x114)]||_0x6bb657[_0x34d55d(0xd3)]!==this[_0x34d55d(0xd5)][_0x34d55d(0xd3)])&&(this[_0x34d55d(0xd5)]=_0x6bb657,!this[_0x34d55d(0x11e)][_0x34d55d(0xd8)]&&(this['heatStyle'][_0x34d55d(0xd8)]=mars3d__namespace[_0x34d55d(0x127)]['create'](_0x34d55d(0x12e),_0x34d55d(0x10b),this[_0x34d55d(0xc4)][_0x34d55d(0xd8)])),this[_0x34d55d(0x11e)][_0x34d55d(0xd8)][_0x34d55d(0x13d)]['cssText']='width:'[_0x34d55d(0x101)](_0x57f2ed,_0x34d55d(0xb7))[_0x34d55d(0x101)](_0x5dc060,_0x34d55d(0xd0)),!this['_heat']?this[_0x34d55d(0x143)]=h337__namespace[_0x34d55d(0x111)](this[_0x34d55d(0x11e)]):this[_0x34d55d(0x143)][_0x34d55d(0xf5)](this[_0x34d55d(0x11e)]));this[_0x34d55d(0x143)][_0x34d55d(0x14b)](_0x568837);var _0x135e56=mars3d__namespace[_0x34d55d(0x127)]['copyCanvas'](this[_0x34d55d(0x143)]['_renderer'][_0x34d55d(0x12f)]);return _0x135e56;}},{'key':_0x2c5df4(0xc3),'value':function _0x33706e(){var _0x499630=_0x2c5df4;this[_0x499630(0x143)][_0x499630(0xf5)]({'radius':this[_0x499630(0x11e)][_0x499630(0xe1)]*this[_0x499630(0x13d)][_0x499630(0x121)],'blur':this[_0x499630(0x11e)][_0x499630(0x12d)]*this[_0x499630(0x13d)]['arcBlurScale'],'gradient':this['heatStyle'][_0x499630(0x133)]||{0.25:_0x499630(0x110),0.55:_0x499630(0xfe),0.85:'rgb(216,216,216)',0x1:'rgb(255,255,255)'}});var _0x2b11ba=mars3d__namespace[_0x499630(0x127)]['copyCanvas'](this[_0x499630(0x143)][_0x499630(0x145)][_0x499630(0x12f)]);return this[_0x499630(0x143)][_0x499630(0xf5)](this[_0x499630(0xee)][_0x499630(0x11e)]),_0x2b11ba;}},{'key':_0x2c5df4(0xdf),'value':function _0x488f78(_0x53d477){var _0x28f5a4=_0x2c5df4,_0x4138f0=mars3d__namespace[_0x28f5a4(0xcb)][_0x28f5a4(0xe2)](_0x53d477);if(!_0x4138f0)return{};var _0x60efce=mars3d__namespace[_0x28f5a4(0x137)][_0x28f5a4(0x125)]([_0x4138f0[_0x28f5a4(0x100)],_0x4138f0['lat']]),_0x84afb1=this[_0x28f5a4(0xd5)],_0x4f48af=Math[_0x28f5a4(0x122)]((_0x60efce[0x0]-_0x84afb1[_0x28f5a4(0x10f)])/this[_0x28f5a4(0x131)]),_0x13ea84=Math[_0x28f5a4(0x122)]((_0x84afb1[_0x28f5a4(0xd3)]-_0x60efce[0x1])/this[_0x28f5a4(0x131)]),_0x173712=this[_0x28f5a4(0x143)][_0x28f5a4(0x123)]({'x':_0x4f48af,'y':_0x13ea84}),_0x48aa04=this['_heat'][_0x28f5a4(0x145)][_0x28f5a4(0x14d)][_0x28f5a4(0x10c)](_0x4f48af-0x1,_0x13ea84-0x1,0x1,0x1)['data'];return{'x':_0x4f48af,'y':_0x13ea84,'value':_0x173712,'color':_0x28f5a4(0xf4)+_0x48aa04[0x0]+','+_0x48aa04[0x1]+','+_0x48aa04[0x2]+','+_0x48aa04[0x3]+')'};}}]),_0x18592f;}(BaseLayer);mars3d__namespace[_0x1575ef(0xd9)][_0x1575ef(0x139)]=HeatLayer,mars3d__namespace['LayerUtil'][_0x1575ef(0xbe)]('heat',HeatLayer);function getMercatorBounds(_0x2d8842){var _0x28f777=_0x1575ef,_0x2a86c4=mars3d__namespace[_0x28f777(0x137)][_0x28f777(0x125)]([_0x2d8842[_0x28f777(0x10f)],_0x2d8842[_0x28f777(0xc2)]]),_0x44a507=mars3d__namespace['PointTrans']['lonlat2mercator']([_0x2d8842[_0x28f777(0x114)],_0x2d8842[_0x28f777(0xd3)]]);return{'xmin':_0x2a86c4[0x0],'ymin':_0x2a86c4[0x1],'xmax':_0x44a507[0x0],'ymax':_0x44a507[0x1]};}function geLatLngBounds(_0x278991){var _0x1b44da=_0x1575ef,_0x43a54c=mars3d__namespace[_0x1b44da(0x137)][_0x1b44da(0x11a)]([_0x278991[_0x1b44da(0x10f)],_0x278991[_0x1b44da(0xc2)]]),_0x17aaa5=mars3d__namespace[_0x1b44da(0x137)][_0x1b44da(0x11a)]([_0x278991[_0x1b44da(0x114)],_0x278991[_0x1b44da(0xd3)]]);return{'xmin':_0x43a54c[0x0],'ymin':_0x43a54c[0x1],'xmax':_0x17aaa5[0x0],'ymax':_0x17aaa5[0x1]};}exports[_0x1575ef(0x139)]=HeatLayer,Object['defineProperty'](exports,_0x1575ef(0xf8),{'value':!![]}); | ||
})); |
{ | ||
"name": "mars3d-heatmap", | ||
"version": "3.3.10", | ||
"version": "3.3.11", | ||
"description": "Mars3D平台插件,结合heatmap可视化功能插件", | ||
@@ -13,3 +13,3 @@ "main": "dist/mars3d-heatmap.js", | ||
"devDependencies": { | ||
"mars3d": "^3.3.10" | ||
"mars3d": "^3.3.11" | ||
}, | ||
@@ -16,0 +16,0 @@ "scripts": { |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
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
30565
119