From 6b5c1790c629fba0ee7feeb0f440a5f819ebb9ef Mon Sep 17 00:00:00 2001 From: zyy <1787816799@qq.com> Date: Mon, 5 Aug 2019 10:36:41 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E4=BB=A3=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/jmap/shape/Section/index.js | 34 --------------------------------- 1 file changed, 34 deletions(-) diff --git a/src/jmap/shape/Section/index.js b/src/jmap/shape/Section/index.js index 7a199a7ef..2617c7fca 100644 --- a/src/jmap/shape/Section/index.js +++ b/src/jmap/shape/Section/index.js @@ -193,53 +193,19 @@ export default class Section extends Group { this.speedLimitNameLeft = new ELimitName({ zlevel: this.zlevel, z: this.z + 10, - // shape: { drict: -1, - // points: { x: model.points[0].x, y: model.points[0].y - 15, - // }, style: style - // }, - // style: { - // lineWidth: 0, - // fill: style.Section.speedLimit.nameBackground, - // fontWeight: 'normal', - // fontSize: style.Section.speedLimit.nameNumberFontSize, - // fontFamily: style.fontFamily, - // text: '15', - // textFill: style.Section.speedLimit.nameNumberColor, - // textAlign: style.Section.text.textAlign, - // textPosition: style.Section.text.textPosition || 'inside', - // textVerticalAlign: style.Section.text.textVerticalAlign || null - // } }); // 终点位置 this.speedLimitNameRight = new ELimitName({ zlevel: this.zlevel, z: this.z + 10, - // shape: { drict: 1, - // points: { x: model.points[model.points.length - 1].x, y: model.points[model.points.length - 1].y - 15, - // }, style: style - // }, - // style: { - // lineWidth: 0, - // fill: style.Section.speedLimit.nameBackground, - // x: model.points[model.points.length - 1].x, - // y: model.points[model.points.length - 1].y, - // fontWeight: 'normal', - // fontSize: style.Section.speedLimit.nameNumberFontSize, - // fontFamily: style.fontFamily, - // text: '15', - // textFill: style.Section.speedLimit.nameNumberColor, - // textAlign: style.Section.text.textAlign, - // textPosition: style.Section.text.textPosition || 'inside', - // textVerticalAlign: style.Section.text.textVerticalAlign || null - // } }); this.add(this.speedLimitNameLeft); this.add(this.speedLimitNameRight);