(this.webpackJsonp=this.webpackJsonp||[]).push([["chunk-379f"],{"5cY9":function(e,t,i){},"8dKm":function(e,t,i){"use strict";var o=i("5cY9");i.n(o).a},D9zV:function(e,t,i){"use strict";i.r(t);var o=i("omC7"),a=i.n(o),n=i("pckY"),s=i("1V/b"),r=i("KRny"),l=i("7feF"),c=i("UzrJ"),u={name:"App",components:{Map:n.a,Tab:s.a},data:function(){return{activeName:"first",loaded:!1,map:null,option:null,heatLayer:null,shineishiwai:!0,colorMapList:[],type:1}},mounted:function(){this.option={viewpoint:{y:31.254992,x:120.727592,z:289.24,heading:13.8,pitch:-37.3,roll:360},homeButton:!0,currentTime:"08:30:00",imageryProvider:new Cesium.WebMapTileServiceImageryProvider({url:"https://services.arcgisonline.com/ArcGIS/rest/services/World_Imagery/MapServer",layer:"",style:"default",tileMatrixSetID:"w",format:"tiles",maximumLevel:18})},window.sss=this},methods:{init:function(e){this.loaded=!0,e.addModel({link:"http://222.92.213.22:8006/b3dm60/tileset.json",name:"60万吨模型图",modifyZ:-1340,callback:function(e){var t=e.boundingSphere,i=Cesium.Cartographic.fromCartesian(t.center),o=Cesium.Cartesian3.fromRadians(i.longitude,i.latitude,0),a=Cesium.Cartesian3.fromRadians(i.longitude,i.latitude,102),n=Cesium.Cartesian3.subtract(a,o,new Cesium.Cartesian3);e.modelMatrix=Cesium.Matrix4.fromTranslation(n)}}),e.viewer.scene.globe.baseColor=Cesium.Color.fromCssColorString("#050F1F"),e.viewer.scene.logarithmicDepthBuffer=!1,e.viewer.scene.globe.enableLighting=!0,e.viewer.scene.sun.show=!1,e.viewer.scene.moon.show=!1,e.viewer.scene.fog.enabled=!1,e.viewer.scene.skyBox=null,this.initEvent(e),this.testLoadedData(),this.loadLabel()},loadLabel:function(){var e=r.c.map;if(e){var t=new Date,i={type:"FeatureCollection",features:[{type:"Feature",properties:{type:"billboard",style:{image:"../../../../../../public/images/wet.png",scale:.25},attr:{name:"垃圾车",id:"1a9c592a-8290-49ad-a23c-6ff92f841f78"}},geometry:{type:"Point",coordinates:[81.78196,41.835623,118.26]}}]},o=t.getFullYear()+"-"+(t.getMonth()+1)+"-"+t.getDate()+" "+(t.getHours()-2)+":"+t.getMinutes()+":"+t.getSeconds();Object(c.c)(o).then(function(e){i.features[0].geometry.coordinates=[]}),e.loadGeoJSON(i)}},testLoadedData:function(){var e=this,t=r.c.map;if(t){var i={eType:1};Object(c.d)(i).then(function(i){var o;e.colorMapList=i.data.result,o={type:"FeatureCollection",features:i.data.result.map(function(e){return{type:e.type,geometry:JSON.parse(e.geometry),properties:JSON.parse(e.properties)}})},t.loadGeoJSON(o)})}},testLoaded:function(){var e=this;if(r.c.map){var t={eType:2};Object(c.d)(t).then(function(t){e.colorMapList=JSON.parse(a()(t.data.result))})}},initEvent:function(e){var t=null,i=this;e.on("click",function(o){var a=o.position,n=o.cartesian3,s=(o.latLngPositionGlobe,o.latLngPosition,o.entity),r=o.attr;t&&(t.destroy(),t=null),s&&s.attribute&&s.attribute.type&&((t=new wutu3d.DivPoint(e.viewer,{html:"