调整地图绘制类型显示

This commit is contained in:
zyy 2020-08-05 14:28:55 +08:00
parent 6123c3b67c
commit 33b9618b77

View File

@ -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() {