|
@@ -605,6 +605,10 @@ export default {
|
|
|
} else if (tdsy.layersObj[newVal]) {
|
|
|
// tdsy.layersObj[newVal].show = true;
|
|
|
}
|
|
|
+ if (oldVal && layerSources[oldVal]) {
|
|
|
+ viewer.dataSources.remove(layerSources[oldVal]);
|
|
|
+ layerSources[oldVal] = null;
|
|
|
+ }
|
|
|
console.log(newVal, oldVal, "----");
|
|
|
},
|
|
|
computed_vectorData(newVal, oldVal) {
|
|
@@ -713,7 +717,7 @@ div::-webkit-scrollbar {
|
|
|
border-radius: 4px;
|
|
|
top: 10px !important;
|
|
|
position: absolute;
|
|
|
- right: 20px;
|
|
|
+ right: 10px;
|
|
|
}
|
|
|
|
|
|
.PangetitleVector {
|