|
|
@ -349,7 +349,15 @@ export default { |
|
|
|
}, |
|
|
|
watch: { |
|
|
|
shibeiAId(value) { |
|
|
|
} |
|
|
|
}, |
|
|
|
srcGridData(val, oldValue) { |
|
|
|
if (oldValue == null) { |
|
|
|
this.iniMap(); |
|
|
|
} else { |
|
|
|
this.updateGrid(); |
|
|
|
} |
|
|
|
this.zoomInABit(); |
|
|
|
}, |
|
|
|
}, |
|
|
|
methods: { |
|
|
|
handleClickTabs(val){ |
|
|
@ -732,7 +740,7 @@ export default { |
|
|
|
logoVisible: false, |
|
|
|
map: myMap, |
|
|
|
}); |
|
|
|
scene.on("loaded", async () => { |
|
|
|
scene.on("loaded", () => { |
|
|
|
this.iniMapGrid(shibeiJson); |
|
|
|
}); |
|
|
|
}, |
|
|
@ -742,24 +750,6 @@ export default { |
|
|
|
if (this.mapStyleType == "light") { |
|
|
|
styleConfig = lightStyle; |
|
|
|
} |
|
|
|
|
|
|
|
// lineLayerBig = new LineLayer({ |
|
|
|
// zIndex: 6, |
|
|
|
// name: "line2", |
|
|
|
// }) |
|
|
|
// .source(shibeiJson1) |
|
|
|
// .shape("wall") |
|
|
|
// .size(50) |
|
|
|
// .color('rgb(163, 255, 245)') |
|
|
|
// .style({ |
|
|
|
// opacity: 1, |
|
|
|
// raisingHeight: 600, |
|
|
|
// sourceColor: 'rgb(0, 153, 188,0.5)', |
|
|
|
// targetColor: 'rgb(0, 153, 188)', |
|
|
|
// linearDir: 'algin', |
|
|
|
|
|
|
|
// }) |
|
|
|
// scene.addLayer(lineLayerBig); |
|
|
|
// 画区域面积 |
|
|
|
polygonLayer = new PolygonLayer({ |
|
|
|
autoFit: true, |
|
|
@ -776,7 +766,7 @@ export default { |
|
|
|
}, |
|
|
|
opacity: 0.8, |
|
|
|
heightfixed: true, |
|
|
|
raisingHeight: 300, |
|
|
|
// raisingHeight: 300, |
|
|
|
sourceColor: '#4ee8fc', |
|
|
|
targetColor: '#00284e', |
|
|
|
}); |
|
|
@ -794,7 +784,7 @@ export default { |
|
|
|
.color("name", styleConfig.lineColor) |
|
|
|
.style({ |
|
|
|
opacity: 1, |
|
|
|
raisingHeight: 600, |
|
|
|
raisingHeight: 300, |
|
|
|
}) |
|
|
|
.animate({ |
|
|
|
interval: 1, // 间隔 |
|
|
@ -932,7 +922,10 @@ export default { |
|
|
|
delete f.subId |
|
|
|
delete f.subName |
|
|
|
}) |
|
|
|
this.iniMapGrid(obj) |
|
|
|
this.iniMapGrid(obj) |
|
|
|
|
|
|
|
if(this.level == 'community'){ |
|
|
|
} |
|
|
|
}).catch(f => { |
|
|
|
console.log(f); |
|
|
|
}) |
|
|
|