mars3d-heatmap
Advanced tools
Comparing version 3.3.11 to 3.3.12
/** | ||
* Mars3D平台插件,结合heatmap可视化功能插件 mars3d-heatmap | ||
* | ||
* 版本信息:v3.3.11 | ||
* 编译日期:2022-05-29 09:13:37 | ||
* 版本信息:v3.3.12 | ||
* 编译日期:2022-06-06 10:48:52 | ||
* 版权所有:Copyright by 火星科技 http://mars3d.cn | ||
@@ -14,3 +14,3 @@ * 使用单位:免费公开版 ,2022-02-01 | ||
})(this, (function (exports, mars3d, h337) { | ||
'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':!![]}); | ||
'use strict';var _0x2ac30e=_0x4a32;(function(_0xdc3044,_0x2ac52e){var _0x22bd85=_0x4a32,_0x15e4f4=_0xdc3044();while(!![]){try{var _0x21ed82=-parseInt(_0x22bd85(0xd8))/0x1*(parseInt(_0x22bd85(0x14b))/0x2)+-parseInt(_0x22bd85(0xdb))/0x3*(-parseInt(_0x22bd85(0xf4))/0x4)+-parseInt(_0x22bd85(0xe0))/0x5+parseInt(_0x22bd85(0xf9))/0x6*(-parseInt(_0x22bd85(0x156))/0x7)+-parseInt(_0x22bd85(0x142))/0x8+parseInt(_0x22bd85(0x11a))/0x9*(parseInt(_0x22bd85(0xef))/0xa)+parseInt(_0x22bd85(0x131))/0xb*(parseInt(_0x22bd85(0x111))/0xc);if(_0x21ed82===_0x2ac52e)break;else _0x15e4f4['push'](_0x15e4f4['shift']());}catch(_0x1c1dd8){_0x15e4f4['push'](_0x15e4f4['shift']());}}}(_0x3be2,0xa4af5));function _interopNamespace(_0x59643a){var _0x16699f=_0x4a32;if(_0x59643a&&_0x59643a['__esModule'])return _0x59643a;var _0x24f21f=Object[_0x16699f(0x141)](null);return _0x59643a&&Object[_0x16699f(0xd0)](_0x59643a)[_0x16699f(0x144)](function(_0x991080){var _0x1312e1=_0x16699f;if(_0x991080!==_0x1312e1(0x106)){var _0x1bf29b=Object[_0x1312e1(0x11d)](_0x59643a,_0x991080);Object[_0x1312e1(0x109)](_0x24f21f,_0x991080,_0x1bf29b[_0x1312e1(0x12e)]?_0x1bf29b:{'enumerable':!![],'get':function(){return _0x59643a[_0x991080];}});}}),_0x24f21f[_0x16699f(0x106)]=_0x59643a,_0x24f21f;}var mars3d__namespace=_interopNamespace(mars3d),h337__namespace=_interopNamespace(h337);function _0x3be2(){var _0x5e9246=['Cg9ZAxrPB25Z','yNvTCe1HCa','z2v0vMfSDwvbDa','mte4nZmZndLIC2vyBfO','zNvUy3rPB24','Eg1PBG','z2v0t3DUuhjVCgvYDhLezxnJCMLWDg9Y','zMX5vg9cEufUAw1HDgLVBKvUza','CMDIkdaSmcWWkq','zgvMyxvSDfzHBhvL','zMXVB3i','y29Uy2f0','qMXLBMrPBMDtDgf0zq','x2HLyxq','Bwf4','z2v0t3DUuhjVCgvYDhLtEw1IB2XZ','D3jPDgfIBgu','B3b0Aw9UCW','quXqsefFqKXftKq','x2DYyxbOAwm','BwvYz2u','quXxqvLt','x2DLDeHLyxrdyw52yxm','z2v0','ChG7AgvPz2H0oG','uMvJDgfUz2XL','ntiZotn5Bg9WDKe','CMDIysG','zgvMAw5LuhjVCgvYDgLLCW','y29UDgfPBMvY','Bgf0','x3bVC2L0Aw9UCW','ChvZAa','oWOGicaGicaGicaGicbWicS9DMvJncHKAxnqB3mSmc4WktSkicaGicaGicaGicaGz2XFug9ZAxrPB24GpsbJEM1FBw9KzwXwAwv3uhjVAMvJDgLVBLjLBgf0AxzLvg9fEwuGkIbWoWOGicaGicaGicaGFqOGicaGicaGia','BwvYy2f0B3iYBg9UBgf0','zNjVBurLz3jLzxm','x2XHEwvY','rgvYAxzLzcbJB25ZDhj1y3rVCNmGBwf5ig9UBhKGCMv0DxjUig9IAMvJDcbVCIb1BMrLzMLUzwq','Dw5PzM9YBxm','Dw5KzwzPBMvK','ywrKtgf5zxi','CgfYC2u','y3jLyxrL','nZK3ota4mezjz2XruG','s0vfua','zM9YrwfJAa','Eg1HEa','AgvHDfn0EwXL','CMvTB3zLtgf5zxi','x3jLy3rHBMDSzq','u3vWzxiGzxHWCMvZC2LVBIbTDxn0igvPDgHLCIbIzsbUDwXSig9YigeGzNvUy3rPB24','x3jLBMrLCMvY','mtqWnMzSq3HJEG','D2LKDgG','y2fSBa','zw51BwvYywjSzq','CMDIkdi1nsWYntuSmJu1kq','C2v0ug9ZAxrPB25Z','Aw1Hz2u','y3nZvgv4Da','z3jHBNvSyxjPDhK','x21HCNmZzf9WCML2yxrL','z2v0sw1Hz2veyxrH','nJmWzvrsB2Lj','twf0zxjPywW','Bg9UBgf0mM1LCMnHDg9Y','z3jHzgLLBNrbCMm','vKvsvevyx0zpuK1bva','x2fKzgvKsg9VAW','x2nYzwf0zufYy0DYyxbOAwm','yxbWBhK','A2v5','Cg9PBNrZ','y2fUDMfZ','y29UzMLNDxjHyMXL','CMvNAxn0zxi','C2v0uhjVDg90ExbLt2y','DMfSDwu','y2XLyxi','x2XHC3rFAgvHDerHDge','x2DLDefYy0HLyxrdyw52yxm','x3nJywXL','A2v5CW','yMX1CG','y3r4','DgHPCYbOyxnUj3qGyMvLBIbPBML0AwfSAxnLzcaTihn1CgvYkcKGAgfZBID0igjLzw4Gy2fSBgvK','y2XPzw50sgvPz2H0','ug9PBNruCMfUCW','x3vWzgf0zvbVC2L0Aw9UC0HVB2S','q29SB3i','nZy0EMzgwKDT','rg9TvxrPBa','Ew1HEa','odGZmdK4sKzZueLk','x3nLDe9WDgLVBNniB29R','CMvK','zgLMzKHLAwDODa','z3jHCgHPyW','mtyZmZiYmfPstMvdza','rwXSAxbZB2LKu3vYzMfJzufWCgvHCMfUy2u','yxjJqMX1CLnJywXL','u3rLBMnPBe9WzxjHDgLVBG','u3rLBMnPBez1BMn0Aw9U','BwLU','CM91BMq','BwfYCZnKlwHLyxrTyxaGBwfYCZnKlwHPzgveAxy','y2XPzw50v2LKDgG','Bwf4q2fUDMfZu2L6zq','zM9YBwf0uMvJDgfUz2XL','yMX1zq','BwLUq2fUDMfZu2L6zq','z2v0ug9PBNreyxrH','B2jQzwn0','mtbKAhLOvxq','CMvJDgfUz2XL','zMX5vg8','x2XHC3rFBujVDw5KCW','ChG7','ngT3vhnmDa','x3jLBw92zwriB29R','C3bSAxroDw0','CMvTB3zL','y29WEunHBNzHCW','mJq1odjxwvbqD3a','ywrKr3jHCgHPyW','tg5Ntgf0ug9PBNq','Bgf5zxi','ywjZ','yM9KEq','x19WCM90B19F','BgvUz3rO','x21cB3vUzhnnyxG','C3r5Bgu','yxjJuMfKAxvZu2nHBgu','q2fUBM90ignHBgWGysbJBgfZCYbHCYbHigz1BMn0Aw9U','ChjVDg90ExbL','zgvMyxvSDa','AgvPz2H0','CMDIkdiXnIWYmtySmJe2kq','zgvMAw5LuhjVCgvYDhK','x21HCa','z2v0t3DUuhjVCgvYDhLezxnJCMLWDg9YCW','y29UC3rYDwn0','uMvJDgfUz2XLuhjPBwL0AxzL','AxngB3jTyxq','y29VCMrPBMf0zxm','Bg5N','mZi1mKnPAgXrBW','x21VDw50zwriB29R','Ew1PBG','z3jLzw4','y29UzMLNDxjL','ywrKug9ZAxrPB24'];_0x3be2=function(){return _0x5e9246;};return _0x3be2();}function ownKeys(_0x28a3ab,_0x1580b1){var _0x24719e=_0x4a32,_0x1217a4=Object[_0x24719e(0xd0)](_0x28a3ab);if(Object[_0x24719e(0x126)]){var _0x285c02=Object[_0x24719e(0x126)](_0x28a3ab);_0x1580b1&&(_0x285c02=_0x285c02['filter'](function(_0x236b29){var _0x3a8a84=_0x24719e;return Object[_0x3a8a84(0x11d)](_0x28a3ab,_0x236b29)['enumerable'];})),_0x1217a4[_0x24719e(0x137)][_0x24719e(0x15d)](_0x1217a4,_0x285c02);}return _0x1217a4;}function _objectSpread2(_0x4a39e2){var _0x95c615=_0x4a32;for(var _0x266f9b=0x1;_0x266f9b<arguments[_0x95c615(0x100)];_0x266f9b++){var _0x596f92=null!=arguments[_0x266f9b]?arguments[_0x266f9b]:{};_0x266f9b%0x2?ownKeys(Object(_0x596f92),!0x0)[_0x95c615(0x144)](function(_0x4fdd35){_defineProperty(_0x4a39e2,_0x4fdd35,_0x596f92[_0x4fdd35]);}):Object[_0x95c615(0x10b)]?Object[_0x95c615(0x133)](_0x4a39e2,Object[_0x95c615(0x10b)](_0x596f92)):ownKeys(Object(_0x596f92))['forEach'](function(_0x5e91e5){var _0x3e3343=_0x95c615;Object[_0x3e3343(0x109)](_0x4a39e2,_0x5e91e5,Object[_0x3e3343(0x11d)](_0x596f92,_0x5e91e5));});}return _0x4a39e2;}function _classCallCheck(_0x395dc6,_0x46dd1f){var _0x116b5f=_0x4a32;if(!(_0x395dc6 instanceof _0x46dd1f))throw new TypeError(_0x116b5f(0x104));}function _defineProperties(_0x99bdf3,_0x6ff56c){var _0x33bba7=_0x4a32;for(var _0x52b173=0x0;_0x52b173<_0x6ff56c[_0x33bba7(0x100)];_0x52b173++){var _0x1efdad=_0x6ff56c[_0x52b173];_0x1efdad['enumerable']=_0x1efdad[_0x33bba7(0x14e)]||![],_0x1efdad[_0x33bba7(0x161)]=!![];if(_0x33bba7(0xcb)in _0x1efdad)_0x1efdad[_0x33bba7(0x127)]=!![];Object[_0x33bba7(0x109)](_0x99bdf3,_0x1efdad[_0x33bba7(0x15e)],_0x1efdad);}}function _createClass(_0x4411a0,_0x4094e7,_0x2c5678){var _0x5c5575=_0x4a32;if(_0x4094e7)_defineProperties(_0x4411a0['prototype'],_0x4094e7);if(_0x2c5678)_defineProperties(_0x4411a0,_0x2c5678);return Object['defineProperty'](_0x4411a0,_0x5c5575(0x105),{'writable':![]}),_0x4411a0;}function _defineProperty(_0x11c7cb,_0x2d5946,_0x2ccef4){return _0x2d5946 in _0x11c7cb?Object['defineProperty'](_0x11c7cb,_0x2d5946,{'value':_0x2ccef4,'enumerable':!![],'configurable':!![],'writable':!![]}):_0x11c7cb[_0x2d5946]=_0x2ccef4,_0x11c7cb;}function _inherits(_0x1fd5fe,_0x4b8aa1){var _0x2e594d=_0x4a32;if(typeof _0x4b8aa1!==_0x2e594d(0x11b)&&_0x4b8aa1!==null)throw new TypeError(_0x2e594d(0x149));_0x1fd5fe[_0x2e594d(0x105)]=Object[_0x2e594d(0x141)](_0x4b8aa1&&_0x4b8aa1['prototype'],{'constructor':{'value':_0x1fd5fe,'writable':!![],'configurable':!![]}}),Object['defineProperty'](_0x1fd5fe,_0x2e594d(0x105),{'writable':![]});if(_0x4b8aa1)_setPrototypeOf(_0x1fd5fe,_0x4b8aa1);}function _0x4a32(_0x34a6ed,_0x1f4570){var _0x3be21b=_0x3be2();return _0x4a32=function(_0x4a3237,_0x5a0322){_0x4a3237=_0x4a3237-0xcb;var _0xc1e6c9=_0x3be21b[_0x4a3237];if(_0x4a32['iDsaTY']===undefined){var _0x473c46=function(_0x59643a){var _0x24f21f='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';var _0x991080='',_0x1bf29b='';for(var _0x28a3ab=0x0,_0x1580b1,_0x1217a4,_0x285c02=0x0;_0x1217a4=_0x59643a['charAt'](_0x285c02++);~_0x1217a4&&(_0x1580b1=_0x28a3ab%0x4?_0x1580b1*0x40+_0x1217a4:_0x1217a4,_0x28a3ab++%0x4)?_0x991080+=String['fromCharCode'](0xff&_0x1580b1>>(-0x2*_0x28a3ab&0x6)):0x0){_0x1217a4=_0x24f21f['indexOf'](_0x1217a4);}for(var _0x236b29=0x0,_0x4a39e2=_0x991080['length'];_0x236b29<_0x4a39e2;_0x236b29++){_0x1bf29b+='%'+('00'+_0x991080['charCodeAt'](_0x236b29)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x1bf29b);};_0x4a32['aUFvCp']=_0x473c46,_0x34a6ed=arguments,_0x4a32['iDsaTY']=!![];}var _0x5c9511=_0x3be21b[0x0],_0x21d718=_0x4a3237+_0x5c9511,_0x365fc8=_0x34a6ed[_0x21d718];return!_0x365fc8?(_0xc1e6c9=_0x4a32['aUFvCp'](_0xc1e6c9),_0x34a6ed[_0x21d718]=_0xc1e6c9):_0xc1e6c9=_0x365fc8,_0xc1e6c9;},_0x4a32(_0x34a6ed,_0x1f4570);}function _getPrototypeOf(_0x18e96f){var _0x318da0=_0x4a32;return _getPrototypeOf=Object[_0x318da0(0x163)]?Object['getPrototypeOf']:function _0x5bc00c(_0x1beaf5){var _0x317f27=_0x318da0;return _0x1beaf5[_0x317f27(0xff)]||Object['getPrototypeOf'](_0x1beaf5);},_getPrototypeOf(_0x18e96f);}function _setPrototypeOf(_0x3ce4cc,_0x1506b1){var _0x505fe5=_0x4a32;return _setPrototypeOf=Object[_0x505fe5(0x163)]||function _0x5e875e(_0x548167,_0x2008f7){return _0x548167['__proto__']=_0x2008f7,_0x548167;},_setPrototypeOf(_0x3ce4cc,_0x1506b1);}function _isNativeReflectConstruct(){var _0x2f941c=_0x4a32;if(typeof Reflect===_0x2f941c(0x13e)||!Reflect['construct'])return![];if(Reflect['construct']['sham'])return![];if(typeof Proxy===_0x2f941c(0x11b))return!![];try{return Boolean[_0x2f941c(0x105)]['valueOf'][_0x2f941c(0x14d)](Reflect[_0x2f941c(0x10c)](Boolean,[],function(){})),!![];}catch(_0x47aee2){return![];}}function _assertThisInitialized(_0x5c8402){var _0x17d8d0=_0x4a32;if(_0x5c8402===void 0x0)throw new ReferenceError(_0x17d8d0(0xd3));return _0x5c8402;}function _possibleConstructorReturn(_0x13af72,_0x599d29){var _0x522dc5=_0x4a32;if(_0x599d29&&(typeof _0x599d29===_0x522dc5(0xee)||typeof _0x599d29==='function'))return _0x599d29;else{if(_0x599d29!==void 0x0)throw new TypeError(_0x522dc5(0x13c));}return _assertThisInitialized(_0x13af72);}function _createSuper(_0x5237b3){var _0x108111=_isNativeReflectConstruct();return function _0x24b4fd(){var _0x40932a=_0x4a32,_0x154675=_getPrototypeOf(_0x5237b3),_0x15a7ea;if(_0x108111){var _0x284894=_getPrototypeOf(this)['constructor'];_0x15a7ea=Reflect[_0x40932a(0x10c)](_0x154675,arguments,_0x284894);}else _0x15a7ea=_0x154675['apply'](this,arguments);return _possibleConstructorReturn(this,_0x15a7ea);};}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[_0x2ac30e(0x141)])throw new Error('请引入\x20heatmap.js\x20库\x20');var Cesium=mars3d__namespace['Cesium'],BaseLayer=mars3d__namespace[_0x2ac30e(0xfc)]['BaseLayer'],DEF_HEATSTYLE={'maxOpacity':0.8,'minOpacity':0.1,'blur':0.85,'radius':0x19,'gradient':{0.4:_0x2ac30e(0xeb),0.6:_0x2ac30e(0x114),0.8:'yellow',0.9:_0x2ac30e(0xdd)}},DEF_STYLE={'arcRadiusScale':1.5,'arcBlurScale':1.5,'vertexFormat':Cesium['EllipsoidSurfaceAppearance'][_0x2ac30e(0x15a)]},HeatLayer=function(_0x2f3319){var _0x20e1b0=_0x2ac30e;_inherits(_0x113dc1,_0x2f3319);var _0x2113ad=_createSuper(_0x113dc1);function _0x113dc1(){var _0x4a79c6=_0x4a32,_0x5a419e,_0x3698d5=arguments[_0x4a79c6(0x100)]>0x0&&arguments[0x0]!==undefined?arguments[0x0]:{};return _classCallCheck(this,_0x113dc1),_0x5a419e=_0x2113ad[_0x4a79c6(0x14d)](this,_0x3698d5),_0x5a419e[_0x4a79c6(0x128)][_0x4a79c6(0xe9)]=Cesium[_0x4a79c6(0x120)](_0x5a419e[_0x4a79c6(0x128)][_0x4a79c6(0xe9)],document[_0x4a79c6(0xfe)][_0x4a79c6(0xe8)]),_0x5a419e[_0x4a79c6(0x128)][_0x4a79c6(0xe9)]=Math[_0x4a79c6(0xe5)](_0x5a419e[_0x4a79c6(0x128)][_0x4a79c6(0xe9)],0x1388),_0x5a419e['options'][_0x4a79c6(0xec)]=Cesium[_0x4a79c6(0x120)](_0x5a419e[_0x4a79c6(0x128)][_0x4a79c6(0xec)],document['body'][_0x4a79c6(0xd4)]),_0x5a419e[_0x4a79c6(0x128)][_0x4a79c6(0xec)]=Math[_0x4a79c6(0x125)](_0x5a419e[_0x4a79c6(0x128)][_0x4a79c6(0xec)],0x2bc),_0x5a419e['options']['heatStyle']=_objectSpread2(_objectSpread2({},DEF_HEATSTYLE),_0x5a419e[_0x4a79c6(0x128)][_0x4a79c6(0x146)]||{}),_0x5a419e[_0x4a79c6(0x128)][_0x4a79c6(0x102)]=_objectSpread2(_objectSpread2({},DEF_STYLE),_0x5a419e[_0x4a79c6(0x128)]['style']||{}),_0x5a419e;}return _createClass(_0x113dc1,[{'key':_0x20e1b0(0xfc),'get':function _0x1ab9de(){return this['_layer'];}},{'key':_0x20e1b0(0x146),'get':function _0x4ae87c(){var _0x235526=_0x20e1b0;return this[_0x235526(0x128)]['heatStyle'];},'set':function _0x5d42e0(_0x47654a){var _0x4938c1=_0x20e1b0;this[_0x4938c1(0x128)]['heatStyle']=mars3d__namespace['Util'][_0x4938c1(0x12b)](this['options'][_0x4938c1(0x146)],_0x47654a),this[_0x4938c1(0x124)]&&(this[_0x4938c1(0x124)][_0x4938c1(0x115)](this['options'][_0x4938c1(0x146)]),this[_0x4938c1(0xd6)](!![]));}},{'key':_0x20e1b0(0x102),'get':function _0x3b6298(){var _0x3b926d=_0x20e1b0;return this[_0x3b926d(0x128)][_0x3b926d(0x102)];},'set':function _0x23f52b(_0x29cd03){var _0x3467b1=_0x20e1b0;this[_0x3467b1(0x128)][_0x3467b1(0x102)]=mars3d__namespace['Util'][_0x3467b1(0x12b)](this[_0x3467b1(0x128)][_0x3467b1(0x102)],_0x29cd03);}},{'key':'positions','get':function _0x40d27f(){return this['_positions'];},'set':function _0x3e6052(_0x25f6e7){var _0x427225=_0x20e1b0;this[_0x427225(0x150)](_0x25f6e7);}},{'key':_0x20e1b0(0x10f),'get':function _0x56e5f9(){var _0x434cf6=_0x20e1b0,_0x563a75=[];return this[_0x434cf6(0x15f)][_0x434cf6(0x144)](function(_0x3c70b4){_0x563a75['push'](_0x3c70b4['toArray']());}),_0x563a75;}},{'key':_0x20e1b0(0xf0),'get':function _0x16b981(){var _0x52575d=_0x20e1b0;return this[_0x52575d(0x148)];}},{'key':_0x20e1b0(0xdc),'value':function _0x281e32(_0x37f267){var _0x1e17ee=_0x20e1b0;_0x37f267[_0x1e17ee(0x117)]&&(this[_0x1e17ee(0x117)]=_0x37f267[_0x1e17ee(0x117)]);}},{'key':_0x20e1b0(0x112),'value':function _0x328215(){var _0x58fd14=_0x20e1b0;this[_0x58fd14(0x13b)]=new mars3d__namespace['layer']['GraphicLayer']({'noLayerManage':!![]}),this[_0x58fd14(0x13b)][_0x58fd14(0x154)]=!![];}},{'key':_0x20e1b0(0x15b),'value':function _0x3d80e9(){var _0x1a5ddd=_0x20e1b0;this[_0x1a5ddd(0x10a)][_0x1a5ddd(0x13f)](this[_0x1a5ddd(0x13b)]),this[_0x1a5ddd(0x128)][_0x1a5ddd(0x117)]&&(this[_0x1a5ddd(0x117)]=this[_0x1a5ddd(0x128)][_0x1a5ddd(0x117)]),this[_0x1a5ddd(0x128)][_0x1a5ddd(0xf1)]&&this[_0x1a5ddd(0x11e)]();}},{'key':_0x20e1b0(0xf5),'value':function _0x31564d(){var _0xac9214=_0x20e1b0;this['heatStyle']['container']&&(mars3d__namespace[_0xac9214(0xd9)][_0xac9214(0xf7)](this['heatStyle'][_0xac9214(0x134)]),delete this[_0xac9214(0x146)][_0xac9214(0x134)]),this[_0xac9214(0xcc)](),this[_0xac9214(0x10a)][_0xac9214(0x147)](this[_0xac9214(0x13b)]);}},{'key':_0x20e1b0(0x116),'value':function _0xd5a953(_0x29af8f,_0x502c28){var _0x1eff52=_0x20e1b0;this['_positions']=this['_positions']||[],this[_0x1eff52(0x136)]['push'](_0x29af8f),this[_0x1eff52(0xd6)](_0x502c28);}},{'key':'setPositions','value':function _0x7b88bf(_0x59a632,_0x35ef42){var _0x1c3116=_0x20e1b0;this[_0x1c3116(0x136)]=_0x59a632,this[_0x1c3116(0xd6)](_0x35ef42);}},{'key':'clear','value':function _0x1af0ac(){var _0x414413=_0x20e1b0;this[_0x414413(0x12a)]&&(this['_layer']['removeGraphic'](this[_0x414413(0x12a)],!![]),delete this[_0x414413(0x12a)]);}},{'key':'_updatePositionsHook','value':function _0x17165d(_0x322414){var _0xa22c54=_0x20e1b0;if(!this['show']||!this[_0xa22c54(0x10a)]||!this[_0xa22c54(0x117)]||this[_0xa22c54(0x117)][_0xa22c54(0x100)]===0x0)return this;var _0x4b3704=this[_0xa22c54(0x12d)]();return this[_0xa22c54(0x102)]['arc']?this[_0xa22c54(0x12a)]&&_0x322414?(this[_0xa22c54(0x12a)][_0xa22c54(0x13d)]['image']=_0x4b3704,this['_graphic'][_0xa22c54(0x13d)][_0xa22c54(0x118)]=this['_getArcHeatCanvas']()):this[_0xa22c54(0x15c)](_0x4b3704):this[_0xa22c54(0x12a)]&&_0x322414?this[_0xa22c54(0x12a)][_0xa22c54(0x13d)][_0xa22c54(0x151)]=_0x4b3704:this['_createGraphic'](_0x4b3704),this;}},{'key':'_createGraphic','value':function _0x461ccb(_0x357a62){var _0x4cc755=_0x20e1b0;this['clear'](),this[_0x4cc755(0x12a)]=new mars3d__namespace['graphic'][(_0x4cc755(0x10d))](_objectSpread2(_objectSpread2({},this[_0x4cc755(0x128)]),{},{'rectangle':this['_rectangle'],'appearance':new Cesium[(_0x4cc755(0xe1))]({'material':new Cesium[(_0x4cc755(0x157))]({'fabric':{'uniforms':{'image':_0x357a62},'source':HeatMaterial},'translucent':!![]}),'flat':!![]})})),this[_0x4cc755(0x13b)][_0x4cc755(0xfa)](this[_0x4cc755(0x12a)]);}},{'key':_0x20e1b0(0x15c),'value':function _0x25ba5c(_0x33ea99){var _0x56c988=_0x20e1b0;this[_0x56c988(0xcc)]();var _0x3eaaee=Cesium['RenderState']['fromCache']({'cull':{'enabled':!![]},'depthTest':{'enabled':!![]},'stencilTest':{'enabled':!![],'frontFunction':Cesium[_0x56c988(0xe4)][_0x56c988(0x12c)],'frontOperation':{'fail':Cesium[_0x56c988(0xe3)][_0x56c988(0x143)],'zFail':Cesium[_0x56c988(0xe3)]['KEEP'],'zPass':Cesium[_0x56c988(0xe3)]['REPLACE']},'backFunction':Cesium[_0x56c988(0xe4)][_0x56c988(0x12c)],'backOperation':{'fail':Cesium['StencilOperation'][_0x56c988(0x143)],'zFail':Cesium['StencilOperation'][_0x56c988(0x143)],'zPass':Cesium[_0x56c988(0xe3)]['REPLACE']},'reference':0x2,'mask':0x2},'blending':Cesium[_0x56c988(0x123)][_0x56c988(0x129)]}),_0x40b2d9=Math[_0x56c988(0x121)](Cesium['defaultValue'](this['style']['diffHeight'],this[_0x56c988(0x101)]*0.02))+0.1;this['style'][_0x56c988(0xde)]&&delete this[_0x56c988(0x102)][_0x56c988(0xde)];var _0x3a320c=Cesium[_0x56c988(0x120)](this[_0x56c988(0x102)][_0x56c988(0xf6)],0x64),_0x5b030a=Math[_0x56c988(0x125)](this['_rectangle'][_0x56c988(0x107)],this['_rectangle'][_0x56c988(0x14c)]);this[_0x56c988(0x102)][_0x56c988(0x153)]=_0x5b030a/=_0x3a320c,this['_graphic']=new mars3d__namespace[(_0x56c988(0xdf))][(_0x56c988(0x10d))](_objectSpread2(_objectSpread2({},this[_0x56c988(0x128)]),{},{'rectangle':this[_0x56c988(0x148)],'appearance':new Cesium['EllipsoidSurfaceAppearance']({'aboveGround':!![],'renderState':_0x3eaaee,'material':new Cesium[(_0x56c988(0x157))]({'fabric':{'uniforms':{'image':_0x33ea99,'repeat':new Cesium['Cartesian2'](0x1,0x1),'color':new Cesium[(_0x56c988(0xd7))](0x1,0x1,0x1,0.01),'bumpMap':this[_0x56c988(0xce)]()},'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'](_0x40b2d9,_0x56c988(0x138)),'flat':!![]})})),this[_0x56c988(0x13b)][_0x56c988(0xfa)](this[_0x56c988(0x12a)]);}},{'key':'getRectangle','value':function _0x3914c4(_0x13dd15){var _0x548daa=_0x20e1b0;return _0x13dd15!==null&&_0x13dd15!==void 0x0&&_0x13dd15[_0x548daa(0x10e)]&&this[_0x548daa(0x148)]?mars3d__namespace['PolyUtil'][_0x548daa(0xea)](this['_rectangle']):this[_0x548daa(0x148)];}},{'key':'_getHeatCanvas','value':function _0x1941ac(){var _0x3b82cc=_0x20e1b0,_0x3bd0c2=this,_0x159aa0,_0x59ff7f,_0x185a00=this[_0x3b82cc(0x136)],_0x4f4e53=[],_0x313028,_0x2e0eff,_0x44cefb,_0x2d2158;_0x185a00['forEach'](function(_0x501479){var _0x4d6110=_0x3b82cc,_0x22cfec=mars3d__namespace[_0x4d6110(0xfb)][_0x4d6110(0x140)](_0x501479);if(!_0x22cfec)return;_0x22cfec[_0x4d6110(0xcb)]=_0x501479[_0x4d6110(0xcb)]||0x1,!_0x3bd0c2[_0x4d6110(0x128)][_0x4d6110(0xf0)]&&(_0x313028===undefined?(_0x313028=_0x22cfec[_0x4d6110(0x110)],_0x2e0eff=_0x22cfec['lng'],_0x44cefb=_0x22cfec[_0x4d6110(0x135)],_0x2d2158=_0x22cfec['lat']):(_0x313028=Math['min'](_0x313028,_0x22cfec[_0x4d6110(0x110)]),_0x2e0eff=Math[_0x4d6110(0x125)](_0x2e0eff,_0x22cfec['lng']),_0x44cefb=Math['min'](_0x44cefb,_0x22cfec[_0x4d6110(0x135)]),_0x2d2158=Math[_0x4d6110(0x125)](_0x2d2158,_0x22cfec['lat']))),_0x4f4e53[_0x4d6110(0x137)](_0x22cfec);});var _0x25156f=this['options'][_0x3b82cc(0xf0)]||{'xmin':_0x313028,'xmax':_0x2e0eff,'ymin':_0x44cefb,'ymax':_0x2d2158},_0x1e8755=getMercatorBounds(_0x25156f),_0xc0974f=Math[_0x3b82cc(0xfd)](_0x1e8755[_0x3b82cc(0x145)]-_0x1e8755[_0x3b82cc(0x11c)]),_0x17d9b1=Math[_0x3b82cc(0xfd)](_0x1e8755[_0x3b82cc(0xda)]-_0x1e8755[_0x3b82cc(0x113)]),_0x5c3e79=Math[_0x3b82cc(0x125)](_0xc0974f,_0x17d9b1),_0xf6a0ce=Math[_0x3b82cc(0xe5)](_0xc0974f,_0x17d9b1);this[_0x3b82cc(0x101)]=_0x5c3e79;var _0x5c0e55=0x1;if(_0x5c3e79>this['options']['maxCanvasSize'])_0x5c0e55=_0x5c3e79/this[_0x3b82cc(0x128)]['maxCanvasSize'],_0xf6a0ce/_0x5c0e55<this['options'][_0x3b82cc(0xec)]&&(_0x5c0e55=_0xf6a0ce/this[_0x3b82cc(0x128)][_0x3b82cc(0xec)]);else _0xf6a0ce<this[_0x3b82cc(0x128)]['minCanvasSize']&&(_0x5c0e55=_0xf6a0ce/this[_0x3b82cc(0x128)][_0x3b82cc(0xec)],_0x5c3e79/_0x5c0e55>this[_0x3b82cc(0x128)][_0x3b82cc(0xe9)]&&(_0x5c0e55=_0x5c3e79/this['options'][_0x3b82cc(0xe9)]));var _0x5074ef=this[_0x3b82cc(0x146)]['radius']*1.5,_0x4fab02=_0xc0974f/_0x5c0e55+_0x5074ef*0x2,_0x2743f3=_0x17d9b1/_0x5c0e55+_0x5074ef*0x2,_0x2ff55f=_0x5074ef*_0x5c0e55;_0x1e8755['xmin']-=_0x2ff55f,_0x1e8755[_0x3b82cc(0x113)]-=_0x2ff55f,_0x1e8755['xmax']+=_0x2ff55f,_0x1e8755[_0x3b82cc(0xda)]+=_0x2ff55f,this[_0x3b82cc(0xcf)]=_0x5c0e55,_0x25156f=geLatLngBounds(_0x1e8755),this[_0x3b82cc(0x148)]=Cesium[_0x3b82cc(0x130)][_0x3b82cc(0x13a)](_0x25156f[_0x3b82cc(0x11c)],_0x25156f[_0x3b82cc(0x113)],_0x25156f[_0x3b82cc(0x145)],_0x25156f['ymax']);var _0x51b96d=(_0x159aa0=_0x4f4e53[0x0][_0x3b82cc(0xcb)])!==null&&_0x159aa0!==void 0x0?_0x159aa0:0x1,_0x245530=(_0x59ff7f=_0x4f4e53[0x0][_0x3b82cc(0xcb)])!==null&&_0x59ff7f!==void 0x0?_0x59ff7f:0x0,_0x475ed3=[];_0x4f4e53[_0x3b82cc(0x144)](function(_0x349c43){var _0x123cc9=_0x3b82cc,_0x1b004c=mars3d__namespace[_0x123cc9(0xd5)][_0x123cc9(0x158)]([_0x349c43['lng'],_0x349c43[_0x123cc9(0x135)]]),_0x177e9a=_0x349c43[_0x123cc9(0xcb)]||0x1,_0x5088bd=Math['round']((_0x1b004c[0x0]-_0x1e8755[_0x123cc9(0x11c)])/_0x5c0e55),_0x2d657d=Math[_0x123cc9(0xe6)]((_0x1e8755['ymax']-_0x1b004c[0x1])/_0x5c0e55);_0x51b96d=Math[_0x123cc9(0x125)](_0x51b96d,_0x177e9a),_0x245530=Math[_0x123cc9(0xe5)](_0x245530,_0x177e9a),_0x475ed3['push']({'x':_0x5088bd,'y':_0x2d657d,'value':_0x177e9a});});var _0x1fdf0a={'min':Cesium[_0x3b82cc(0x120)](this[_0x3b82cc(0x128)][_0x3b82cc(0xe5)],_0x245530),'max':Cesium[_0x3b82cc(0x120)](this[_0x3b82cc(0x128)][_0x3b82cc(0x125)],_0x51b96d),'data':_0x475ed3};this[_0x3b82cc(0xcd)]=_0x1fdf0a;(!this[_0x3b82cc(0xf2)]||_0x1e8755[_0x3b82cc(0x11c)]!==this['_last_mBounds']['xmin']||_0x1e8755[_0x3b82cc(0x113)]!==this['_last_mBounds']['ymin']||_0x1e8755['xmax']!==this[_0x3b82cc(0xf2)][_0x3b82cc(0x145)]||_0x1e8755[_0x3b82cc(0xda)]!==this[_0x3b82cc(0xf2)][_0x3b82cc(0xda)])&&(this[_0x3b82cc(0xf2)]=_0x1e8755,!this[_0x3b82cc(0x146)][_0x3b82cc(0x134)]&&(this[_0x3b82cc(0x146)]['container']=mars3d__namespace[_0x3b82cc(0xd9)][_0x3b82cc(0x141)]('div',_0x3b82cc(0xe7),this['_map']['container'])),this[_0x3b82cc(0x146)][_0x3b82cc(0x134)][_0x3b82cc(0x102)][_0x3b82cc(0x152)]='width:'['concat'](_0x4fab02,_0x3b82cc(0x12f))[_0x3b82cc(0x122)](_0x2743f3,_0x3b82cc(0xf3)),!this[_0x3b82cc(0x124)]?this['_heat']=h337__namespace[_0x3b82cc(0x141)](this[_0x3b82cc(0x146)]):this[_0x3b82cc(0x124)][_0x3b82cc(0x115)](this[_0x3b82cc(0x146)]));this[_0x3b82cc(0x124)]['setData'](_0x1fdf0a);var _0x2a9982=mars3d__namespace[_0x3b82cc(0xd9)][_0x3b82cc(0xf8)](this[_0x3b82cc(0x124)][_0x3b82cc(0x14a)][_0x3b82cc(0x160)]);return _0x2a9982;}},{'key':'_getArcHeatCanvas','value':function _0x373721(){var _0x5555e6=_0x20e1b0;this[_0x5555e6(0x124)][_0x5555e6(0x115)]({'radius':this[_0x5555e6(0x146)]['radius']*this[_0x5555e6(0x102)][_0x5555e6(0x103)],'blur':this['heatStyle'][_0x5555e6(0xd1)]*this[_0x5555e6(0x102)][_0x5555e6(0xe2)],'gradient':this[_0x5555e6(0x146)][_0x5555e6(0x159)]||{0.25:_0x5555e6(0x11f),0.55:'rgb(140,140,140)',0.85:_0x5555e6(0x108),0x1:_0x5555e6(0x14f)}});var _0x483b20=mars3d__namespace['DomUtil'][_0x5555e6(0xf8)](this[_0x5555e6(0x124)][_0x5555e6(0x14a)][_0x5555e6(0x160)]);return this[_0x5555e6(0x124)][_0x5555e6(0x115)](this[_0x5555e6(0x128)][_0x5555e6(0x146)]),_0x483b20;}},{'key':_0x20e1b0(0xed),'value':function _0xac7f(_0x25f56f){var _0x3f90c7=_0x20e1b0,_0x5b897f=mars3d__namespace[_0x3f90c7(0xfb)][_0x3f90c7(0x140)](_0x25f56f);if(!_0x5b897f)return{};var _0x702ad6=mars3d__namespace[_0x3f90c7(0xd5)]['lonlat2mercator']([_0x5b897f['lng'],_0x5b897f['lat']]),_0xd6ce43=this[_0x3f90c7(0xf2)],_0x276c0e=Math[_0x3f90c7(0xe6)]((_0x702ad6[0x0]-_0xd6ce43['xmin'])/this[_0x3f90c7(0xcf)]),_0x2d45bf=Math[_0x3f90c7(0xe6)]((_0xd6ce43[_0x3f90c7(0xda)]-_0x702ad6[0x1])/this[_0x3f90c7(0xcf)]),_0x5321a1=this[_0x3f90c7(0x124)][_0x3f90c7(0x119)]({'x':_0x276c0e,'y':_0x2d45bf}),_0x215b1d=this[_0x3f90c7(0x124)][_0x3f90c7(0x14a)][_0x3f90c7(0xd2)][_0x3f90c7(0x155)](_0x276c0e-0x1,_0x2d45bf-0x1,0x1,0x1)['data'];return{'x':_0x276c0e,'y':_0x2d45bf,'value':_0x5321a1,'color':_0x3f90c7(0x132)+_0x215b1d[0x0]+','+_0x215b1d[0x1]+','+_0x215b1d[0x2]+','+_0x215b1d[0x3]+')'};}}]),_0x113dc1;}(BaseLayer);mars3d__namespace[_0x2ac30e(0xfc)]['HeatLayer']=HeatLayer,mars3d__namespace['LayerUtil'][_0x2ac30e(0x162)]('heat',HeatLayer);function getMercatorBounds(_0x316514){var _0x4fe3ab=_0x2ac30e,_0x47f543=mars3d__namespace[_0x4fe3ab(0xd5)][_0x4fe3ab(0x158)]([_0x316514[_0x4fe3ab(0x11c)],_0x316514[_0x4fe3ab(0x113)]]),_0x5f0bc7=mars3d__namespace[_0x4fe3ab(0xd5)]['lonlat2mercator']([_0x316514[_0x4fe3ab(0x145)],_0x316514['ymax']]);return{'xmin':_0x47f543[0x0],'ymin':_0x47f543[0x1],'xmax':_0x5f0bc7[0x0],'ymax':_0x5f0bc7[0x1]};}function geLatLngBounds(_0x424099){var _0x61bae9=_0x2ac30e,_0x2135c1=mars3d__namespace['PointTrans'][_0x61bae9(0x139)]([_0x424099[_0x61bae9(0x11c)],_0x424099[_0x61bae9(0x113)]]),_0x1c31bb=mars3d__namespace['PointTrans']['mercator2lonlat']([_0x424099[_0x61bae9(0x145)],_0x424099[_0x61bae9(0xda)]]);return{'xmin':_0x2135c1[0x0],'ymin':_0x2135c1[0x1],'xmax':_0x1c31bb[0x0],'ymax':_0x1c31bb[0x1]};}exports['HeatLayer']=HeatLayer,Object[_0x2ac30e(0x109)](exports,'__esModule',{'value':!![]}); | ||
})); |
{ | ||
"name": "mars3d-heatmap", | ||
"version": "3.3.11", | ||
"version": "3.3.12", | ||
"description": "Mars3D平台插件,结合heatmap可视化功能插件", | ||
@@ -13,3 +13,3 @@ "main": "dist/mars3d-heatmap.js", | ||
"devDependencies": { | ||
"mars3d": "^3.3.11" | ||
"mars3d": "^3.3.12" | ||
}, | ||
@@ -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
30472
118