Skip to content

Commit 6a38286

Browse files
committed
【SDK】【service】【修改路径】
1 parent c30a19c commit 6a38286

17 files changed

+24
-23
lines changed

src/service/3DPlot/Draw/DrawPlotObjectFactory3D.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
* @LastEditors: zk
77
* @LastEditTime: 2022-06-28 09:52:39
88
*/
9-
import SimpleFactory from "../../../service/PlotUtilBase/SimpleFactory";
9+
import SimpleFactory from "../../PlotUtilBase/SimpleFactory";
1010
import DrawPoint from "./DrawPoint";
1111
import DrawPolyline from "./DrawPolyline";
1212

src/service/3DPlot/Draw/DrawPoint.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import DrawObject from "../../../service/PlotBase/Draw/DrawObject";
1+
import DrawObject from "../../PlotBase/Draw/DrawObject";
22
import {PrimitiveFactory} from "../Primitive/PrimitiveFactory";
33
import {CesiumUtil} from "../Utils/CesiumUtil";
44
import {addExtendLayersPlot} from "../Utils/PlotUtil";

src/service/3DPlot/Draw/DrawPolyline.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
import DrawObject from "../../../service/PlotBase/Draw/DrawObject";
1+
import DrawObject from "../../PlotBase/Draw/DrawObject";
22
import PrimitiveFactory from "../Primitive/index";
33
import {CesiumUtil} from "../Utils/CesiumUtil";
4-
import GeomUtil from "../../../service/PlotUtilBase/Geometry/GeomUtil";
5-
import Point from "../../../service/PlotUtilBase/Geometry/Point";
4+
import GeomUtil from "../../PlotUtilBase/Geometry/GeomUtil";
5+
import Point from "../../PlotUtilBase/Geometry/Point";
66
import {addExtendLayersPlot} from "../Utils/PlotUtil";
77

88
function look(viewer, center, offset) {

src/service/3DPlot/PlotLayer3D.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
import {defined} from "../PlotUtilBase/Check";
2-
import SymbolManager from "../../service/PlotBase/SymbolManager/SymbolManager";
2+
import SymbolManager from "../PlotBase/SymbolManager/SymbolManager";
33
import {DrawPlotObjectFactory3D} from "./Draw";
44
import {CesiumUtil} from "./Utils/CesiumUtil";
5-
import Observable from "../../service/PlotUtilBase/Observable";
5+
import Observable from "../PlotUtilBase/Observable";
66
import EditTool from "./EditTool/EditTool";
77
import {PrimitiveFactory} from "./Primitive/PrimitiveFactory";
88
import * as turf from "@turf/turf";
99
import Point from "../PlotUtilBase/Geometry/Point";
1010
import GeomUtil from "../PlotUtilBase/Geometry/GeomUtil";
1111
import {addExtendLayersPlot, removeExtendLayersPlot} from "./Utils/PlotUtil";
12-
import { Zondy } from "../common/Base";
12+
import { Zondy } from "../common";
1313

1414
/**
1515
* @class module:3DPlot.PlotLayer3D
@@ -197,7 +197,7 @@ class PlotLayer3D extends Observable {
197197
*/
198198
removeAll() {
199199
let plotLayer = this._getPlotLayer();
200-
plotLayer.removeAll();
200+
plotLayer && plotLayer.removeAll();
201201
}
202202

203203
/**

src/service/3DPlot/Primitive/BasePlotPrimitive.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@ class BasePlotPrimitive {
4848
* @private
4949
*/
5050
_elemPropsUpdateHandler(event) {
51+
console.log("event.type",event.type)
5152
if (event.type === 'positions') {
5253
let { _positionBillboards, _shapeBillboards } = this;
5354
const positions = event.value;

src/service/3DPlot/Primitive/ElementInstance/IrregularElementInstance.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { defined } from "../../../PlotUtilBase/Check";
22
import RegularLineElementInstance from "./RegularLineElementInstance";
3-
import GeomUtil from "../../../../service/PlotUtilBase/Geometry/GeomUtil";
3+
import GeomUtil from "../../../PlotUtilBase/Geometry/GeomUtil";
44

55
/**
66
* @class module:3DPlot.IrregularElementInstance

src/service/3DPlot/Primitive/ElementInstance/RegularLine1ElementInstance.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { CesiumGeomUtil, CesiumUtil } from "../../Utils/CesiumUtil";
2-
import MainElement from "../../../../service/PlotBase/SvgLoader/element/extend/MainElement";
2+
import MainElement from "../../../PlotBase/SvgLoader/element/extend/MainElement";
33
import RegularLineElementInstance from "./RegularLineElementInstance";
44

55
/**

src/service/3DPlot/Primitive/ElementInstance/RegularLineElementInstance.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import SvgElementInstance from "./SvgElementInstance";
22
import { CesiumGeomUtil, CesiumUtil } from "../../Utils/CesiumUtil";
3-
import MainElement from "../../../../service/PlotBase/SvgLoader/element/extend/MainElement";
3+
import MainElement from "../../../PlotBase/SvgLoader/element/extend/MainElement";
44
import { defined } from "../../../PlotUtilBase/Check";
55

66
/**

src/service/3DPlot/Primitive/ElementInstance/RegularSurfaceElementInstance.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import Bounds from "../../../../service/PlotUtilBase/Geometry/Bound";
1+
import Bounds from "../../../PlotUtilBase/Geometry/Bound";
22
import {CesiumUtil} from "../../Utils/CesiumUtil";
33
import SvgElementInstance from "./SvgElementInstance";
44

src/service/3DPlot/Primitive/ElementInstance/SimpleLineElementInstance.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { CesiumGeomUtil, CesiumUtil } from '../../Utils/CesiumUtil';
2-
import MainElement from '../../../../service/PlotBase/SvgLoader/element/extend/MainElement';
2+
import MainElement from '../../../PlotBase/SvgLoader/element/extend/MainElement';
33
import RegularLineElementInstance from './RegularLineElementInstance';
44

55
/**

0 commit comments

Comments
 (0)