调整地图绘制类型显示
This commit is contained in:
parent
6123c3b67c
commit
33b9618b77
@ -652,6 +652,12 @@ class Signal extends Group {
|
||||
if (model.isRequestGuide) {
|
||||
this.lamps && this.lamps[0] && this.lamps[0].setAnimationStart(this.style.Signal.lamp.yellowColor);
|
||||
}
|
||||
const path = window.location.href;
|
||||
if (model.type == 'PASSING' && path.includes('/map/draw')) {
|
||||
this.lamps && this.lamps.length && this.lamps.forEach(elem => {
|
||||
elem.setColor(this.style.Signal.lamp.greenColor);
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
getBoundingRect() {
|
||||
|
Loading…
Reference in New Issue
Block a user