Skip to content

Commit

Permalink
【bug】fix 绘点的时候外部图形不出来的bug,及范围的bug
Browse files Browse the repository at this point in the history
  • Loading branch information
Vein-Yan committed Oct 28, 2016
1 parent 581bf73 commit 2688f70
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ SuperMap.Geometry.GeoPoint = SuperMap.Class(
* 构造函数
*
* Parameters:
* point - {Array(<SuperMap.Geometry.Point>)} 需要传入的控制点,默认为null
* point - {<SuperMap.Geometry.Point>} 需要传入的控制点,默认为null
*/
initialize: function (point) {
SuperMap.Geometry.Point.prototype.initialize.apply(this, arguments);
Expand Down Expand Up @@ -96,7 +96,7 @@ SuperMap.Geometry.GeoPoint = SuperMap.Class(
this.y = point.y;
}
},
CLASS_NAME: "SuperMap.Geometry.GeoPoint"
CLASS_NAME: "SuperMap.Geometry.Point"
}
);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -264,6 +264,7 @@ SuperMap.Handler.Plotting = SuperMap.Class(SuperMap.Handler, {
this.plotting.geometry._controlPoints = this.cloneControlPoints(cp);
//重新计算标绘扩展符号的geometry
this.plotting.geometry.calculateParts();
this.plotting.geometry.calculateBounds();
}

this.callback("modify", [this.point.geometry, this.getSketch(), false]);
Expand Down

0 comments on commit 2688f70

Please sign in to comment.