| | |
| | | <div v-show="showMapToolPanel" :style="mapToolBarStyle()"> |
| | | <div :style="mapToolRowStyle()"> |
| | | <button type="button" @click="toggleStationDirection" :style="mapToolButtonStyle(showStationDirection)">{{ showStationDirection ? '隐藏站点方向' : '显示站点方向' }}</button> |
| | | <button type="button" @click="resetMapView" :style="mapToolButtonStyle(false)">重置视图</button> |
| | | <button type="button" @click="rotateMap" :style="mapToolButtonStyle(false)">旋转</button> |
| | | <button type="button" @click="toggleMirror" :style="mapToolButtonStyle(mapMirrorX)">{{ mapMirrorX ? '取消镜像' : '镜像' }}</button> |
| | | </div> |
| | |
| | | this.loadStationColorConfig(); |
| | | this.loadLocList(); |
| | | this.connectWs(); |
| | | |
| | | |
| | | setTimeout(() => { |
| | | this.getMap(this.currentLev); |
| | | }, 1000); |
| | |
| | | this.applyMapTransform(true); |
| | | this.saveMapTransformConfig(); |
| | | }, |
| | | resetMapView() { |
| | | this.fitStageToContent(); |
| | | this.scheduleAdjustLabels(); |
| | | this.scheduleShelfChunkCulling(); |
| | | }, |
| | | toggleStationDirection() { |
| | | this.showStationDirection = !this.showStationDirection; |
| | | this.applyStationDirectionVisibility(); |
| | |
| | | } |
| | | } |
| | | }); |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |