diff --git a/src/jmapNew/shape/Station/index.js b/src/jmapNew/shape/Station/index.js index 450a8f1bb..ab5a48392 100644 --- a/src/jmapNew/shape/Station/index.js +++ b/src/jmapNew/shape/Station/index.js @@ -43,6 +43,7 @@ export default class Station extends Group { fontWeight: style.Station.text.fontWeight, fontSize: isNaN(Number(model.nameFont)) ? 20 : Number(model.nameFont), fontFamily: style.fontFamily, + silent: !model.visible, text: model.number ? model.number + model.name : model.name, textAlign: 'middle', textVerticalAlign: 'top', @@ -96,6 +97,7 @@ export default class Station extends Group { fontSize: model.subheadFont || 18, fontFamily: style.fontFamily, text: model.subhead, + silent: !model.visible, textAlign: 'middle', textVerticalAlign: 'top', textFill: model.subheadFontColor