Skip to content

Commit 3e87726

Browse files
author
zhaokai
committed
【问题】【simplepoint类fromJSON支持刷新】
1 parent 6d01c05 commit 3e87726

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/service/3DPlot/Primitive/RegularPrimitive/RegularPointPrimitive.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,11 @@ class RegularPointPrimitive extends BaseRegularPrimitive {
2929
this._update = true;
3030
this._isTranslate = false
3131
}
32+
33+
fromGeoJSON(geoJson, isLoadElement = true){
34+
super.fromGeoJSON(geoJson,isLoadElement)
35+
this._isTranslate = false;
36+
}
3237

3338
/**
3439
* @description 重写父类的_elemPropsUpdateHandler方法

0 commit comments

Comments
 (0)