临时提交

This commit is contained in:
lin
2025-10-16 18:07:36 +08:00
parent ac92237e08
commit dd0a760d8a
11 changed files with 40 additions and 21 deletions

View File

@@ -264,6 +264,7 @@ export default {
this.closeInfoBox()
this.$store.dispatch('commonChanel/getAllForMap', {}).then(data => {
cameraListForSource = data
console.log(data.length)
let minLng = data[0].gbLongitude
let maxLng = data[0].gbLongitude
let minLat = data[0].gbLatitude
@@ -294,7 +295,7 @@ export default {
}
}
cameraList.push(cameraData)
if (item.mapLevel) {
if (item.mapLevel) {
if (cameraListForLevelMap.has(item.mapLevel)) {
let list = cameraListForLevelMap.get(item.mapLevel)
list.push(cameraData)
@@ -350,6 +351,7 @@ export default {
if (this.channelLayer) {
this.channelLayer = this.$refs.mapComponent.updatePointLayer(this.channelLayer, cameraList, true)
}else {
console.log(cameraList.length)
this.channelLayer = this.$refs.mapComponent.addPointLayer(cameraList, clientEvent, null)
}
break