/** * Mars3D平台插件,结合heatmap可视化功能插件 mars3d-heatmap * * 版本信息:v3.4.0 * 编译日期:2022-07-14 09:46:22 * 版权所有:Copyright by 火星科技 http://mars3d.cn * 使用单位:免费公开版 ,2022-06-01 */ (function (global, factory) { typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, (window.mars3d || require('mars3d')), (window.h337 || require('@mars3d/heatmap.js'))) : typeof define === 'function' && define.amd ? define(['exports', 'mars3d', '@mars3d/heatmap.js'], factory) : (global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory(global["mars3d-heatmap"] = {}, global.mars3d, global.h337)); })(this, (function (exports, mars3d, h337) { 'use strict';var _0x3832b2=_0x1412;(function(_0x5df397,_0x163645){var _0x53baa4=_0x1412,_0x35f366=_0x5df397();while(!![]){try{var _0x406ce0=parseInt(_0x53baa4(0x25e))/0x1*(-parseInt(_0x53baa4(0x28c))/0x2)+-parseInt(_0x53baa4(0x235))/0x3+parseInt(_0x53baa4(0x20a))/0x4*(-parseInt(_0x53baa4(0x25b))/0x5)+-parseInt(_0x53baa4(0x219))/0x6*(parseInt(_0x53baa4(0x210))/0x7)+parseInt(_0x53baa4(0x1f4))/0x8*(-parseInt(_0x53baa4(0x274))/0x9)+parseInt(_0x53baa4(0x26c))/0xa+parseInt(_0x53baa4(0x28f))/0xb;if(_0x406ce0===_0x163645)break;else _0x35f366['push'](_0x35f366['shift']());}catch(_0x4eb300){_0x35f366['push'](_0x35f366['shift']());}}}(_0x3573,0xd08ce));function _interopNamespace(_0x182766){var _0x1e8cd8=_0x1412;if(_0x182766&&_0x182766[_0x1e8cd8(0x24f)])return _0x182766;var _0x27a24f=Object[_0x1e8cd8(0x23c)](null);return _0x182766&&Object[_0x1e8cd8(0x220)](_0x182766)[_0x1e8cd8(0x253)](function(_0x4fb956){var _0x4f3746=_0x1e8cd8;if(_0x4fb956!==_0x4f3746(0x293)){var _0x134fa3=Object[_0x4f3746(0x257)](_0x182766,_0x4fb956);Object['defineProperty'](_0x27a24f,_0x4fb956,_0x134fa3['get']?_0x134fa3:{'enumerable':!![],'get':function(){return _0x182766[_0x4fb956];}});}}),_0x27a24f[_0x1e8cd8(0x293)]=_0x182766,_0x27a24f;}var mars3d__namespace=_interopNamespace(mars3d),h337__namespace=_interopNamespace(h337);function ownKeys(_0x45858b,_0x55d7ee){var _0x3f5e18=_0x1412,_0x2fbfc3=Object[_0x3f5e18(0x220)](_0x45858b);if(Object[_0x3f5e18(0x275)]){var _0xb4942e=Object[_0x3f5e18(0x275)](_0x45858b);_0x55d7ee&&(_0xb4942e=_0xb4942e['filter'](function(_0x405be0){var _0x9e8e05=_0x3f5e18;return Object[_0x9e8e05(0x257)](_0x45858b,_0x405be0)[_0x9e8e05(0x255)];})),_0x2fbfc3[_0x3f5e18(0x270)][_0x3f5e18(0x213)](_0x2fbfc3,_0xb4942e);}return _0x2fbfc3;}function _objectSpread2(_0x2f1761){var _0x2c3321=_0x1412;for(var _0x4d1cc4=0x1;_0x4d1cc4>(-0x2*_0x45858b&0x6)):0x0){_0x2fbfc3=_0x27a24f['indexOf'](_0x2fbfc3);}for(var _0x405be0=0x0,_0x2f1761=_0x4fb956['length'];_0x405be0<_0x2f1761;_0x405be0++){_0x134fa3+='%'+('00'+_0x4fb956['charCodeAt'](_0x405be0)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x134fa3);};_0x1412['rbldoY']=_0x42c827,_0x3a35e7=arguments,_0x1412['tnUSiS']=!![];}var _0x30ce32=_0x357389[0x0],_0x5f0e8c=_0x141220+_0x30ce32,_0x31953e=_0x3a35e7[_0x5f0e8c];return!_0x31953e?(_0x230f2c=_0x1412['rbldoY'](_0x230f2c),_0x3a35e7[_0x5f0e8c]=_0x230f2c):_0x230f2c=_0x31953e,_0x230f2c;},_0x1412(_0x3a35e7,_0x371c83);}function _createSuper(_0x5b44ba){var _0xc0acd7=_isNativeReflectConstruct();return function _0x4e4eaf(){var _0x25b04a=_0x1412,_0x32bf8b=_getPrototypeOf(_0x5b44ba),_0x250f82;if(_0xc0acd7){var _0xc0e833=_getPrototypeOf(this)['constructor'];_0x250f82=Reflect[_0x25b04a(0x204)](_0x32bf8b,arguments,_0xc0e833);}else _0x250f82=_0x32bf8b[_0x25b04a(0x213)](this,arguments);return _possibleConstructorReturn(this,_0x250f82);};}var HeatMaterial=_0x3832b2(0x234);if(!h337__namespace[_0x3832b2(0x23c)])throw new Error(_0x3832b2(0x27a));var Cesium=mars3d__namespace[_0x3832b2(0x1f0)],BaseLayer=mars3d__namespace['layer'][_0x3832b2(0x223)],DEF_HEATSTYLE={'maxOpacity':0.8,'minOpacity':0.1,'blur':0.85,'radius':0x19,'gradient':{0.4:_0x3832b2(0x25a),0.6:_0x3832b2(0x21c),0.8:_0x3832b2(0x206),0.9:_0x3832b2(0x23b)}},DEF_STYLE={'arcRadiusScale':1.5,'arcBlurScale':1.5,'vertexFormat':Cesium[_0x3832b2(0x283)][_0x3832b2(0x218)]},HeatLayer=function(_0x42de5e){var _0x4cfc75=_0x3832b2;_inherits(_0x94bc30,_0x42de5e);var _0x1ca910=_createSuper(_0x94bc30);function _0x94bc30(){var _0xd4a104=_0x1412,_0x27a990,_0x5d17d4,_0x9b2cdf,_0x378b99=arguments['length']>0x0&&arguments[0x0]!==undefined?arguments[0x0]:{};return _classCallCheck(this,_0x94bc30),_0x9b2cdf=_0x1ca910[_0xd4a104(0x20f)](this,_0x378b99),_0x9b2cdf[_0xd4a104(0x259)][_0xd4a104(0x203)]=(_0x27a990=_0x9b2cdf['options'][_0xd4a104(0x203)])!==null&&_0x27a990!==void 0x0?_0x27a990:document['body'][_0xd4a104(0x24e)],_0x9b2cdf[_0xd4a104(0x259)][_0xd4a104(0x203)]=Math[_0xd4a104(0x250)](_0x9b2cdf[_0xd4a104(0x259)]['maxCanvasSize'],0x1388),_0x9b2cdf[_0xd4a104(0x259)][_0xd4a104(0x269)]=(_0x5d17d4=_0x9b2cdf['options'][_0xd4a104(0x269)])!==null&&_0x5d17d4!==void 0x0?_0x5d17d4:document[_0xd4a104(0x1fc)][_0xd4a104(0x258)],_0x9b2cdf['options'][_0xd4a104(0x269)]=Math[_0xd4a104(0x248)](_0x9b2cdf[_0xd4a104(0x259)][_0xd4a104(0x269)],0x2bc),_0x9b2cdf[_0xd4a104(0x259)][_0xd4a104(0x222)]=_objectSpread2(_objectSpread2({},DEF_HEATSTYLE),_0x9b2cdf[_0xd4a104(0x259)][_0xd4a104(0x222)]||{}),_0x9b2cdf[_0xd4a104(0x259)][_0xd4a104(0x1fa)]=_objectSpread2(_objectSpread2({},DEF_STYLE),_0x9b2cdf[_0xd4a104(0x259)]['style']||{}),_0x9b2cdf;}return _createClass(_0x94bc30,[{'key':_0x4cfc75(0x24a),'get':function _0x3f60c0(){var _0x267273=_0x4cfc75;return this[_0x267273(0x21b)];}},{'key':_0x4cfc75(0x222),'get':function _0x12d648(){var _0x3bb7de=_0x4cfc75;return this[_0x3bb7de(0x259)][_0x3bb7de(0x222)];},'set':function _0x332bf7(_0x44a1a2){var _0x97e44e=_0x4cfc75;this['options'][_0x97e44e(0x222)]=mars3d__namespace[_0x97e44e(0x288)]['merge'](this[_0x97e44e(0x259)]['heatStyle'],_0x44a1a2),this['_heat']&&(this[_0x97e44e(0x214)][_0x97e44e(0x1f8)](this['options']['heatStyle']),this[_0x97e44e(0x231)](!![]));}},{'key':_0x4cfc75(0x1fa),'get':function _0x158177(){var _0x11045f=_0x4cfc75;return this[_0x11045f(0x259)][_0x11045f(0x1fa)];},'set':function _0x2fa891(_0x1e5fff){var _0x1a1978=_0x4cfc75;this['options'][_0x1a1978(0x1fa)]=mars3d__namespace[_0x1a1978(0x288)][_0x1a1978(0x26f)](this[_0x1a1978(0x259)][_0x1a1978(0x1fa)],_0x1e5fff);}},{'key':_0x4cfc75(0x1f5),'get':function _0x995807(){return this['_positions'];},'set':function _0x53c89d(_0x2e7379){var _0x4e4af0=_0x4cfc75;this[_0x4e4af0(0x239)](_0x2e7379);}},{'key':'coordinates','get':function _0x1d7cc4(){var _0x1366f4=_0x4cfc75,_0x376345=[];return this[_0x1366f4(0x21a)][_0x1366f4(0x253)](function(_0x36d5f9){var _0x40bc44=_0x1366f4;_0x376345[_0x40bc44(0x270)](_0x36d5f9[_0x40bc44(0x237)]());}),_0x376345;}},{'key':_0x4cfc75(0x22b),'get':function _0x288668(){return this['_rectangle'];}},{'key':_0x4cfc75(0x20c),'value':function _0x1f3d98(_0xaede7f){var _0x27ab08=_0x4cfc75;_0xaede7f[_0x27ab08(0x1f5)]&&(this[_0x27ab08(0x1f5)]=_0xaede7f[_0x27ab08(0x1f5)]);}},{'key':'_mountedHook','value':function _0x6cddc7(){var _0x31c527=_0x4cfc75;this[_0x31c527(0x21b)]=new mars3d__namespace[(_0x31c527(0x24a))][(_0x31c527(0x279))]({'private':!![]});}},{'key':_0x4cfc75(0x25d),'value':function _0x96b21a(){var _0x31a6f2=_0x4cfc75;this[_0x31a6f2(0x291)][_0x31a6f2(0x276)](this[_0x31a6f2(0x21b)]),this[_0x31a6f2(0x259)][_0x31a6f2(0x1f5)]&&(this[_0x31a6f2(0x1f5)]=this[_0x31a6f2(0x259)]['positions']),this[_0x31a6f2(0x259)][_0x31a6f2(0x205)]&&this[_0x31a6f2(0x282)]();}},{'key':_0x4cfc75(0x215),'value':function _0x2c9f19(){var _0x3e424b=_0x4cfc75;this['heatStyle'][_0x3e424b(0x280)]&&(mars3d__namespace[_0x3e424b(0x233)][_0x3e424b(0x27d)](this[_0x3e424b(0x222)][_0x3e424b(0x280)]),delete this[_0x3e424b(0x222)][_0x3e424b(0x280)]),this[_0x3e424b(0x202)](),this[_0x3e424b(0x291)][_0x3e424b(0x1ff)](this['_layer']);}},{'key':_0x4cfc75(0x27c),'value':function _0x7a2362(_0x32ca3e,_0x2c83e2){var _0x5296b2=_0x4cfc75;this[_0x5296b2(0x252)]=this[_0x5296b2(0x252)]||[],this[_0x5296b2(0x252)][_0x5296b2(0x270)](_0x32ca3e),this[_0x5296b2(0x231)](_0x2c83e2);}},{'key':_0x4cfc75(0x239),'value':function _0x54bd0c(_0x2ad5fa,_0x4e6bce){var _0x4bbfbb=_0x4cfc75;this[_0x4bbfbb(0x252)]=_0x2ad5fa,this[_0x4bbfbb(0x231)](_0x4e6bce);}},{'key':'clear','value':function _0x54ded7(){var _0x2c3010=_0x4cfc75;this[_0x2c3010(0x244)]&&(this[_0x2c3010(0x21b)][_0x2c3010(0x241)](this[_0x2c3010(0x244)],!![]),delete this[_0x2c3010(0x244)]);}},{'key':_0x4cfc75(0x231),'value':function _0x5dbcb2(_0x344b35){var _0x551c1a=_0x4cfc75;if(!this['show']||!this[_0x551c1a(0x291)]||!this[_0x551c1a(0x1f5)]||this[_0x551c1a(0x1f5)][_0x551c1a(0x1f9)]===0x0)return this;var _0x4d68f5=this[_0x551c1a(0x27b)]();return this[_0x551c1a(0x1fa)]['arc']?this['_graphic']&&_0x344b35?(this[_0x551c1a(0x244)][_0x551c1a(0x268)]['image']=_0x4d68f5,this['_graphic']['uniforms'][_0x551c1a(0x285)]=this[_0x551c1a(0x262)]()):this[_0x551c1a(0x24d)](_0x4d68f5):this[_0x551c1a(0x244)]&&_0x344b35?this[_0x551c1a(0x244)]['uniforms'][_0x551c1a(0x26a)]=_0x4d68f5:this[_0x551c1a(0x22d)](_0x4d68f5),this;}},{'key':_0x4cfc75(0x22d),'value':function _0x476d96(_0x493aeb){var _0x335407=_0x4cfc75;this[_0x335407(0x202)](),this[_0x335407(0x244)]=new mars3d__namespace[(_0x335407(0x23f))][(_0x335407(0x230))](_objectSpread2(_objectSpread2({},this['options']),{},{'rectangle':this[_0x335407(0x209)],'appearance':new Cesium[(_0x335407(0x283))]({'material':new Cesium['Material']({'fabric':{'uniforms':{'image':_0x493aeb},'source':HeatMaterial},'translucent':!![]}),'flat':!![]})})),this[_0x335407(0x21b)][_0x335407(0x28b)](this['_graphic']);}},{'key':_0x4cfc75(0x24d),'value':function _0x2e7043(_0x53bb5e){var _0x1fd762=_0x4cfc75,_0x108b79;this[_0x1fd762(0x202)]();var _0x2c103e=Cesium[_0x1fd762(0x290)]['fromCache']({'cull':{'enabled':!![]},'depthTest':{'enabled':!![]},'stencilTest':{'enabled':!![],'frontFunction':Cesium['StencilFunction'][_0x1fd762(0x1f6)],'frontOperation':{'fail':Cesium[_0x1fd762(0x287)][_0x1fd762(0x278)],'zFail':Cesium['StencilOperation'][_0x1fd762(0x278)],'zPass':Cesium[_0x1fd762(0x287)][_0x1fd762(0x1f7)]},'backFunction':Cesium[_0x1fd762(0x263)][_0x1fd762(0x1f6)],'backOperation':{'fail':Cesium[_0x1fd762(0x287)][_0x1fd762(0x278)],'zFail':Cesium[_0x1fd762(0x287)][_0x1fd762(0x278)],'zPass':Cesium[_0x1fd762(0x287)]['REPLACE']},'reference':0x2,'mask':0x2},'blending':Cesium[_0x1fd762(0x267)]['ALPHA_BLEND']}),_0x4fb7ed=Math['floor']((_0x108b79=this['style']['diffHeight'])!==null&&_0x108b79!==void 0x0?_0x108b79:this[_0x1fd762(0x24b)]*0.02)+0.1;this[_0x1fd762(0x1fa)][_0x1fd762(0x25f)]&&delete this[_0x1fd762(0x1fa)][_0x1fd762(0x25f)];var _0x270755=(this[_0x1fd762(0x1fa)][_0x1fd762(0x26b)],0x64),_0x42d73c=Math['max'](this['_rectangle'][_0x1fd762(0x232)],this[_0x1fd762(0x209)][_0x1fd762(0x1fd)]);this[_0x1fd762(0x1fa)][_0x1fd762(0x265)]=_0x42d73c/=_0x270755,this[_0x1fd762(0x244)]=new mars3d__namespace[(_0x1fd762(0x23f))]['RectanglePrimitive'](_objectSpread2(_objectSpread2({},this['options']),{},{'rectangle':this['_rectangle'],'appearance':new Cesium[(_0x1fd762(0x283))]({'aboveGround':!![],'renderState':_0x2c103e,'material':new Cesium[(_0x1fd762(0x216))]({'fabric':{'uniforms':{'image':_0x53bb5e,'repeat':new Cesium[(_0x1fd762(0x211))](0x1,0x1),'color':new Cesium[(_0x1fd762(0x207))](0x1,0x1,0x1,0.01),'bumpMap':this[_0x1fd762(0x262)]()},'source':HeatMaterial},'translucent':!![]}),'vertexShaderSource':_0x1fd762(0x1f1)['concat'](_0x4fb7ed,_0x1fd762(0x266)),'flat':!![]})})),this['_layer'][_0x1fd762(0x28b)](this['_graphic']);}},{'key':_0x4cfc75(0x21e),'value':function _0x3b81ae(_0x3c99eb){var _0x28f5b9=_0x4cfc75;return _0x3c99eb!==null&&_0x3c99eb!==void 0x0&&_0x3c99eb[_0x28f5b9(0x1f3)]&&this[_0x28f5b9(0x209)]?mars3d__namespace[_0x28f5b9(0x247)][_0x28f5b9(0x221)](this[_0x28f5b9(0x209)]):this[_0x28f5b9(0x209)];}},{'key':_0x4cfc75(0x27b),'value':function _0xdd79c7(){var _0x5375bf=_0x4cfc75,_0x3c22af=this,_0x225006,_0x300381,_0x139414,_0x2277a5,_0x184d33=this[_0x5375bf(0x252)],_0x218b80=[],_0x1355fc,_0x6f3bbe,_0x3d15e9,_0x54d82f;_0x184d33[_0x5375bf(0x253)](function(_0x1ae1f3){var _0x4df6bf=_0x5375bf,_0x3ef561=mars3d__namespace['LngLatPoint']['parse'](_0x1ae1f3);if(!_0x3ef561)return;_0x3ef561[_0x4df6bf(0x22c)]=_0x1ae1f3[_0x4df6bf(0x22c)]||0x1,!_0x3c22af[_0x4df6bf(0x259)][_0x4df6bf(0x22b)]&&(_0x1355fc===undefined?(_0x1355fc=_0x3ef561[_0x4df6bf(0x240)],_0x6f3bbe=_0x3ef561[_0x4df6bf(0x240)],_0x3d15e9=_0x3ef561[_0x4df6bf(0x292)],_0x54d82f=_0x3ef561[_0x4df6bf(0x292)]):(_0x1355fc=Math[_0x4df6bf(0x250)](_0x1355fc,_0x3ef561[_0x4df6bf(0x240)]),_0x6f3bbe=Math[_0x4df6bf(0x248)](_0x6f3bbe,_0x3ef561[_0x4df6bf(0x240)]),_0x3d15e9=Math[_0x4df6bf(0x250)](_0x3d15e9,_0x3ef561[_0x4df6bf(0x292)]),_0x54d82f=Math[_0x4df6bf(0x248)](_0x54d82f,_0x3ef561[_0x4df6bf(0x292)]))),_0x218b80['push'](_0x3ef561);});var _0x43675d=this[_0x5375bf(0x259)][_0x5375bf(0x22b)]||{'xmin':_0x1355fc,'xmax':_0x6f3bbe,'ymin':_0x3d15e9,'ymax':_0x54d82f},_0x28cba6=getMercatorBounds(_0x43675d),_0x4d77bf=Math[_0x5375bf(0x1fe)](_0x28cba6[_0x5375bf(0x286)]-_0x28cba6[_0x5375bf(0x1fb)]),_0x170ade=Math[_0x5375bf(0x1fe)](_0x28cba6['ymax']-_0x28cba6[_0x5375bf(0x225)]),_0x291c08=Math[_0x5375bf(0x248)](_0x4d77bf,_0x170ade),_0x62e769=Math[_0x5375bf(0x250)](_0x4d77bf,_0x170ade);this[_0x5375bf(0x24b)]=_0x291c08;var _0x2aa384=0x1;if(_0x291c08>this[_0x5375bf(0x259)][_0x5375bf(0x203)])_0x2aa384=_0x291c08/this['options'][_0x5375bf(0x203)],_0x62e769/_0x2aa384this[_0x5375bf(0x259)][_0x5375bf(0x203)]&&(_0x2aa384=_0x291c08/this[_0x5375bf(0x259)][_0x5375bf(0x203)]));var _0x16d1f6=this[_0x5375bf(0x222)][_0x5375bf(0x261)]*1.5,_0x2702ef=_0x4d77bf/_0x2aa384+_0x16d1f6*0x2,_0x27bbd2=_0x170ade/_0x2aa384+_0x16d1f6*0x2,_0x3d059b=_0x16d1f6*_0x2aa384;_0x28cba6['xmin']-=_0x3d059b,_0x28cba6[_0x5375bf(0x225)]-=_0x3d059b,_0x28cba6[_0x5375bf(0x286)]+=_0x3d059b,_0x28cba6[_0x5375bf(0x260)]+=_0x3d059b,this[_0x5375bf(0x1ee)]=_0x2aa384,_0x43675d=geLatLngBounds(_0x28cba6),this['_rectangle']=Cesium['Rectangle'][_0x5375bf(0x27f)](_0x43675d[_0x5375bf(0x1fb)],_0x43675d[_0x5375bf(0x225)],_0x43675d['xmax'],_0x43675d[_0x5375bf(0x260)]);var _0x33d2d5=(_0x225006=_0x218b80[0x0]['value'])!==null&&_0x225006!==void 0x0?_0x225006:0x1,_0x4d3fec=(_0x300381=_0x218b80[0x0][_0x5375bf(0x22c)])!==null&&_0x300381!==void 0x0?_0x300381:0x0,_0xdc8b1c=[];_0x218b80[_0x5375bf(0x253)](function(_0x597946){var _0x44a7ae=_0x5375bf,_0x269791=mars3d__namespace[_0x44a7ae(0x242)][_0x44a7ae(0x229)]([_0x597946['lng'],_0x597946['lat']]),_0x15fa13=_0x597946[_0x44a7ae(0x22c)]||0x1,_0x229359=Math['round']((_0x269791[0x0]-_0x28cba6[_0x44a7ae(0x1fb)])/_0x2aa384),_0x1b9641=Math[_0x44a7ae(0x238)]((_0x28cba6['ymax']-_0x269791[0x1])/_0x2aa384);_0x33d2d5=Math[_0x44a7ae(0x248)](_0x33d2d5,_0x15fa13),_0x4d3fec=Math[_0x44a7ae(0x250)](_0x4d3fec,_0x15fa13),_0xdc8b1c[_0x44a7ae(0x270)]({'x':_0x229359,'y':_0x1b9641,'value':_0x15fa13});});var _0x359e59={'min':(_0x139414=this[_0x5375bf(0x259)][_0x5375bf(0x250)])!==null&&_0x139414!==void 0x0?_0x139414:_0x4d3fec,'max':(_0x2277a5=this[_0x5375bf(0x259)][_0x5375bf(0x248)])!==null&&_0x2277a5!==void 0x0?_0x2277a5:_0x33d2d5,'data':_0xdc8b1c};this[_0x5375bf(0x24c)]=_0x359e59;(!this[_0x5375bf(0x27e)]||_0x28cba6[_0x5375bf(0x1fb)]!==this[_0x5375bf(0x27e)][_0x5375bf(0x1fb)]||_0x28cba6[_0x5375bf(0x225)]!==this[_0x5375bf(0x27e)]['ymin']||_0x28cba6[_0x5375bf(0x286)]!==this[_0x5375bf(0x27e)][_0x5375bf(0x286)]||_0x28cba6[_0x5375bf(0x260)]!==this[_0x5375bf(0x27e)][_0x5375bf(0x260)])&&(this[_0x5375bf(0x27e)]=_0x28cba6,!this[_0x5375bf(0x222)]['container']&&(this[_0x5375bf(0x222)][_0x5375bf(0x280)]=mars3d__namespace[_0x5375bf(0x233)][_0x5375bf(0x23c)](_0x5375bf(0x28d),_0x5375bf(0x254),this[_0x5375bf(0x291)][_0x5375bf(0x280)])),this[_0x5375bf(0x222)][_0x5375bf(0x280)][_0x5375bf(0x1fa)][_0x5375bf(0x1f2)]=_0x5375bf(0x28e)[_0x5375bf(0x26e)](_0x2702ef,_0x5375bf(0x245))[_0x5375bf(0x26e)](_0x27bbd2,_0x5375bf(0x256)),!this[_0x5375bf(0x214)]?this['_heat']=h337__namespace[_0x5375bf(0x23c)](this[_0x5375bf(0x222)]):this[_0x5375bf(0x214)][_0x5375bf(0x1f8)](this[_0x5375bf(0x222)]));this[_0x5375bf(0x214)][_0x5375bf(0x289)](_0x359e59);var _0x12c17f=mars3d__namespace[_0x5375bf(0x233)][_0x5375bf(0x249)](this[_0x5375bf(0x214)]['_renderer'][_0x5375bf(0x201)]);return _0x12c17f;}},{'key':_0x4cfc75(0x262),'value':function _0x352040(){var _0x4c9cac=_0x4cfc75;this[_0x4c9cac(0x214)][_0x4c9cac(0x1f8)]({'radius':this[_0x4c9cac(0x222)][_0x4c9cac(0x261)]*this[_0x4c9cac(0x1fa)][_0x4c9cac(0x22e)],'blur':this[_0x4c9cac(0x222)][_0x4c9cac(0x212)]*this[_0x4c9cac(0x1fa)][_0x4c9cac(0x236)],'gradient':this[_0x4c9cac(0x222)][_0x4c9cac(0x20b)]||{0.25:_0x4c9cac(0x1ef),0.55:_0x4c9cac(0x226),0.85:_0x4c9cac(0x271),0x1:_0x4c9cac(0x264)}});var _0x5bf702=mars3d__namespace['DomUtil'][_0x4c9cac(0x249)](this[_0x4c9cac(0x214)][_0x4c9cac(0x200)][_0x4c9cac(0x201)]);return this[_0x4c9cac(0x214)][_0x4c9cac(0x1f8)](this[_0x4c9cac(0x259)][_0x4c9cac(0x222)]),_0x5bf702;}},{'key':'getPointData','value':function _0x5c8e8c(_0x4c15c9){var _0x5ee96b=_0x4cfc75,_0x1fef32=mars3d__namespace[_0x5ee96b(0x284)][_0x5ee96b(0x243)](_0x4c15c9);if(!_0x1fef32)return{};var _0x41d8ed=mars3d__namespace['PointTrans']['lonlat2mercator']([_0x1fef32[_0x5ee96b(0x240)],_0x1fef32[_0x5ee96b(0x292)]]),_0x510b64=this['_last_mBounds'],_0x2d3d13=Math[_0x5ee96b(0x238)]((_0x41d8ed[0x0]-_0x510b64[_0x5ee96b(0x1fb)])/this[_0x5ee96b(0x1ee)]),_0x507883=Math[_0x5ee96b(0x238)]((_0x510b64[_0x5ee96b(0x260)]-_0x41d8ed[0x1])/this[_0x5ee96b(0x1ee)]),_0x47edf2=this[_0x5ee96b(0x214)]['getValueAt']({'x':_0x2d3d13,'y':_0x507883}),_0x134431=this[_0x5ee96b(0x214)][_0x5ee96b(0x200)][_0x5ee96b(0x208)][_0x5ee96b(0x22a)](_0x2d3d13-0x1,_0x507883-0x1,0x1,0x1)['data'];return{'x':_0x2d3d13,'y':_0x507883,'value':_0x47edf2,'color':_0x5ee96b(0x20d)+_0x134431[0x0]+','+_0x134431[0x1]+','+_0x134431[0x2]+','+_0x134431[0x3]+')'};}}]),_0x94bc30;}(BaseLayer);mars3d__namespace[_0x3832b2(0x24a)][_0x3832b2(0x224)]=HeatLayer,mars3d__namespace[_0x3832b2(0x251)][_0x3832b2(0x277)]('heat',HeatLayer);function getMercatorBounds(_0xcaafa3){var _0x54cde0=_0x3832b2,_0x5d3c88=mars3d__namespace[_0x54cde0(0x242)]['lonlat2mercator']([_0xcaafa3[_0x54cde0(0x1fb)],_0xcaafa3[_0x54cde0(0x225)]]),_0x23eecf=mars3d__namespace[_0x54cde0(0x242)]['lonlat2mercator']([_0xcaafa3[_0x54cde0(0x286)],_0xcaafa3['ymax']]);return{'xmin':_0x5d3c88[0x0],'ymin':_0x5d3c88[0x1],'xmax':_0x23eecf[0x0],'ymax':_0x23eecf[0x1]};}function geLatLngBounds(_0x17de45){var _0x1096a8=_0x3832b2,_0x22abe2=mars3d__namespace[_0x1096a8(0x242)][_0x1096a8(0x227)]([_0x17de45[_0x1096a8(0x1fb)],_0x17de45[_0x1096a8(0x225)]]),_0x12eb42=mars3d__namespace[_0x1096a8(0x242)][_0x1096a8(0x227)]([_0x17de45[_0x1096a8(0x286)],_0x17de45[_0x1096a8(0x260)]]);return{'xmin':_0x22abe2[0x0],'ymin':_0x22abe2[0x1],'xmax':_0x12eb42[0x0],'ymax':_0x12eb42[0x1]};}exports['HeatLayer']=HeatLayer,Object[_0x3832b2(0x28a)](exports,'__esModule',{'value':!![]}); }));