|
@@ -24,6 +24,7 @@ import { pointService } from "../Service/PointService.js";
|
|
|
import Settings from "../Settings.js";
|
|
|
import { addPoint } from "./AddPoint.js";
|
|
|
import { ellipticService } from "../Service/EllipticService.js";
|
|
|
+import { curveRoadPointService } from "../Service/CurveRoadPointService.js";
|
|
|
|
|
|
export default class UIControl {
|
|
|
constructor(layer, newsletter, graphicStateUI) {
|
|
@@ -108,6 +109,8 @@ export default class UIControl {
|
|
|
}
|
|
|
}
|
|
|
|
|
|
+ updateVectorForSelectUI(selectUI) {}
|
|
|
+
|
|
|
async handleGeo(action) {
|
|
|
let needAutoRedraw = false;
|
|
|
const item = stateService.getFocusItem();
|
|
@@ -136,6 +139,9 @@ export default class UIControl {
|
|
|
case VectorType.Point:
|
|
|
pointService.deletePoint(vectorId);
|
|
|
break;
|
|
|
+ case VectorType.CurveRoadPoint:
|
|
|
+ curveRoadPointService.deletePoint(vectorId);
|
|
|
+ break;
|
|
|
case VectorType.Line:
|
|
|
dataService.deleteLine(vectorId);
|
|
|
if (vectorId == Settings.baseLineId) {
|