Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

mars3d-heatmap

Package Overview
Dependencies
Maintainers
1
Versions
154
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mars3d-heatmap - npm Package Compare versions

Comparing version 3.4.18 to 3.4.19

6

dist/mars3d-heatmap.js
/**
* Mars3D平台插件,结合heatmap可视化功能插件 mars3d-heatmap
*
* 版本信息:v3.4.18
* 编译日期:2022-12-19 13:26:34
* 版本信息:v3.4.19
* 编译日期:2022-12-26 19:59:27
* 版权所有:Copyright by 火星科技 http://mars3d.cn

@@ -14,3 +14,3 @@ * 使用单位:免费公开版 ,2022-06-01

})(this, (function (exports, mars3d, h337) {
'use strict';var _0x16f563=_0x4edd;(function(_0xbc72ee,_0x3bd2b5){var _0x5bbdaa={_0x31aca4:0x139,_0x15e5a0:0x143,_0x5cf76a:0x125},_0x38b97b=_0x4edd,_0xa2da2=_0xbc72ee();while(!![]){try{var _0x47a03f=-parseInt(_0x38b97b(_0x5bbdaa._0x31aca4))/0x1+-parseInt(_0x38b97b(_0x5bbdaa._0x15e5a0))/0x2+parseInt(_0x38b97b(0x14a))/0x3+parseInt(_0x38b97b(0x106))/0x4+parseInt(_0x38b97b(0x13a))/0x5+parseInt(_0x38b97b(0xfb))/0x6*(-parseInt(_0x38b97b(_0x5bbdaa._0x5cf76a))/0x7)+-parseInt(_0x38b97b(0x116))/0x8;if(_0x47a03f===_0x3bd2b5)break;else _0xa2da2['push'](_0xa2da2['shift']());}catch(_0x1310f8){_0xa2da2['push'](_0xa2da2['shift']());}}}(_0x1672,0xaebc3));function _interopNamespace(_0x109959){var _0xf1e11d={_0x1b3b04:0x141,_0x17a320:0x13b},_0x361f6e={_0x6bce85:0x13b},_0x9f670d=_0x4edd;if(_0x109959&&_0x109959[_0x9f670d(0x147)])return _0x109959;var _0x107c59=Object[_0x9f670d(_0xf1e11d._0x1b3b04)](null);return _0x109959&&Object['keys'](_0x109959)['forEach'](function(_0x5d8a9b){var _0x56c3bf=_0x9f670d;if(_0x5d8a9b!==_0x56c3bf(_0x361f6e._0x6bce85)){var _0x169a6a=Object['getOwnPropertyDescriptor'](_0x109959,_0x5d8a9b);Object['defineProperty'](_0x107c59,_0x5d8a9b,_0x169a6a[_0x56c3bf(0x105)]?_0x169a6a:{'enumerable':!![],'get':function(){return _0x109959[_0x5d8a9b];}});}}),_0x107c59[_0x9f670d(_0xf1e11d._0x17a320)]=_0x109959,_0x107c59;}var mars3d__namespace=_interopNamespace(mars3d),h337__namespace=_interopNamespace(h337);function ownKeys(_0x3c631d,_0x5d2b1b){var _0x17fc7d={_0x34eb8b:0x14d},_0x32ff59=_0x4edd,_0x23de85=Object[_0x32ff59(0x119)](_0x3c631d);if(Object['getOwnPropertySymbols']){var _0x23785f=Object['getOwnPropertySymbols'](_0x3c631d);_0x5d2b1b&&(_0x23785f=_0x23785f['filter'](function(_0x32c1d6){return Object['getOwnPropertyDescriptor'](_0x3c631d,_0x32c1d6)['enumerable'];})),_0x23de85['push'][_0x32ff59(_0x17fc7d._0x34eb8b)](_0x23de85,_0x23785f);}return _0x23de85;}function _0x4edd(_0x2418b7,_0x2c2d34){var _0x1672a4=_0x1672();return _0x4edd=function(_0x4edd79,_0x45bf66){_0x4edd79=_0x4edd79-0xfb;var _0x2ebc88=_0x1672a4[_0x4edd79];return _0x2ebc88;},_0x4edd(_0x2418b7,_0x2c2d34);}function _objectSpread2(_0x3f4154){var _0x3b2338={_0x4bbbbc:0x140},_0x385f19=_0x4edd;for(var _0x29736c=0x1;_0x29736c<arguments['length'];_0x29736c++){var _0x2e0e5e=null!=arguments[_0x29736c]?arguments[_0x29736c]:{};_0x29736c%0x2?ownKeys(Object(_0x2e0e5e),!0x0)['forEach'](function(_0x38d773){_defineProperty(_0x3f4154,_0x38d773,_0x2e0e5e[_0x38d773]);}):Object['getOwnPropertyDescriptors']?Object[_0x385f19(_0x3b2338._0x4bbbbc)](_0x3f4154,Object['getOwnPropertyDescriptors'](_0x2e0e5e)):ownKeys(Object(_0x2e0e5e))['forEach'](function(_0x158318){Object['defineProperty'](_0x3f4154,_0x158318,Object['getOwnPropertyDescriptor'](_0x2e0e5e,_0x158318));});}return _0x3f4154;}function _classCallCheck(_0x569dcf,_0x14484f){if(!(_0x569dcf instanceof _0x14484f))throw new TypeError('Cannot\x20call\x20a\x20class\x20as\x20a\x20function');}function _defineProperties(_0x5ec891,_0x41c427){var _0x3325fd={_0x14e6ad:0x103,_0x1066e5:0x152},_0x50d3ea=_0x4edd;for(var _0x4702f0=0x0;_0x4702f0<_0x41c427[_0x50d3ea(0x11f)];_0x4702f0++){var _0x345525=_0x41c427[_0x4702f0];_0x345525[_0x50d3ea(0x103)]=_0x345525[_0x50d3ea(_0x3325fd._0x14e6ad)]||![],_0x345525[_0x50d3ea(_0x3325fd._0x1066e5)]=!![];if('value'in _0x345525)_0x345525['writable']=!![];Object['defineProperty'](_0x5ec891,_0x345525['key'],_0x345525);}}function _0x1672(){var _0xbbbfa6=['_addedHook','REPLACE','bind','defineProperties','create','StencilFunction','61818aNuIuU','_getHeatCanvas','prototype','StencilOperation','__esModule','_heat','Material','783804KtkqyH','toArray','_layer','apply','Util','maxCanvasSize','_updatePositionsHook','heat','configurable','style','height','merge','yellow','configure','xmax','BlendingState','RenderState','max','13176vLBkwI','px;height:','diffHeight','clear','KEEP','layer','push','_graphic','enumerable','_last_mBounds','get','3441360hIMPov','_map','formatRectangle','ALPHA_BLEND','object','addLayer','value','lng','_renderer','ImageLayer','call','PointTrans','ymax','setPrototypeOf','fromDegrees','BaseLayer','1371896hJjXPM','_createGraphic','valueOf','keys','positions','rgb(216,216,216)','toDataURL','LngLatPoint','defineProperty','length','blur','xmin','width:','_graphic2','image/png','399YmWiZR','setOptions','_createArcGraphic','_setOptionsHook','canvas','minCanvasSize','arc','green','min','_rectangle','heatStyle','getImageData','construct','container','lat','setPositions','setData','_positions','options','DomUtil','409776LPmgZr','1657255xFrqNT','default','graphic'];_0x1672=function(){return _0xbbbfa6;};return _0x1672();}function _createClass(_0x526c62,_0x5b431f,_0xa7d8d9){var _0xa06a35=_0x4edd;if(_0x5b431f)_defineProperties(_0x526c62[_0xa06a35(0x145)],_0x5b431f);if(_0xa7d8d9)_defineProperties(_0x526c62,_0xa7d8d9);return Object['defineProperty'](_0x526c62,'prototype',{'writable':![]}),_0x526c62;}function _defineProperty(_0x2e6c23,_0x46dc5c,_0x51c468){var _0x377e30=_0x4edd;return _0x46dc5c in _0x2e6c23?Object[_0x377e30(0x11e)](_0x2e6c23,_0x46dc5c,{'value':_0x51c468,'enumerable':!![],'configurable':!![],'writable':!![]}):_0x2e6c23[_0x46dc5c]=_0x51c468,_0x2e6c23;}function _inherits(_0x1874bb,_0x137e15){var _0x268720=_0x4edd;if(typeof _0x137e15!=='function'&&_0x137e15!==null)throw new TypeError('Super\x20expression\x20must\x20either\x20be\x20null\x20or\x20a\x20function');_0x1874bb['prototype']=Object['create'](_0x137e15&&_0x137e15[_0x268720(0x145)],{'constructor':{'value':_0x1874bb,'writable':!![],'configurable':!![]}}),Object['defineProperty'](_0x1874bb,'prototype',{'writable':![]});if(_0x137e15)_setPrototypeOf(_0x1874bb,_0x137e15);}function _getPrototypeOf(_0x5b3252){var _0x3beaa6=_0x4edd;return _getPrototypeOf=Object[_0x3beaa6(0x113)]?Object['getPrototypeOf']['bind']():function _0x547971(_0x230f3b){return _0x230f3b['__proto__']||Object['getPrototypeOf'](_0x230f3b);},_getPrototypeOf(_0x5b3252);}function _setPrototypeOf(_0x4b2e6d,_0x2b5ed9){var _0x1cf073=_0x4edd;return _setPrototypeOf=Object['setPrototypeOf']?Object['setPrototypeOf'][_0x1cf073(0x13f)]():function _0x439b18(_0x1b7959,_0x44ad23){return _0x1b7959['__proto__']=_0x44ad23,_0x1b7959;},_setPrototypeOf(_0x4b2e6d,_0x2b5ed9);}function _isNativeReflectConstruct(){var _0x24e4d5={_0x385f94:0x145},_0x12c476=_0x4edd;if(typeof Reflect==='undefined'||!Reflect['construct'])return![];if(Reflect[_0x12c476(0x131)]['sham'])return![];if(typeof Proxy==='function')return!![];try{return Boolean[_0x12c476(_0x24e4d5._0x385f94)][_0x12c476(0x118)]['call'](Reflect['construct'](Boolean,[],function(){})),!![];}catch(_0x2d1c9a){return![];}}function _assertThisInitialized(_0x5f169b){if(_0x5f169b===void 0x0)throw new ReferenceError('this\x20hasn\x27t\x20been\x20initialised\x20-\x20super()\x20hasn\x27t\x20been\x20called');return _0x5f169b;}function _possibleConstructorReturn(_0x597e13,_0x249cd1){var _0x3c7d35={_0x3f2fcb:0x10a},_0x32f2d9=_0x4edd;if(_0x249cd1&&(typeof _0x249cd1===_0x32f2d9(_0x3c7d35._0x3f2fcb)||typeof _0x249cd1==='function'))return _0x249cd1;else{if(_0x249cd1!==void 0x0)throw new TypeError('Derived\x20constructors\x20may\x20only\x20return\x20object\x20or\x20undefined');}return _assertThisInitialized(_0x597e13);}function _createSuper(_0x580a03){var _0x4337d0=_isNativeReflectConstruct();return function _0x483230(){var _0x2de648=_getPrototypeOf(_0x580a03),_0x14883a;if(_0x4337d0){var _0xf3a7fe=_getPrototypeOf(this)['constructor'];_0x14883a=Reflect['construct'](_0x2de648,arguments,_0xf3a7fe);}else _0x14883a=_0x2de648['apply'](this,arguments);return _possibleConstructorReturn(this,_0x14883a);};}var HeatMaterial='uniform\x20sampler2D\x20image;\x0a\x0aczm_material\x20czm_getMaterial(czm_materialInput\x20materialInput)\x20{\x0a\x20\x20czm_material\x20material\x20=\x20czm_getDefaultMaterial(materialInput);\x0a\x20\x20vec2\x20st\x20=\x20materialInput.st;\x0a\x20\x20vec4\x20colorImage\x20=\x20texture2D(image,\x20st);\x0a\x20\x20if(colorImage.rgb\x20==\x20vec3(1.0)\x20||\x20colorImage.rgb\x20==\x20vec3(0.0))\x20{\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[_0x16f563(0x141)])throw new Error('请引入\x20heatmap.js\x20库\x20');var Cesium=mars3d__namespace['Cesium'],BaseLayer=mars3d__namespace[_0x16f563(0x100)][_0x16f563(0x115)],DEF_HEATSTYLE={'maxOpacity':0.8,'minOpacity':0.1,'blur':0.85,'radius':0x19,'gradient':{0.4:'blue',0.6:_0x16f563(0x12c),0.8:_0x16f563(0x156),0.9:'red'}},DEF_STYLE={'arcRadiusScale':1.5,'arcBlurScale':1.5,'vertexFormat':Cesium['EllipsoidSurfaceAppearance']['VERTEX_FORMAT']},HeatLayer=function(_0x3ef5e3){var _0x1d4f87={_0x4f3cb5:0x13d,_0x16deaa:0x117},_0x5dae57={_0x13bb07:0x148},_0xdb78eb={_0x23bfb5:0x12f,_0x4aa944:0x120,_0x54971b:0x11b,_0x4bbc07:0x148},_0x156353={_0x1a9068:0x136,_0x1c7ad9:0x137,_0x2a6dc8:0x112,_0x5ee3ee:0x114,_0x3c71e0:0x10c,_0x3edfd6:0x121,_0x3ba422:0x104,_0x338d65:0x158,_0x5566c:0x138,_0x55e56e:0x132,_0x4da1c9:0x122,_0x7f6b30:0x12f},_0x1afc71={_0x562e0b:0x12e},_0x30fe84={_0x5f5b69:0xff,_0xf2ec7a:0x146,_0x17af9f:0x159,_0x7e8570:0x153},_0x4934b7={_0x4829aa:0x149,_0x5773fb:0x102},_0x542fd9={_0xc5045b:0x144,_0x508ccb:0x14c,_0x35f1b7:0x11c,_0x43abef:0x153,_0x39d403:0x117},_0x15cea3={_0x5a827b:0x14c},_0x38b0b7={_0x5c5af0:0x138,_0x4411d2:0x12f,_0x8b5f6b:0x132,_0x4b2994:0x132,_0x43e71f:0xfe},_0x3b080f={_0x326892:0x107,_0x5d1554:0x10b},_0x591f33={_0xd786eb:0x153},_0x2c9553={_0x540f30:0x101,_0x26cb23:0x14b},_0xf40eff={_0x335316:0x137},_0x472433={_0x5c6811:0x153},_0x25eeb0={_0x5d44e4:0x155,_0x71c8df:0x148,_0x48384f:0x12f,_0x390c4b:0x150},_0x5056a9={_0xe6b894:0x137,_0x26e270:0x12f},_0x14d2e2={_0xff5295:0x11f,_0x558e76:0x137,_0x58e408:0x14f,_0x1cb349:0x12a,_0x556484:0x12f,_0x479dbd:0x153,_0x2efa9c:0x153},_0x31ff03=_0x16f563;_inherits(_0x469c7c,_0x3ef5e3);var _0x471992=_createSuper(_0x469c7c);function _0x469c7c(){var _0x41e56f=_0x4edd,_0x582624,_0x5332b7,_0x354bdd,_0x350e42=arguments[_0x41e56f(_0x14d2e2._0xff5295)]>0x0&&arguments[0x0]!==undefined?arguments[0x0]:{};return _classCallCheck(this,_0x469c7c),_0x354bdd=_0x471992[_0x41e56f(0x110)](this,_0x350e42),_0x354bdd[_0x41e56f(_0x14d2e2._0x558e76)]['maxCanvasSize']=(_0x582624=_0x354bdd['options']['maxCanvasSize'])!==null&&_0x582624!==void 0x0?_0x582624:document['body']['clientWidth'],_0x354bdd[_0x41e56f(0x137)]['maxCanvasSize']=Math['min'](_0x354bdd['options'][_0x41e56f(_0x14d2e2._0x58e408)],0x1388),_0x354bdd[_0x41e56f(_0x14d2e2._0x558e76)]['minCanvasSize']=(_0x5332b7=_0x354bdd[_0x41e56f(_0x14d2e2._0x558e76)][_0x41e56f(_0x14d2e2._0x1cb349)])!==null&&_0x5332b7!==void 0x0?_0x5332b7:document['body']['clientHeight'],_0x354bdd[_0x41e56f(0x137)]['minCanvasSize']=Math['max'](_0x354bdd[_0x41e56f(0x137)]['minCanvasSize'],0x2bc),_0x354bdd['options']['heatStyle']=_objectSpread2(_objectSpread2({},DEF_HEATSTYLE),_0x354bdd[_0x41e56f(0x137)][_0x41e56f(_0x14d2e2._0x556484)]||{}),_0x354bdd['options'][_0x41e56f(_0x14d2e2._0x479dbd)]=_objectSpread2(_objectSpread2({},DEF_STYLE),_0x354bdd['options'][_0x41e56f(_0x14d2e2._0x2efa9c)]||{}),_0x354bdd;}return _createClass(_0x469c7c,[{'key':'layer','get':function _0x53f1ed(){return this['_layer'];}},{'key':'heatStyle','get':function _0x392239(){var _0x11578b=_0x4edd;return this[_0x11578b(_0x5056a9._0xe6b894)][_0x11578b(_0x5056a9._0x26e270)];},'set':function _0x14f2c2(_0x153f8a){var _0x4523f2=_0x4edd;this['options']['heatStyle']=mars3d__namespace[_0x4523f2(0x14e)][_0x4523f2(_0x25eeb0._0x5d44e4)](this['options']['heatStyle'],_0x153f8a),this[_0x4523f2(_0x25eeb0._0x71c8df)]&&(this['_heat']['configure'](this[_0x4523f2(0x137)][_0x4523f2(_0x25eeb0._0x48384f)]),this[_0x4523f2(_0x25eeb0._0x390c4b)](!![]));}},{'key':'style','get':function _0x4e1aa7(){var _0x3bba61=_0x4edd;return this['options'][_0x3bba61(_0x472433._0x5c6811)];},'set':function _0x346c38(_0x425a3b){var _0x3b8a59=_0x4edd;this[_0x3b8a59(_0xf40eff._0x335316)]['style']=mars3d__namespace['Util']['merge'](this['options']['style'],_0x425a3b);}},{'key':'positions','get':function _0x9105c7(){return this['_positions'];},'set':function _0x364287(_0x3e69ef){this['setPositions'](_0x3e69ef);}},{'key':'coordinates','get':function _0x4df957(){var _0x5c75af=[];return this['points']['forEach'](function(_0x2e481e){var _0x480a2f=_0x4edd;_0x5c75af[_0x480a2f(_0x2c9553._0x540f30)](_0x2e481e[_0x480a2f(_0x2c9553._0x26cb23)]());}),_0x5c75af;}},{'key':'rectangle','get':function _0x19badb(){return this['_rectangle'];}},{'key':_0x31ff03(0x128),'value':function _0x17b9e3(_0x57af50,_0x2fc485){var _0x3fd0aa=_0x31ff03;_0x57af50['positions']&&(this['positions']=_0x57af50[_0x3fd0aa(0x11a)]);}},{'key':'_mountedHook','value':function _0x396a21(){var _0x300d8c=_0x31ff03;this[_0x300d8c(_0x591f33._0xd786eb)]['type']==='image'?this[_0x300d8c(0x14c)]=new mars3d__namespace['layer'][(_0x300d8c(0x10f))]({'crs':'EPSG:3857','private':!![]}):this['_layer']=new mars3d__namespace['layer']['GraphicLayer']({'private':!![]});}},{'key':_0x31ff03(_0x1d4f87._0x4f3cb5),'value':function _0x21b2fb(){var _0x25b905=_0x31ff03;this[_0x25b905(_0x3b080f._0x326892)][_0x25b905(_0x3b080f._0x5d1554)](this['_layer']),this[_0x25b905(0x137)]['positions']&&(this['positions']=this['options']['positions']),this['options']['flyTo']&&this['flyToByAnimationEnd']();}},{'key':'_removedHook','value':function _0x18a8ad(){var _0x475c79=_0x31ff03;this['heatStyle']['container']&&(mars3d__namespace[_0x475c79(_0x38b0b7._0x5c5af0)]['remove'](this[_0x475c79(_0x38b0b7._0x4411d2)][_0x475c79(_0x38b0b7._0x8b5f6b)]),delete this['heatStyle'][_0x475c79(_0x38b0b7._0x4b2994)]),this[_0x475c79(_0x38b0b7._0x43e71f)](),this['_map']['removeLayer'](this['_layer']);}},{'key':'addPosition','value':function _0xe561c5(_0x1b8b18,_0x112389){var _0x45d094=_0x31ff03;this[_0x45d094(0x136)]=this['_positions']||[],this['_positions']['push'](_0x1b8b18),this['_updatePositionsHook'](_0x112389);}},{'key':_0x31ff03(0x134),'value':function _0x58c298(_0x5578a2,_0xdf8344){this['_positions']=_0x5578a2,this['_updatePositionsHook'](_0xdf8344);}},{'key':'clear','value':function _0xe9b66f(){var _0x38441f=_0x31ff03;this['_graphic']&&(this[_0x38441f(_0x15cea3._0x5a827b)]['removeGraphic'](this['_graphic'],!![]),delete this['_graphic']),this['_graphic2']&&(this[_0x38441f(0x14c)]['removeGraphic'](this[_0x38441f(0x123)],!![]),delete this[_0x38441f(0x123)]);}},{'key':'_updatePositionsHook','value':function _0xea9d10(_0x16c743){var _0x40378e=_0x31ff03;if(!this['show']||!this['_map']||!this[_0x40378e(0x11a)]||this['positions']['length']===0x0)return this;var _0x3425fd=this[_0x40378e(_0x542fd9._0xc5045b)]();if(this['style']['type']==='image')this[_0x40378e(_0x542fd9._0x508ccb)][_0x40378e(0x126)]({'url':_0x3425fd[_0x40378e(_0x542fd9._0x35f1b7)](_0x40378e(0x124)),'rectangle':this['_rectangle'],'opacity':this[_0x40378e(_0x542fd9._0x43abef)]['opacity']});else this['style'][_0x40378e(0x12b)]?this['_graphic']&&_0x16c743?(this['_graphic']['uniforms']['image']=_0x3425fd,this['_graphic']['uniforms']['bumpMap']=this['_getArcHeatCanvas'](),this['_graphic2']&&(this['_graphic2']['uniforms']['image']=_0x3425fd,this['_graphic2']['uniforms']['bumpMap']=this['_graphic']['uniforms']['bumpMap'])):this['_createArcGraphic'](_0x3425fd):this['_graphic']&&_0x16c743?this['_graphic']['uniforms']['image']=_0x3425fd:this[_0x40378e(_0x542fd9._0x39d403)](_0x3425fd);return this;}},{'key':_0x31ff03(_0x1d4f87._0x16deaa),'value':function _0xdc91ee(_0x72a0d2){var _0x599475=_0x31ff03;this['clear'](),this['_graphic']=new mars3d__namespace['graphic']['RectanglePrimitive'](_objectSpread2(_objectSpread2({},this['options']),{},{'rectangle':this['_rectangle'],'appearance':new Cesium['EllipsoidSurfaceAppearance']({'material':new Cesium[(_0x599475(_0x4934b7._0x4829aa))]({'fabric':{'uniforms':{'image':_0x72a0d2},'source':HeatMaterial},'translucent':!![]}),'flat':!![]})})),this['_layer']['addGraphic'](this[_0x599475(_0x4934b7._0x5773fb)]);}},{'key':_0x31ff03(0x127),'value':function _0xddeab1(_0x1a3e17){var _0x248beb=_0x31ff03,_0x3c9691;this[_0x248beb(0xfe)]();var _0x5b18cd=Cesium[_0x248beb(0x15a)]['fromCache']({'cull':{'enabled':!![]},'depthTest':{'enabled':!![]},'stencilTest':{'enabled':!![],'frontFunction':Cesium['StencilFunction']['ALWAYS'],'frontOperation':{'fail':Cesium['StencilOperation']['KEEP'],'zFail':Cesium[_0x248beb(0x146)][_0x248beb(_0x30fe84._0x5f5b69)],'zPass':Cesium[_0x248beb(0x146)]['REPLACE']},'backFunction':Cesium[_0x248beb(0x142)]['ALWAYS'],'backOperation':{'fail':Cesium[_0x248beb(0x146)][_0x248beb(0xff)],'zFail':Cesium['StencilOperation']['KEEP'],'zPass':Cesium[_0x248beb(_0x30fe84._0xf2ec7a)][_0x248beb(0x13e)]},'reference':0x2,'mask':0x2},'blending':Cesium[_0x248beb(_0x30fe84._0x17af9f)][_0x248beb(0x109)]}),_0x3ecf9d=Math['floor']((_0x3c9691=this['style'][_0x248beb(0xfd)])!==null&&_0x3c9691!==void 0x0?_0x3c9691:this['_mBoundsMax']*0.02)+0.1;this['style']['diffHeight']&&delete this['style']['diffHeight'];var _0x525004=(this[_0x248beb(0x153)]['splitNum'],0x64),_0x3f0ff3=Math['max'](this[_0x248beb(0x12e)][_0x248beb(0x154)],this['_rectangle']['width']);this[_0x248beb(_0x30fe84._0x7e8570)]['granularity']=_0x3f0ff3/=_0x525004;var _0x450d80=new Cesium['Material']({'fabric':{'uniforms':{'image':_0x1a3e17,'repeat':new Cesium['Cartesian2'](0x1,0x1),'color':new Cesium['Color'](0x1,0x1,0x1,0x0),'bumpMap':this['_getArcHeatCanvas']()},'source':HeatMaterial},'translucent':!![]}),_0x2eb38e=this[_0x248beb(_0x30fe84._0x7e8570)]['arcDirection']||0x1;this[_0x248beb(0x102)]=new mars3d__namespace[(_0x248beb(0x13c))]['RectanglePrimitive'](_objectSpread2(_objectSpread2({},this['options']),{},{'rectangle':this[_0x248beb(0x12e)],'appearance':new Cesium['EllipsoidSurfaceAppearance']({'flat':!![],'aboveGround':!![],'renderState':_0x5b18cd,'material':_0x450d80,'vertexShaderSource':getVertexShaderSource(_0x3ecf9d*_0x2eb38e)})})),this['_layer']['addGraphic'](this['_graphic']),this['style']['arcDirection']===0x0&&(this['_graphic2']=new mars3d__namespace[(_0x248beb(0x13c))]['RectanglePrimitive'](_objectSpread2(_objectSpread2({},this['options']),{},{'rectangle':this['_rectangle'],'appearance':new Cesium['EllipsoidSurfaceAppearance']({'flat':!![],'aboveGround':!![],'renderState':_0x5b18cd,'material':_0x450d80,'vertexShaderSource':getVertexShaderSource(-_0x3ecf9d)})})),this['_layer']['addGraphic'](this['_graphic2']));}},{'key':'getRectangle','value':function _0x18a9cc(_0x430553){var _0x3c322f=_0x31ff03;return _0x430553!==null&&_0x430553!==void 0x0&&_0x430553['isFormat']&&this[_0x3c322f(_0x1afc71._0x562e0b)]?mars3d__namespace['PolyUtil'][_0x3c322f(0x108)](this['_rectangle']):this['_rectangle'];}},{'key':'_getHeatCanvas','value':function _0xa1b76b(){var _0x386827={_0x3c01ba:0x12d},_0x17acb9=_0x31ff03,_0x34ba15=this,_0x565bdf,_0x4dd667,_0x23222d,_0x4dc99a,_0x205720=this[_0x17acb9(_0x156353._0x1a9068)],_0x474ee3=[],_0x20d16e,_0x5498c9,_0x43c0fc,_0x416a3c;_0x205720['forEach'](function(_0x102e8b){var _0x450477=_0x17acb9,_0x19e2ef=mars3d__namespace[_0x450477(0x11d)]['parse'](_0x102e8b);if(!_0x19e2ef)return;_0x19e2ef['value']=_0x102e8b['value']||0x1,!_0x34ba15[_0x450477(0x137)]['rectangle']&&(_0x20d16e===undefined?(_0x20d16e=_0x19e2ef['lng'],_0x5498c9=_0x19e2ef['lng'],_0x43c0fc=_0x19e2ef['lat'],_0x416a3c=_0x19e2ef['lat']):(_0x20d16e=Math['min'](_0x20d16e,_0x19e2ef['lng']),_0x5498c9=Math['max'](_0x5498c9,_0x19e2ef[_0x450477(0x10d)]),_0x43c0fc=Math[_0x450477(_0x386827._0x3c01ba)](_0x43c0fc,_0x19e2ef['lat']),_0x416a3c=Math[_0x450477(0x15b)](_0x416a3c,_0x19e2ef[_0x450477(0x133)]))),_0x474ee3['push'](_0x19e2ef);});var _0x478c9a=this['options']['rectangle']||{'xmin':_0x20d16e,'xmax':_0x5498c9,'ymin':_0x43c0fc,'ymax':_0x416a3c},_0x34809b=getMercatorBounds(_0x478c9a),_0x115b4d=Math['abs'](_0x34809b[_0x17acb9(0x158)]-_0x34809b['xmin']),_0x3c8099=Math['abs'](_0x34809b['ymax']-_0x34809b['ymin']),_0xf81e38=Math['max'](_0x115b4d,_0x3c8099),_0x29f2fb=Math['min'](_0x115b4d,_0x3c8099);this['_mBoundsMax']=_0xf81e38;var _0x34f859=0x1;if(_0xf81e38>this['options']['maxCanvasSize'])_0x34f859=_0xf81e38/this['options']['maxCanvasSize'],_0x29f2fb/_0x34f859<this['options']['minCanvasSize']&&(_0x34f859=_0x29f2fb/this[_0x17acb9(0x137)]['minCanvasSize']);else _0x29f2fb<this['options']['minCanvasSize']&&(_0x34f859=_0x29f2fb/this[_0x17acb9(_0x156353._0x1c7ad9)][_0x17acb9(0x12a)],_0xf81e38/_0x34f859>this['options']['maxCanvasSize']&&(_0x34f859=_0xf81e38/this['options']['maxCanvasSize']));var _0x4cf6d1=this[_0x17acb9(0x12f)]['radius']*1.5,_0x1d4539=_0x115b4d/_0x34f859+_0x4cf6d1*0x2,_0x773399=_0x3c8099/_0x34f859+_0x4cf6d1*0x2,_0x144deb=_0x4cf6d1*_0x34f859;_0x34809b['xmin']-=_0x144deb,_0x34809b['ymin']-=_0x144deb,_0x34809b['xmax']+=_0x144deb,_0x34809b[_0x17acb9(_0x156353._0x2a6dc8)]+=_0x144deb,this['_scale']=_0x34f859,_0x478c9a=geLatLngBounds(_0x34809b),this['_rectangle']=Cesium['Rectangle'][_0x17acb9(_0x156353._0x5ee3ee)](_0x478c9a['xmin'],_0x478c9a['ymin'],_0x478c9a['xmax'],_0x478c9a['ymax']);var _0x441816=(_0x565bdf=_0x474ee3[0x0][_0x17acb9(_0x156353._0x3c71e0)])!==null&&_0x565bdf!==void 0x0?_0x565bdf:0x1,_0x5ab47b=(_0x4dd667=_0x474ee3[0x0]['value'])!==null&&_0x4dd667!==void 0x0?_0x4dd667:0x0,_0x19391b=[];_0x474ee3['forEach'](function(_0x51fd69){var _0xb1f911=_0x17acb9,_0xdc8ba9=mars3d__namespace[_0xb1f911(0x111)]['lonlat2mercator']([_0x51fd69[_0xb1f911(0x10d)],_0x51fd69[_0xb1f911(0x133)]]),_0x4b878e=_0x51fd69['value']||0x1,_0x241b48=Math['round']((_0xdc8ba9[0x0]-_0x34809b[_0xb1f911(0x121)])/_0x34f859),_0x28ac31=Math['round']((_0x34809b[_0xb1f911(0x112)]-_0xdc8ba9[0x1])/_0x34f859);_0x441816=Math[_0xb1f911(0x15b)](_0x441816,_0x4b878e),_0x5ab47b=Math['min'](_0x5ab47b,_0x4b878e),_0x19391b['push']({'x':_0x241b48,'y':_0x28ac31,'value':_0x4b878e});});var _0x2d1161={'min':(_0x23222d=this['options']['min'])!==null&&_0x23222d!==void 0x0?_0x23222d:_0x5ab47b,'max':(_0x4dc99a=this['options']['max'])!==null&&_0x4dc99a!==void 0x0?_0x4dc99a:_0x441816,'data':_0x19391b};this['_last_heatData']=_0x2d1161;(!this['_last_mBounds']||_0x34809b[_0x17acb9(_0x156353._0x3edfd6)]!==this['_last_mBounds'][_0x17acb9(0x121)]||_0x34809b['ymin']!==this[_0x17acb9(_0x156353._0x3ba422)]['ymin']||_0x34809b[_0x17acb9(_0x156353._0x338d65)]!==this['_last_mBounds']['xmax']||_0x34809b['ymax']!==this['_last_mBounds']['ymax'])&&(this['_last_mBounds']=_0x34809b,!this[_0x17acb9(0x12f)]['container']&&(this['heatStyle']['container']=mars3d__namespace[_0x17acb9(_0x156353._0x5566c)]['create']('div','mars3d-heatmap\x20mars3d-hideDiv',this['_map']['container'])),this['heatStyle'][_0x17acb9(_0x156353._0x55e56e)]['style']['cssText']=_0x17acb9(_0x156353._0x4da1c9)['concat'](_0x1d4539,_0x17acb9(0xfc))['concat'](_0x773399,'px;'),!this['_heat']?this['_heat']=h337__namespace[_0x17acb9(0x141)](this['heatStyle']):this['_heat'][_0x17acb9(0x157)](this[_0x17acb9(_0x156353._0x7f6b30)]));this['_heat'][_0x17acb9(0x135)](_0x2d1161);var _0x54597c=mars3d__namespace['DomUtil']['copyCanvas'](this[_0x17acb9(0x148)]['_renderer'][_0x17acb9(0x129)]);return _0x54597c;}},{'key':'_getArcHeatCanvas','value':function _0xab33e8(){var _0x31e0a9=_0x31ff03;this[_0x31e0a9(0x148)]['configure']({'radius':this[_0x31e0a9(_0xdb78eb._0x23bfb5)]['radius']*this['style']['arcRadiusScale'],'blur':this[_0x31e0a9(0x12f)][_0x31e0a9(_0xdb78eb._0x4aa944)]*this['style']['arcBlurScale'],'gradient':this['heatStyle']['gradientArc']||{0.25:'rgb(0,0,0)',0.55:'rgb(140,140,140)',0.85:_0x31e0a9(_0xdb78eb._0x54971b),0x1:'rgb(255,255,255)'}});var _0x23fd42=mars3d__namespace[_0x31e0a9(0x138)]['copyCanvas'](this[_0x31e0a9(_0xdb78eb._0x4bbc07)]['_renderer']['canvas']);return this['_heat']['configure'](this['options']['heatStyle']),_0x23fd42;}},{'key':'getPointData','value':function _0x17cc24(_0x23bd26){var _0x3797b2=_0x31ff03,_0x1237c3=mars3d__namespace[_0x3797b2(0x11d)]['parse'](_0x23bd26);if(!_0x1237c3)return{};var _0x26abbc=mars3d__namespace[_0x3797b2(0x111)]['lonlat2mercator']([_0x1237c3['lng'],_0x1237c3['lat']]),_0x2ae148=this['_last_mBounds'],_0x420007=Math['round']((_0x26abbc[0x0]-_0x2ae148['xmin'])/this['_scale']),_0x560594=Math['round']((_0x2ae148['ymax']-_0x26abbc[0x1])/this['_scale']),_0x35f70c=this[_0x3797b2(_0x5dae57._0x13bb07)]['getValueAt']({'x':_0x420007,'y':_0x560594}),_0x3cdb1f=this['_heat'][_0x3797b2(0x10e)]['ctx'][_0x3797b2(0x130)](_0x420007-0x1,_0x560594-0x1,0x1,0x1)['data'];return{'x':_0x420007,'y':_0x560594,'value':_0x35f70c,'color':'rgba('+_0x3cdb1f[0x0]+','+_0x3cdb1f[0x1]+','+_0x3cdb1f[0x2]+','+_0x3cdb1f[0x3]+')'};}}]),_0x469c7c;}(BaseLayer);mars3d__namespace[_0x16f563(0x100)]['HeatLayer']=HeatLayer,mars3d__namespace['LayerUtil']['register'](_0x16f563(0x151),HeatLayer);function getMercatorBounds(_0x52688b){var _0x1d8ae7=_0x16f563,_0x3fca9d=mars3d__namespace['PointTrans']['lonlat2mercator']([_0x52688b['xmin'],_0x52688b['ymin']]),_0x2b6766=mars3d__namespace['PointTrans']['lonlat2mercator']([_0x52688b[_0x1d8ae7(0x158)],_0x52688b['ymax']]);return{'xmin':_0x3fca9d[0x0],'ymin':_0x3fca9d[0x1],'xmax':_0x2b6766[0x0],'ymax':_0x2b6766[0x1]};}function geLatLngBounds(_0x354f6e){var _0x4df7c5={_0x895b4f:0x111},_0x258d01=_0x16f563,_0x14e0c3=mars3d__namespace[_0x258d01(_0x4df7c5._0x895b4f)]['mercator2lonlat']([_0x354f6e['xmin'],_0x354f6e['ymin']]),_0x1b1f20=mars3d__namespace['PointTrans']['mercator2lonlat']([_0x354f6e[_0x258d01(0x158)],_0x354f6e['ymax']]);return{'xmin':_0x14e0c3[0x0],'ymin':_0x14e0c3[0x1],'xmax':_0x1b1f20[0x0],'ymax':_0x1b1f20[0x1]};}function getVertexShaderSource(_0x1fd364){return'attribute\x20vec3\x20position3DHigh;\x0a\x20\x20attribute\x20vec3\x20position3DLow;\x0a\x20\x20attribute\x20vec2\x20st;\x0a\x20\x20attribute\x20float\x20batchId;\x0a\x20\x20uniform\x20sampler2D\x20bumpMap_3;\x0a\x20\x20varying\x20vec3\x20v_positionMC;\x0a\x20\x20varying\x20vec3\x20v_positionEC;\x0a\x20\x20varying\x20vec2\x20v_st;\x0a\x0a\x20\x20void\x20main()\x0a\x20\x20{\x0a\x20\x20\x20\x20vec4\x20p\x20=\x20czm_computePosition();\x0a\x20\x20\x20\x20v_positionMC\x20=\x20position3DHigh\x20+\x20position3DLow;\x0a\x20\x20\x20\x20v_positionEC\x20=\x20(czm_modelViewRelativeToEye\x20*\x20p).xyz;\x0a\x20\x20\x20\x20v_st\x20=\x20st;\x0a\x20\x20\x20\x20vec4\x20color\x20=\x20texture2D(bumpMap_3,\x20v_st);\x0a\x20\x20\x20\x20float\x20centerBump\x20=\x20distance(vec3(0.0),color.rgb);\x0a\x20\x20\x20\x20vec3\x20upDir\x20=\x20normalize(v_positionMC.xyz);\x0a\x20\x20\x20\x20vec3\x20disPos\x20=\x20upDir\x20*\x20centerBump\x20*\x20'['concat'](_0x1fd364,';\x0a\x20\x20\x20\x20p\x20+=vec4(disPos,0.0);\x0a\x20\x20\x20\x20gl_Position\x20=\x20czm_modelViewProjectionRelativeToEye\x20*\x20p;\x0a\x20\x20}\x0a');}exports['HeatLayer']=HeatLayer,Object['defineProperty'](exports,'__esModule',{'value':!![]});
'use strict';var _0x4a220e=_0x154b;(function(_0x3088a8,_0x2db4c5){var _0x1367a9={_0x1cc233:0x206,_0x12c9f2:0x21f,_0x189498:0x240,_0x5f58f2:0x20f},_0x1928cd=_0x154b,_0x2fcf2e=_0x3088a8();while(!![]){try{var _0x2381f8=-parseInt(_0x1928cd(0x1f3))/0x1*(-parseInt(_0x1928cd(_0x1367a9._0x1cc233))/0x2)+parseInt(_0x1928cd(_0x1367a9._0x12c9f2))/0x3+-parseInt(_0x1928cd(0x204))/0x4+-parseInt(_0x1928cd(0x1fd))/0x5+-parseInt(_0x1928cd(0x21a))/0x6*(-parseInt(_0x1928cd(0x242))/0x7)+parseInt(_0x1928cd(_0x1367a9._0x189498))/0x8*(parseInt(_0x1928cd(0x22b))/0x9)+-parseInt(_0x1928cd(_0x1367a9._0x5f58f2))/0xa;if(_0x2381f8===_0x2db4c5)break;else _0x2fcf2e['push'](_0x2fcf2e['shift']());}catch(_0x110f08){_0x2fcf2e['push'](_0x2fcf2e['shift']());}}}(_0x31e1,0xb1408));function _interopNamespace(_0x42e6d8){var _0x7c513a={_0x29458b:0x1ff},_0x2ba1b7=_0x154b;if(_0x42e6d8&&_0x42e6d8['__esModule'])return _0x42e6d8;var _0x395a8e=Object['create'](null);return _0x42e6d8&&Object['keys'](_0x42e6d8)[_0x2ba1b7(0x1f9)](function(_0x37c258){var _0x4b9e8f=_0x2ba1b7;if(_0x37c258!==_0x4b9e8f(0x230)){var _0x263ec1=Object['getOwnPropertyDescriptor'](_0x42e6d8,_0x37c258);Object[_0x4b9e8f(_0x7c513a._0x29458b)](_0x395a8e,_0x37c258,_0x263ec1['get']?_0x263ec1:{'enumerable':!![],'get':function(){return _0x42e6d8[_0x37c258];}});}}),_0x395a8e['default']=_0x42e6d8,_0x395a8e;}var mars3d__namespace=_interopNamespace(mars3d),h337__namespace=_interopNamespace(h337);function ownKeys(_0xaf6fe6,_0x4dec51){var _0xfae862={_0x1280b3:0x228},_0x35ba96=_0x154b,_0x3d3b6c=Object['keys'](_0xaf6fe6);if(Object[_0x35ba96(_0xfae862._0x1280b3)]){var _0x3be0a7=Object[_0x35ba96(_0xfae862._0x1280b3)](_0xaf6fe6);_0x4dec51&&(_0x3be0a7=_0x3be0a7['filter'](function(_0x4dfd64){return Object['getOwnPropertyDescriptor'](_0xaf6fe6,_0x4dfd64)['enumerable'];})),_0x3d3b6c[_0x35ba96(0x1f2)]['apply'](_0x3d3b6c,_0x3be0a7);}return _0x3d3b6c;}function _objectSpread2(_0x282e65){var _0x1d6310={_0x3477b9:0x244,_0x3d3d63:0x203},_0xe828f9={_0x18bbd6:0x241},_0x578a75=_0x154b;for(var _0x1e0cc3=0x1;_0x1e0cc3<arguments['length'];_0x1e0cc3++){var _0x6d7724=null!=arguments[_0x1e0cc3]?arguments[_0x1e0cc3]:{};_0x1e0cc3%0x2?ownKeys(Object(_0x6d7724),!0x0)['forEach'](function(_0x4e3209){_defineProperty(_0x282e65,_0x4e3209,_0x6d7724[_0x4e3209]);}):Object[_0x578a75(_0x1d6310._0x3477b9)]?Object[_0x578a75(_0x1d6310._0x3d3d63)](_0x282e65,Object[_0x578a75(_0x1d6310._0x3477b9)](_0x6d7724)):ownKeys(Object(_0x6d7724))[_0x578a75(0x1f9)](function(_0x3fa1ef){var _0x43c323=_0x578a75;Object['defineProperty'](_0x282e65,_0x3fa1ef,Object[_0x43c323(_0xe828f9._0x18bbd6)](_0x6d7724,_0x3fa1ef));});}return _0x282e65;}function _classCallCheck(_0x5ee8c7,_0x307b3f){if(!(_0x5ee8c7 instanceof _0x307b3f))throw new TypeError('Cannot\x20call\x20a\x20class\x20as\x20a\x20function');}function _defineProperties(_0xb57855,_0x2c7ba5){var _0x325d8f={_0x4fc3b1:0x1f6},_0x186370=_0x154b;for(var _0x43bdc4=0x0;_0x43bdc4<_0x2c7ba5[_0x186370(_0x325d8f._0x4fc3b1)];_0x43bdc4++){var _0x83d0ef=_0x2c7ba5[_0x43bdc4];_0x83d0ef['enumerable']=_0x83d0ef['enumerable']||![],_0x83d0ef[_0x186370(0x21d)]=!![];if('value'in _0x83d0ef)_0x83d0ef[_0x186370(0x212)]=!![];Object['defineProperty'](_0xb57855,_0x83d0ef['key'],_0x83d0ef);}}function _0x31e1(){var _0x5d1ce2=['ymin','push','622559gagJgz','ctx','xmax','length','_map','configure','forEach','image','_graphic','merge','6388760ZEMdbQ','xmin','defineProperty','container','EllipsoidSurfaceAppearance','style','defineProperties','611508ChSPTD','ImageLayer','2IhXUWq','PointTrans','isFormat','StencilOperation','bumpMap','BaseLayer','addPosition','lonlat2mercator','_last_mBounds','18014360Ecxfiu','create','width','writable','Util','arcBlurScale','RectanglePrimitive','toDataURL','minCanvasSize','_layer','height','1750362toRhrK','type','round','configurable','attribute\x20vec3\x20position3DHigh;\x0a\x20\x20attribute\x20vec3\x20position3DLow;\x0a\x20\x20attribute\x20vec2\x20st;\x0a\x20\x20attribute\x20float\x20batchId;\x0a\x20\x20uniform\x20sampler2D\x20bumpMap_3;\x0a\x20\x20varying\x20vec3\x20v_positionMC;\x0a\x20\x20varying\x20vec3\x20v_positionEC;\x0a\x20\x20varying\x20vec2\x20v_st;\x0a\x0a\x20\x20void\x20main()\x0a\x20\x20{\x0a\x20\x20\x20\x20vec4\x20p\x20=\x20czm_computePosition();\x0a\x20\x20\x20\x20v_positionMC\x20=\x20position3DHigh\x20+\x20position3DLow;\x0a\x20\x20\x20\x20v_positionEC\x20=\x20(czm_modelViewRelativeToEye\x20*\x20p).xyz;\x0a\x20\x20\x20\x20v_st\x20=\x20st;\x0a\x20\x20\x20\x20vec4\x20color\x20=\x20texture2D(bumpMap_3,\x20v_st);\x0a\x20\x20\x20\x20float\x20centerBump\x20=\x20distance(vec3(0.0),color.rgb);\x0a\x20\x20\x20\x20vec3\x20upDir\x20=\x20normalize(v_positionMC.xyz);\x0a\x20\x20\x20\x20vec3\x20disPos\x20=\x20upDir\x20*\x20centerBump\x20*\x20','3232422AoYJeQ','VERTEX_FORMAT','clear','parse','_getArcHeatCanvas','addGraphic','radius','options','_renderer','getOwnPropertySymbols','_mBoundsMax','positions','45IrvGkc','Cartesian2','lat','_graphic2','uniforms','default','copyCanvas','layer','floor','_positions','lng','mercator2lonlat','fromDegrees','_rectangle','this\x20hasn\x27t\x20been\x20initialised\x20-\x20super()\x20hasn\x27t\x20been\x20called','min','graphic','DomUtil','_heat','prototype','setPositions','2212600GsuEtU','getOwnPropertyDescriptor','21zGaCqt','ymax','getOwnPropertyDescriptors','LngLatPoint','heatStyle','value'];_0x31e1=function(){return _0x5d1ce2;};return _0x31e1();}function _createClass(_0x40f274,_0x3df7ce,_0x3c31d4){var _0x38af3c=_0x154b;if(_0x3df7ce)_defineProperties(_0x40f274['prototype'],_0x3df7ce);if(_0x3c31d4)_defineProperties(_0x40f274,_0x3c31d4);return Object[_0x38af3c(0x1ff)](_0x40f274,'prototype',{'writable':![]}),_0x40f274;}function _defineProperty(_0x3594fb,_0x5aba30,_0x3ecc03){return _0x5aba30 in _0x3594fb?Object['defineProperty'](_0x3594fb,_0x5aba30,{'value':_0x3ecc03,'enumerable':!![],'configurable':!![],'writable':!![]}):_0x3594fb[_0x5aba30]=_0x3ecc03,_0x3594fb;}function _inherits(_0x42b8d0,_0x302d1e){if(typeof _0x302d1e!=='function'&&_0x302d1e!==null)throw new TypeError('Super\x20expression\x20must\x20either\x20be\x20null\x20or\x20a\x20function');_0x42b8d0['prototype']=Object['create'](_0x302d1e&&_0x302d1e['prototype'],{'constructor':{'value':_0x42b8d0,'writable':!![],'configurable':!![]}}),Object['defineProperty'](_0x42b8d0,'prototype',{'writable':![]});if(_0x302d1e)_setPrototypeOf(_0x42b8d0,_0x302d1e);}function _getPrototypeOf(_0xc59687){return _getPrototypeOf=Object['setPrototypeOf']?Object['getPrototypeOf']['bind']():function _0x436181(_0x4146e3){return _0x4146e3['__proto__']||Object['getPrototypeOf'](_0x4146e3);},_getPrototypeOf(_0xc59687);}function _setPrototypeOf(_0x3abb8d,_0x30616c){return _setPrototypeOf=Object['setPrototypeOf']?Object['setPrototypeOf']['bind']():function _0x7109fa(_0x32e9a4,_0x934bce){return _0x32e9a4['__proto__']=_0x934bce,_0x32e9a4;},_setPrototypeOf(_0x3abb8d,_0x30616c);}function _isNativeReflectConstruct(){var _0x3eee0e={_0x122986:0x23e},_0x3d3e99=_0x154b;if(typeof Reflect==='undefined'||!Reflect['construct'])return![];if(Reflect['construct']['sham'])return![];if(typeof Proxy==='function')return!![];try{return Boolean[_0x3d3e99(_0x3eee0e._0x122986)]['valueOf']['call'](Reflect['construct'](Boolean,[],function(){})),!![];}catch(_0x13ae32){return![];}}function _assertThisInitialized(_0x1d3d60){var _0x614c7a=_0x154b;if(_0x1d3d60===void 0x0)throw new ReferenceError(_0x614c7a(0x239));return _0x1d3d60;}function _possibleConstructorReturn(_0x495607,_0x12d9ef){if(_0x12d9ef&&(typeof _0x12d9ef==='object'||typeof _0x12d9ef==='function'))return _0x12d9ef;else{if(_0x12d9ef!==void 0x0)throw new TypeError('Derived\x20constructors\x20may\x20only\x20return\x20object\x20or\x20undefined');}return _assertThisInitialized(_0x495607);}function _createSuper(_0x1055be){var _0x230305=_isNativeReflectConstruct();return function _0x2999e1(){var _0x15224c=_getPrototypeOf(_0x1055be),_0x17ced4;if(_0x230305){var _0x1626ae=_getPrototypeOf(this)['constructor'];_0x17ced4=Reflect['construct'](_0x15224c,arguments,_0x1626ae);}else _0x17ced4=_0x15224c['apply'](this,arguments);return _possibleConstructorReturn(this,_0x17ced4);};}var HeatMaterial='uniform\x20sampler2D\x20image;\x0a\x0aczm_material\x20czm_getMaterial(czm_materialInput\x20materialInput)\x20{\x0a\x20\x20czm_material\x20material\x20=\x20czm_getDefaultMaterial(materialInput);\x0a\x20\x20vec2\x20st\x20=\x20materialInput.st;\x0a\x20\x20vec4\x20colorImage\x20=\x20texture2D(image,\x20st);\x0a\x20\x20if(colorImage.rgb\x20==\x20vec3(1.0)\x20||\x20colorImage.rgb\x20==\x20vec3(0.0))\x20{\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[_0x4a220e(0x210)])throw new Error('请引入\x20heatmap.js\x20库\x20');var Cesium=mars3d__namespace['Cesium'],BaseLayer=mars3d__namespace['layer'][_0x4a220e(0x20b)],DEF_HEATSTYLE={'maxOpacity':0.8,'minOpacity':0.1,'blur':0.85,'radius':0x19,'gradient':{0.4:'blue',0.6:'green',0.8:'yellow',0.9:'red'}},DEF_STYLE={'arcRadiusScale':1.5,'arcBlurScale':1.5,'vertexFormat':Cesium[_0x4a220e(0x201)][_0x4a220e(0x220)]},HeatLayer=function(_0x245f42){var _0x22d0b1={_0x209022:0x20c,_0x32a2e3:0x23f,_0x2c2a8c:0x223},_0x4f4b35={_0x45c535:0x222,_0x14a751:0x21c,_0x281710:0x227},_0x646865={_0x526535:0x1f8,_0x9efdce:0x202,_0x33bddd:0x23c},_0x563f5a={_0x5acbe3:0x1fe,_0x3f4830:0x243,_0x140a6e:0x226,_0x44804b:0x226,_0x116574:0x1fe,_0x254261:0x1f1,_0x32f636:0x243,_0x5b454f:0x23c,_0x2067e6:0x200,_0x3d79c9:0x1ef,_0x2d7327:0x1f8},_0x104738={_0x63d6bd:0x22d},_0x467148={_0x501563:0x221,_0x2211d2:0x209,_0x430b38:0x209,_0x384abf:0x202,_0x549572:0x211,_0x47e81b:0x224,_0x2d7e84:0x218},_0x471104={_0x15b361:0x221,_0x4aad22:0x215},_0x418163={_0x177c73:0x216,_0x4bb574:0x1fb,_0xa9874d:0x20a,_0x4c7e44:0x22e,_0x5d4f77:0x20a},_0x3b3576={_0x4833f9:0x218,_0x5bd728:0x1fb},_0x45c850={_0x10a405:0x234},_0xd87c2e={_0x51375d:0x200,_0x31850b:0x1f7},_0xec17b={_0x4a2b54:0x218,_0x396c00:0x226},_0x21b0a0={_0x5d18b0:0x21b,_0x173697:0x1fa,_0x2b2295:0x205},_0x591ccf={_0x34ca77:0x22a},_0xe4d09d={_0x324c5d:0x1f9},_0x2556d3={_0x341c60:0x213},_0x157a0a={_0x354993:0x202},_0x125e17={_0x20502f:0x226,_0x374c7d:0x23d,_0x19d124:0x1ef},_0x192079={_0x37e9e7:0x1ef},_0x3a7588={_0x454edd:0x218},_0x1c48e9={_0x82ca87:0x226},_0x9548f5=_0x4a220e;_inherits(_0x536288,_0x245f42);var _0x48260e=_createSuper(_0x536288);function _0x536288(){var _0x583953=_0x154b,_0xcb1de2,_0x2dcc9c,_0x5697d6,_0x2aecba=arguments[_0x583953(0x1f6)]>0x0&&arguments[0x0]!==undefined?arguments[0x0]:{};return _classCallCheck(this,_0x536288),_0x5697d6=_0x48260e['call'](this,_0x2aecba),_0x5697d6['options']['maxCanvasSize']=(_0xcb1de2=_0x5697d6['options']['maxCanvasSize'])!==null&&_0xcb1de2!==void 0x0?_0xcb1de2:document['body']['clientWidth'],_0x5697d6['options']['maxCanvasSize']=Math['min'](_0x5697d6[_0x583953(0x226)]['maxCanvasSize'],0x1388),_0x5697d6['options'][_0x583953(0x217)]=(_0x2dcc9c=_0x5697d6[_0x583953(0x226)]['minCanvasSize'])!==null&&_0x2dcc9c!==void 0x0?_0x2dcc9c:document['body']['clientHeight'],_0x5697d6['options']['minCanvasSize']=Math['max'](_0x5697d6[_0x583953(_0x1c48e9._0x82ca87)]['minCanvasSize'],0x2bc),_0x5697d6['options'][_0x583953(0x1ef)]=_objectSpread2(_objectSpread2({},DEF_HEATSTYLE),_0x5697d6['options']['heatStyle']||{}),_0x5697d6['options']['style']=_objectSpread2(_objectSpread2({},DEF_STYLE),_0x5697d6['options']['style']||{}),_0x5697d6;}return _createClass(_0x536288,[{'key':'layer','get':function _0x3d72b9(){var _0x2c9cc2=_0x154b;return this[_0x2c9cc2(_0x3a7588._0x454edd)];}},{'key':_0x9548f5(0x1ef),'get':function _0x2a0fc3(){var _0x2e88bc=_0x9548f5;return this[_0x2e88bc(0x226)][_0x2e88bc(_0x192079._0x37e9e7)];},'set':function _0x446b51(_0x327308){var _0x2ec7a1=_0x9548f5;this[_0x2ec7a1(_0x125e17._0x20502f)]['heatStyle']=mars3d__namespace['Util']['merge'](this['options']['heatStyle'],_0x327308),this[_0x2ec7a1(_0x125e17._0x374c7d)]&&(this['_heat']['configure'](this['options'][_0x2ec7a1(_0x125e17._0x19d124)]),this['_updatePositionsHook'](!![]));}},{'key':'style','get':function _0x2eb918(){var _0x13b6de=_0x9548f5;return this['options'][_0x13b6de(_0x157a0a._0x354993)];},'set':function _0x24c5c6(_0x4ef837){var _0x53fadb=_0x9548f5;this[_0x53fadb(0x226)]['style']=mars3d__namespace[_0x53fadb(_0x2556d3._0x341c60)][_0x53fadb(0x1fc)](this['options'][_0x53fadb(0x202)],_0x4ef837);}},{'key':'positions','get':function _0x214b37(){return this['_positions'];},'set':function _0x509b1b(_0x4881ae){this['setPositions'](_0x4881ae);}},{'key':'coordinates','get':function _0x47f136(){var _0x3388cf=_0x9548f5,_0x57476c=[];return this['points'][_0x3388cf(_0xe4d09d._0x324c5d)](function(_0x132e0d){_0x57476c['push'](_0x132e0d['toArray']());}),_0x57476c;}},{'key':'rectangle','get':function _0x4fb148(){return this['_rectangle'];}},{'key':'_setOptionsHook','value':function _0x379668(_0x56aec1,_0x383cee){var _0x2f7dcb=_0x9548f5;_0x56aec1[_0x2f7dcb(_0x591ccf._0x34ca77)]&&(this['positions']=_0x56aec1[_0x2f7dcb(0x22a)]);}},{'key':'_mountedHook','value':function _0x100471(){var _0x27cf71=_0x9548f5;this[_0x27cf71(0x202)][_0x27cf71(_0x21b0a0._0x5d18b0)]===_0x27cf71(_0x21b0a0._0x173697)?this['_layer']=new mars3d__namespace[(_0x27cf71(0x232))][(_0x27cf71(_0x21b0a0._0x2b2295))]({'crs':'EPSG:3857','private':!![]}):this['_layer']=new mars3d__namespace[(_0x27cf71(0x232))]['GraphicLayer']({'private':!![]});}},{'key':'_addedHook','value':function _0x446c16(){var _0x273ed3=_0x9548f5;this['_map']['addLayer'](this[_0x273ed3(_0xec17b._0x4a2b54)]),this['options'][_0x273ed3(0x22a)]&&(this[_0x273ed3(0x22a)]=this[_0x273ed3(_0xec17b._0x396c00)]['positions']),this['options']['flyTo']&&this['flyToByAnimationEnd']();}},{'key':'_removedHook','value':function _0xe7a09f(){var _0x5bab8c=_0x9548f5;this['heatStyle']['container']&&(mars3d__namespace['DomUtil']['remove'](this['heatStyle'][_0x5bab8c(0x200)]),delete this[_0x5bab8c(0x1ef)][_0x5bab8c(_0xd87c2e._0x51375d)]),this['clear'](),this[_0x5bab8c(_0xd87c2e._0x31850b)]['removeLayer'](this['_layer']);}},{'key':_0x9548f5(_0x22d0b1._0x209022),'value':function _0x1a747e(_0x1d88f4,_0x58658c){var _0x504eea=_0x9548f5;this['_positions']=this[_0x504eea(_0x45c850._0x10a405)]||[],this[_0x504eea(_0x45c850._0x10a405)]['push'](_0x1d88f4),this['_updatePositionsHook'](_0x58658c);}},{'key':_0x9548f5(_0x22d0b1._0x32a2e3),'value':function _0x45f890(_0x43d6cd,_0x378d25){this['_positions']=_0x43d6cd,this['_updatePositionsHook'](_0x378d25);}},{'key':'clear','value':function _0x17e3bc(){var _0x57984a=_0x9548f5;this['_graphic']&&(this[_0x57984a(_0x3b3576._0x4833f9)]['removeGraphic'](this[_0x57984a(_0x3b3576._0x5bd728)],!![]),delete this['_graphic']),this['_graphic2']&&(this['_layer']['removeGraphic'](this['_graphic2'],!![]),delete this['_graphic2']);}},{'key':'_updatePositionsHook','value':function _0x33a79d(_0x4c20f7){var _0x16a227=_0x9548f5;if(!this['show']||!this['_map']||!this['positions']||this['positions']['length']===0x0)return this;var _0x2223db=this['_getHeatCanvas']();if(this['style']['type']==='image')this['_layer']['setOptions']({'url':_0x2223db[_0x16a227(_0x418163._0x177c73)]('image/png'),'rectangle':this['_rectangle'],'opacity':this['style']['opacity']});else this['style']['arc']?this['_graphic']&&_0x4c20f7?(this[_0x16a227(_0x418163._0x4bb574)]['uniforms']['image']=_0x2223db,this['_graphic'][_0x16a227(0x22f)][_0x16a227(_0x418163._0xa9874d)]=this['_getArcHeatCanvas'](),this['_graphic2']&&(this['_graphic2']['uniforms']['image']=_0x2223db,this[_0x16a227(_0x418163._0x4c7e44)]['uniforms']['bumpMap']=this['_graphic']['uniforms'][_0x16a227(_0x418163._0x5d4f77)])):this['_createArcGraphic'](_0x2223db):this[_0x16a227(_0x418163._0x4bb574)]&&_0x4c20f7?this['_graphic']['uniforms']['image']=_0x2223db:this['_createGraphic'](_0x2223db);return this;}},{'key':'_createGraphic','value':function _0x34f23f(_0x254637){var _0x13d61f=_0x9548f5;this[_0x13d61f(_0x471104._0x15b361)](),this[_0x13d61f(0x1fb)]=new mars3d__namespace[(_0x13d61f(0x23b))][(_0x13d61f(_0x471104._0x4aad22))](_objectSpread2(_objectSpread2({},this['options']),{},{'rectangle':this['_rectangle'],'appearance':new Cesium['EllipsoidSurfaceAppearance']({'material':new Cesium['Material']({'fabric':{'uniforms':{'image':_0x254637},'source':HeatMaterial},'translucent':!![]}),'flat':!![]})})),this['_layer']['addGraphic'](this['_graphic']);}},{'key':'_createArcGraphic','value':function _0x3256a6(_0x4afadc){var _0x5c4c46=_0x9548f5,_0x38cb7f;this[_0x5c4c46(_0x467148._0x501563)]();var _0x2eaa50=Cesium['RenderState']['fromCache']({'cull':{'enabled':!![]},'depthTest':{'enabled':!![]},'stencilTest':{'enabled':!![],'frontFunction':Cesium['StencilFunction']['ALWAYS'],'frontOperation':{'fail':Cesium['StencilOperation']['KEEP'],'zFail':Cesium['StencilOperation']['KEEP'],'zPass':Cesium[_0x5c4c46(0x209)]['REPLACE']},'backFunction':Cesium['StencilFunction']['ALWAYS'],'backOperation':{'fail':Cesium['StencilOperation']['KEEP'],'zFail':Cesium[_0x5c4c46(_0x467148._0x2211d2)]['KEEP'],'zPass':Cesium[_0x5c4c46(_0x467148._0x430b38)]['REPLACE']},'reference':0x2,'mask':0x2},'blending':Cesium['BlendingState']['ALPHA_BLEND']}),_0x3c47f1=Math[_0x5c4c46(0x233)]((_0x38cb7f=this['style']['diffHeight'])!==null&&_0x38cb7f!==void 0x0?_0x38cb7f:this['_mBoundsMax']*0.02)+0.1;this[_0x5c4c46(0x202)]['diffHeight']&&delete this[_0x5c4c46(_0x467148._0x384abf)]['diffHeight'];var _0xb65a7a=(this['style']['splitNum'],0x64),_0xec956=Math['max'](this['_rectangle'][_0x5c4c46(0x219)],this['_rectangle'][_0x5c4c46(_0x467148._0x549572)]);this['style']['granularity']=_0xec956/=_0xb65a7a;var _0x2b1e4a=new Cesium['Material']({'fabric':{'uniforms':{'image':_0x4afadc,'repeat':new Cesium[(_0x5c4c46(0x22c))](0x1,0x1),'color':new Cesium['Color'](0x1,0x1,0x1,0x0),'bumpMap':this['_getArcHeatCanvas']()},'source':HeatMaterial},'translucent':!![]}),_0x5b7941=this[_0x5c4c46(0x202)]['arcDirection']||0x1;this['_graphic']=new mars3d__namespace['graphic']['RectanglePrimitive'](_objectSpread2(_objectSpread2({},this['options']),{},{'rectangle':this[_0x5c4c46(0x238)],'appearance':new Cesium['EllipsoidSurfaceAppearance']({'flat':!![],'aboveGround':!![],'renderState':_0x2eaa50,'material':_0x2b1e4a,'vertexShaderSource':getVertexShaderSource(_0x3c47f1*_0x5b7941)})})),this['_layer'][_0x5c4c46(_0x467148._0x47e81b)](this['_graphic']),this[_0x5c4c46(_0x467148._0x384abf)]['arcDirection']===0x0&&(this['_graphic2']=new mars3d__namespace['graphic']['RectanglePrimitive'](_objectSpread2(_objectSpread2({},this['options']),{},{'rectangle':this['_rectangle'],'appearance':new Cesium['EllipsoidSurfaceAppearance']({'flat':!![],'aboveGround':!![],'renderState':_0x2eaa50,'material':_0x2b1e4a,'vertexShaderSource':getVertexShaderSource(-_0x3c47f1)})})),this[_0x5c4c46(_0x467148._0x2d7e84)]['addGraphic'](this['_graphic2']));}},{'key':'getRectangle','value':function _0x2f2402(_0x15e07a){var _0x1f7f6e=_0x9548f5;return _0x15e07a!==null&&_0x15e07a!==void 0x0&&_0x15e07a[_0x1f7f6e(0x208)]&&this['_rectangle']?mars3d__namespace['PolyUtil']['formatRectangle'](this['_rectangle']):this[_0x1f7f6e(0x238)];}},{'key':'_getHeatCanvas','value':function _0x4df24f(){var _0xb7d5c9={_0x1c97e9:0x1f0,_0x1081c5:0x23a,_0xd69a0c:0x235},_0x395127=_0x9548f5,_0x142233=this,_0x6d395a,_0x5e0934,_0x2ccf2a,_0x2d3d94,_0xbfa73a=this['_positions'],_0x3f1454=[],_0x321222,_0x4d11ac,_0x130a7a,_0x21406e;_0xbfa73a['forEach'](function(_0x388009){var _0x4a26f8=_0x154b,_0x26eaf7=mars3d__namespace['LngLatPoint'][_0x4a26f8(0x222)](_0x388009);if(!_0x26eaf7)return;_0x26eaf7['value']=_0x388009[_0x4a26f8(_0xb7d5c9._0x1c97e9)]||0x1,!_0x142233['options']['rectangle']&&(_0x321222===undefined?(_0x321222=_0x26eaf7['lng'],_0x4d11ac=_0x26eaf7['lng'],_0x130a7a=_0x26eaf7['lat'],_0x21406e=_0x26eaf7[_0x4a26f8(0x22d)]):(_0x321222=Math[_0x4a26f8(_0xb7d5c9._0x1081c5)](_0x321222,_0x26eaf7['lng']),_0x4d11ac=Math['max'](_0x4d11ac,_0x26eaf7[_0x4a26f8(_0xb7d5c9._0xd69a0c)]),_0x130a7a=Math['min'](_0x130a7a,_0x26eaf7['lat']),_0x21406e=Math['max'](_0x21406e,_0x26eaf7[_0x4a26f8(0x22d)]))),_0x3f1454['push'](_0x26eaf7);});var _0x1689a9=this['options']['rectangle']||{'xmin':_0x321222,'xmax':_0x4d11ac,'ymin':_0x130a7a,'ymax':_0x21406e},_0x736cdf=getMercatorBounds(_0x1689a9),_0x3f437f=Math['abs'](_0x736cdf[_0x395127(0x1f5)]-_0x736cdf[_0x395127(_0x563f5a._0x5acbe3)]),_0x670fdd=Math['abs'](_0x736cdf[_0x395127(_0x563f5a._0x3f4830)]-_0x736cdf['ymin']),_0x515897=Math['max'](_0x3f437f,_0x670fdd),_0x4641b3=Math[_0x395127(0x23a)](_0x3f437f,_0x670fdd);this[_0x395127(0x229)]=_0x515897;var _0x142910=0x1;if(_0x515897>this['options']['maxCanvasSize'])_0x142910=_0x515897/this[_0x395127(0x226)]['maxCanvasSize'],_0x4641b3/_0x142910<this['options'][_0x395127(0x217)]&&(_0x142910=_0x4641b3/this[_0x395127(_0x563f5a._0x140a6e)]['minCanvasSize']);else _0x4641b3<this[_0x395127(_0x563f5a._0x44804b)]['minCanvasSize']&&(_0x142910=_0x4641b3/this['options']['minCanvasSize'],_0x515897/_0x142910>this[_0x395127(_0x563f5a._0x140a6e)]['maxCanvasSize']&&(_0x142910=_0x515897/this[_0x395127(0x226)]['maxCanvasSize']));var _0x571507=this[_0x395127(0x1ef)]['radius']*1.5,_0x1b0082=_0x3f437f/_0x142910+_0x571507*0x2,_0x3bef89=_0x670fdd/_0x142910+_0x571507*0x2,_0x52ae47=_0x571507*_0x142910;_0x736cdf['xmin']-=_0x52ae47,_0x736cdf['ymin']-=_0x52ae47,_0x736cdf['xmax']+=_0x52ae47,_0x736cdf[_0x395127(0x243)]+=_0x52ae47,this['_scale']=_0x142910,_0x1689a9=geLatLngBounds(_0x736cdf),this['_rectangle']=Cesium['Rectangle'][_0x395127(0x237)](_0x1689a9[_0x395127(_0x563f5a._0x116574)],_0x1689a9[_0x395127(_0x563f5a._0x254261)],_0x1689a9[_0x395127(0x1f5)],_0x1689a9['ymax']);var _0x149337=(_0x6d395a=_0x3f1454[0x0]['value'])!==null&&_0x6d395a!==void 0x0?_0x6d395a:0x1,_0x39d636=(_0x5e0934=_0x3f1454[0x0]['value'])!==null&&_0x5e0934!==void 0x0?_0x5e0934:0x0,_0x14a966=[];_0x3f1454[_0x395127(0x1f9)](function(_0x1c5e2e){var _0x553913=_0x395127,_0x5dd17b=mars3d__namespace['PointTrans'][_0x553913(0x20d)]([_0x1c5e2e['lng'],_0x1c5e2e[_0x553913(_0x104738._0x63d6bd)]]),_0x49526d=_0x1c5e2e['value']||0x1,_0x71b72f=Math['round']((_0x5dd17b[0x0]-_0x736cdf['xmin'])/_0x142910),_0x42e1cc=Math[_0x553913(0x21c)]((_0x736cdf['ymax']-_0x5dd17b[0x1])/_0x142910);_0x149337=Math['max'](_0x149337,_0x49526d),_0x39d636=Math['min'](_0x39d636,_0x49526d),_0x14a966['push']({'x':_0x71b72f,'y':_0x42e1cc,'value':_0x49526d});});var _0x2983c2={'min':(_0x2ccf2a=this['options']['min'])!==null&&_0x2ccf2a!==void 0x0?_0x2ccf2a:_0x39d636,'max':(_0x2d3d94=this[_0x395127(_0x563f5a._0x140a6e)]['max'])!==null&&_0x2d3d94!==void 0x0?_0x2d3d94:_0x149337,'data':_0x14a966};this['_last_heatData']=_0x2983c2;(!this['_last_mBounds']||_0x736cdf['xmin']!==this['_last_mBounds']['xmin']||_0x736cdf['ymin']!==this[_0x395127(0x20e)][_0x395127(_0x563f5a._0x254261)]||_0x736cdf['xmax']!==this[_0x395127(0x20e)]['xmax']||_0x736cdf[_0x395127(_0x563f5a._0x32f636)]!==this['_last_mBounds']['ymax'])&&(this['_last_mBounds']=_0x736cdf,!this[_0x395127(0x1ef)]['container']&&(this['heatStyle']['container']=mars3d__namespace[_0x395127(_0x563f5a._0x5b454f)][_0x395127(0x210)]('div','mars3d-heatmap\x20mars3d-hideDiv',this['_map'][_0x395127(_0x563f5a._0x2067e6)])),this['heatStyle']['container']['style']['cssText']='width:'['concat'](_0x1b0082,'px;height:')['concat'](_0x3bef89,'px;'),!this['_heat']?this['_heat']=h337__namespace['create'](this[_0x395127(_0x563f5a._0x3d79c9)]):this['_heat'][_0x395127(_0x563f5a._0x2d7327)](this['heatStyle']));this[_0x395127(0x23d)]['setData'](_0x2983c2);var _0x1589c2=mars3d__namespace[_0x395127(_0x563f5a._0x5b454f)][_0x395127(0x231)](this['_heat']['_renderer']['canvas']);return _0x1589c2;}},{'key':_0x9548f5(_0x22d0b1._0x2c2a8c),'value':function _0x22e180(){var _0x276ef6=_0x9548f5;this['_heat'][_0x276ef6(_0x646865._0x526535)]({'radius':this['heatStyle'][_0x276ef6(0x225)]*this['style']['arcRadiusScale'],'blur':this['heatStyle']['blur']*this[_0x276ef6(_0x646865._0x9efdce)][_0x276ef6(0x214)],'gradient':this['heatStyle']['gradientArc']||{0.25:'rgb(0,0,0)',0.55:'rgb(140,140,140)',0.85:'rgb(216,216,216)',0x1:'rgb(255,255,255)'}});var _0x1efc19=mars3d__namespace[_0x276ef6(_0x646865._0x33bddd)]['copyCanvas'](this['_heat']['_renderer']['canvas']);return this['_heat']['configure'](this[_0x276ef6(0x226)]['heatStyle']),_0x1efc19;}},{'key':'getPointData','value':function _0x4ff212(_0x2f9c30){var _0x501cd1=_0x9548f5,_0xd72428=mars3d__namespace[_0x501cd1(0x1ee)][_0x501cd1(_0x4f4b35._0x45c535)](_0x2f9c30);if(!_0xd72428)return{};var _0x52723d=mars3d__namespace['PointTrans']['lonlat2mercator']([_0xd72428['lng'],_0xd72428['lat']]),_0x55f05c=this['_last_mBounds'],_0x1872c0=Math[_0x501cd1(_0x4f4b35._0x14a751)]((_0x52723d[0x0]-_0x55f05c[_0x501cd1(0x1fe)])/this['_scale']),_0x1b3116=Math[_0x501cd1(0x21c)]((_0x55f05c['ymax']-_0x52723d[0x1])/this['_scale']),_0x4e1208=this[_0x501cd1(0x23d)]['getValueAt']({'x':_0x1872c0,'y':_0x1b3116}),_0x2f2de7=this['_heat'][_0x501cd1(_0x4f4b35._0x281710)][_0x501cd1(0x1f4)]['getImageData'](_0x1872c0-0x1,_0x1b3116-0x1,0x1,0x1)['data'];return{'x':_0x1872c0,'y':_0x1b3116,'value':_0x4e1208,'color':'rgba('+_0x2f2de7[0x0]+','+_0x2f2de7[0x1]+','+_0x2f2de7[0x2]+','+_0x2f2de7[0x3]+')'};}}]),_0x536288;}(BaseLayer);mars3d__namespace[_0x4a220e(0x232)]['HeatLayer']=HeatLayer,mars3d__namespace['LayerUtil']['register']('heat',HeatLayer);function getMercatorBounds(_0x21ce6f){var _0x36d409=_0x4a220e,_0x61ac7c=mars3d__namespace[_0x36d409(0x207)]['lonlat2mercator']([_0x21ce6f['xmin'],_0x21ce6f[_0x36d409(0x1f1)]]),_0x99482c=mars3d__namespace['PointTrans']['lonlat2mercator']([_0x21ce6f['xmax'],_0x21ce6f['ymax']]);return{'xmin':_0x61ac7c[0x0],'ymin':_0x61ac7c[0x1],'xmax':_0x99482c[0x0],'ymax':_0x99482c[0x1]};}function _0x154b(_0x479349,_0x55414c){var _0x31e14a=_0x31e1();return _0x154b=function(_0x154b2a,_0x4ed00b){_0x154b2a=_0x154b2a-0x1ee;var _0x1d41ef=_0x31e14a[_0x154b2a];return _0x1d41ef;},_0x154b(_0x479349,_0x55414c);}function geLatLngBounds(_0x80ea45){var _0x1ccdb9={_0x33bfb7:0x236,_0x424104:0x236,_0x309581:0x1f5},_0x57f77b=_0x4a220e,_0x584f4d=mars3d__namespace['PointTrans'][_0x57f77b(_0x1ccdb9._0x33bfb7)]([_0x80ea45['xmin'],_0x80ea45[_0x57f77b(0x1f1)]]),_0x270f66=mars3d__namespace['PointTrans'][_0x57f77b(_0x1ccdb9._0x424104)]([_0x80ea45[_0x57f77b(_0x1ccdb9._0x309581)],_0x80ea45['ymax']]);return{'xmin':_0x584f4d[0x0],'ymin':_0x584f4d[0x1],'xmax':_0x270f66[0x0],'ymax':_0x270f66[0x1]};}function getVertexShaderSource(_0x14a849){var _0x210e74={_0x57d511:0x21e},_0x26f830=_0x4a220e;return _0x26f830(_0x210e74._0x57d511)['concat'](_0x14a849,';\x0a\x20\x20\x20\x20p\x20+=vec4(disPos,0.0);\x0a\x20\x20\x20\x20gl_Position\x20=\x20czm_modelViewProjectionRelativeToEye\x20*\x20p;\x0a\x20\x20}\x0a');}exports['HeatLayer']=HeatLayer,Object[_0x4a220e(0x1ff)](exports,'__esModule',{'value':!![]});
}));
{
"name": "mars3d-heatmap",
"version": "3.4.18",
"version": "3.4.19",
"description": "Mars3D平台插件,结合heatmap可视化功能插件",

@@ -13,3 +13,3 @@ "main": "dist/mars3d-heatmap.js",

"devDependencies": {
"mars3d": "~3.4.18"
"mars3d": "~3.4.19"
},

@@ -16,0 +16,0 @@ "scripts": {

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc