全部摄像头上图修改

This commit is contained in:
chenchenzai 2022-11-22 11:24:47 +08:00
parent 089716c2a8
commit 57b89687d1
3 changed files with 4 additions and 2 deletions

View File

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

View File

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

View File

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