| | |
| | | }) |
| | | |
| | | if (e == true) { |
| | | if(this.userInfo.dept_id == '1123598813738675201'){ |
| | | if (this.userInfo.dept_id == '1123598813738675201') { |
| | | //分局定位 |
| | | initMapPosition() |
| | | } |
| | | else{ |
| | | else { |
| | | //其他派出所定位 |
| | | const center = this.getAllRegionCenter(this.areaOptions) |
| | | |
| | |
| | | |
| | | if (e == true) { |
| | | |
| | | if(this.userInfo.dept_id == '1123598813738675201'){ |
| | | if (this.userInfo.dept_id == '1123598813738675201') { |
| | | //分局定位 |
| | | initMapPosition() |
| | | } |
| | | else{ |
| | | else { |
| | | //其他派出所定位 |
| | | const center = this.getAllRegionCenter(this.areaOptions) |
| | | |
| | |
| | | sitePitch: -45 |
| | | }) |
| | | } |
| | | |
| | | |
| | | |
| | | this.getEquipmentAll({ type: 1, deptId: this.policeStaionID == '' ? this.userInfo.dept_id : this.policeStaionID }) |
| | | } |
| | |
| | | type: 'ClusterLayer' |
| | | }) |
| | | |
| | | this.$EventBus.$emit('mapRemoveLayer', { |
| | | layerName: 'keypeopleslayer', |
| | | type: 'ClusterLayer' |
| | | }) |
| | | |
| | | this.$EventBus.$emit('mapRemoveLayer', { |
| | | layerName: 'schoolJSONlayer', |
| | | type: 'ClusterLayer' |
| | | }) |
| | | |
| | | if (cylinderLayer != null) { |
| | | cylinderLayer.remove() |
| | | cylinderLayer = null |