| | |
| | | <FactorLegend |
| | | class="m-t-2" |
| | | :factor="factorDatas.factor[factorType]" |
| | | @change="handleLegendTypeChange" |
| | | ></FactorLegend> |
| | | </el-row> |
| | | <el-row class="historical" justify="center"> |
| | |
| | | this.sceneStore.searchScene(lng, lat); |
| | | } |
| | | }, |
| | | handleLegendTypeChange(value, done) { |
| | | if (value) { |
| | | this.factorDatas.resetRange(); |
| | | } else { |
| | | this.factorDatas.standardRange(); |
| | | } |
| | | done(); |
| | | this.draw(); |
| | | }, |
| | | draw() { |
| | | // 刷新图例 |
| | | const factor = this.factorDatas.factor[this.factorType]; |
| | | sector.clearSector(); |
| | | this.drawRoadLine(factor); |
| | | // this.drawRoadMap(factor); |
| | | // this.drawRoadLine(factor); |
| | | this.drawRoadMap(factor); |
| | | this.drawMassMarks(factor); |
| | | }, |
| | | // 绘制3D走行路线图 |
| | | drawRoadMap(e) { |
| | | this.factorDatas.refreshHeight(this.factorType); |
| | | |
| | | Layer.drawRoadMap(this.factorDatas, e, this.merge, this.setCenter); |
| | | }, |
| | | drawRoadLine(e) { |
| | | this.factorDatas.refreshHeight(this.factorType); |
| | | mapLine.drawLine(this.factorDatas, e); |
| | | }, |
| | | drawMassMarks(e) { |