Compare commits

..

2 Commits

Author SHA1 Message Date
chenchenzai 381eb8ac1e Merge branch 'hi-ucs-dev' of http://192.168.124.50:3000/wuhongjian/hi-ucs into hi-ucs-dev 2022-11-22 11:25:07 +08:00
chenchenzai 57b89687d1 全部摄像头上图修改 2022-11-22 11:24:47 +08:00
3 changed files with 4 additions and 2 deletions

View File

@ -83,11 +83,12 @@ function createMarkerClusterLayer(layerClassName, mapObj) {
maxClusterRadius: 80, maxClusterRadius: 80,
}) })
markerClusterLayer.on('clusterclick', function(a) { markerClusterLayer.on('clusterclick', function(a) {
//console.log('cluster ' + a.layer.getAllChildMarkers().length); //console.log('cluster ' + a.layer.getAllChildMarkers());
if (a.layer.getAllChildMarkers().length < 50) { if (a.layer.getAllChildMarkers().length < 50) {
let clusterList = []; let clusterList = [];
for (var i = 0; i < a.layer.getAllChildMarkers().length; i++) { for (var i = 0; i < a.layer.getAllChildMarkers().length; i++) {
//console.log('yyyyyyyyy', a.layer.getAllChildMarkers()[i].resourceData); //console.log('yyyyyyyyy', a.layer.getAllChildMarkers()[i].resourceData);
//console.log('yyyyyyyyy', a.layer.getAllChildMarkers()[i].fData);
clusterList.push(a.layer.getAllChildMarkers()[i].resourceData); clusterList.push(a.layer.getAllChildMarkers()[i].resourceData);
} }
//console.log('clusterList ' + a.layer.getAllChildMarkers(array, true)); //console.log('clusterList ' + a.layer.getAllChildMarkers(array, true));

View File

@ -67,6 +67,7 @@ import { message } from 'ant-design-vue'
handler(newVal, oldVal) { handler(newVal, oldVal) {
console.log('oldVal:', oldVal) console.log('oldVal:', oldVal)
console.log('newVal:', newVal) console.log('newVal:', newVal)
//this.realplay(newVal,0);
}, },
// //
immediate: true immediate: true

View File

@ -551,7 +551,7 @@ import { ElMessage } from 'element-plus'
let params = { let params = {
regionId: "70be8c5b664f4bcf869d82f2e8335051", regionId: "70be8c5b664f4bcf869d82f2e8335051",
pageNum: "1", pageNum: "1",
pageSize: 30000, pageSize: 40000,
type: 0, type: 0,
borderPolygonList: [] borderPolygonList: []
} }