|
|
@@ -106,13 +106,14 @@ export default {
|
|
|
img_entity = new Cesium.CustomDataSource("img_entity");
|
|
|
viewer.dataSources.add(img_entity);
|
|
|
});
|
|
|
+ // this.bus.$on("setDepthAgainst", (val) => (this.depthAgainst = val));
|
|
|
},
|
|
|
methods: {
|
|
|
geturl(url) {
|
|
|
return window.axiosURI + "/file/upload/attachment" + url;
|
|
|
},
|
|
|
getData() {
|
|
|
- getgdUav({ tilt: 80.0, height: 100.0 }).then((res) => {
|
|
|
+ getgdUav({ tilt: 80.0, height: 300.0 }).then((res) => {
|
|
|
this.uavlsit = res.data;
|
|
|
});
|
|
|
},
|
|
|
@@ -159,7 +160,7 @@ export default {
|
|
|
}
|
|
|
if (routes) {
|
|
|
routes.isLineVisible = chekpath;
|
|
|
- routes.isStopVisible = chekpath;
|
|
|
+ routes.isStopVisible = false;
|
|
|
}
|
|
|
},
|
|
|
getEntities(item, uavitem) {
|
|
|
@@ -292,8 +293,8 @@ export default {
|
|
|
// var allStops = flyManager.getAllRouteStops();
|
|
|
// flyManager.viewToStop(allStops[allStops.length - 1]);
|
|
|
flyManagers[uavitem.id] && flyManagers[uavitem.id].stop();
|
|
|
- img_entity.entities.values.forEach((ent) => {
|
|
|
- img_entity.entities.remove(ent);
|
|
|
+ this.$nextTick(() => {
|
|
|
+ img_entity.entities.removeAll();
|
|
|
});
|
|
|
this.flyid = "";
|
|
|
removeGeoJSON("flytb");
|