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);