调整折返策略状态显示
This commit is contained in:
parent
18235dc096
commit
23b024dff4
@ -114,12 +114,14 @@ export default class StationTurnBack extends Group {
|
||||
if (!path.includes('/map/draw')) {
|
||||
this.strategyText && this.strategyText.hide();
|
||||
}
|
||||
if (this.style.ReturnModeGroup) {
|
||||
this.control && this.control.highlightType1(this.style.ReturnModeGroup.highlightColor);
|
||||
|
||||
// this.control && this.control.highlightType1(this.style.ReturnModeGroup.strokeColor);
|
||||
this.control && this.control.highlightType2(this.style.ReturnModeGroup.strokeColor);
|
||||
this.control && this.control.highlightType3(this.style.ReturnModeGroup.strokeColor);
|
||||
}
|
||||
}
|
||||
|
||||
handleStatus(name) {
|
||||
this.strategyText && this.strategyText.show();
|
||||
@ -128,6 +130,7 @@ export default class StationTurnBack extends Group {
|
||||
text: name
|
||||
}
|
||||
});
|
||||
if (this.style.ReturnModeGroup) {
|
||||
this.control && this.control.highlightType1(this.style.ReturnModeGroup.strokeColor);
|
||||
this.control && this.control.highlightType2(this.style.ReturnModeGroup.strokeColor);
|
||||
this.control && this.control.highlightType3(this.style.ReturnModeGroup.strokeColor);
|
||||
@ -139,6 +142,7 @@ export default class StationTurnBack extends Group {
|
||||
this.control && this.control.highlightType3(this.style.ReturnModeGroup.highlightColor);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// 设置状态
|
||||
setState(model, tbStrategyId = null) {
|
||||
|
Loading…
Reference in New Issue
Block a user