Skip to content

Commit 53ce4ae

Browse files
committed
【SDK】【修改】【杨琨】【修改Poliline的toString方法,删除无用的代码】
1 parent ce6f0c3 commit 53ce4ae

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/service/common/PolyLine.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,8 +70,6 @@ class PolyLine extends Tangram {
7070
if (this.nearDis !== undefined && this.nearDis !== null) {
7171

7272
str += ";" + this.nearDis;
73-
} else {
74-
str = str.substring(0, str.length - 1);
7573
}
7674
return this.Trim(str, "g");
7775
}

0 commit comments

Comments
 (0)