Skip to content

Commit 36e566a

Browse files
committed
【杨琨】【添加二三维联动-绘制功能】
1 parent 1f4d60b commit 36e566a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/service/3DPlot/PlotLayer3D.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -261,7 +261,7 @@ class PlotLayer3D extends Observable {
261261
});
262262

263263
primitive.fromGeoJSON(geoFeature);
264-
primitive.id = id + "_" + parseInt(String(Math.random() * 1000000000));
264+
primitive.id = element.getFeatureId();
265265

266266
that._addPrimitive(primitive);
267267
});

0 commit comments

Comments
 (0)