| | |
| | | clear: 'Clear Map', |
| | | adapt: 'ADAPT', |
| | | rotate: 'ROTATE', |
| | | flip: 'FLIP', |
| | | fake: 'FAKE', |
| | | route: 'ROUTE', |
| | | disable: 'DISABLE', |
| | |
| | | clear: '清空地图', |
| | | adapt: 'ADAPT', |
| | | rotate: 'ROTATE', |
| | | flip: 'FLIP', |
| | | fake: 'FAKE', |
| | | route: 'ROUTE', |
| | | disable: '禁用', |
| | |
| | | import * as Http from './http'; |
| | | import WebSocketClient from './websocket' |
| | | import ConfirmButton from "../page/components/ConfirmButton"; |
| | | import { FitScreen, RotateRight } from '@mui/icons-material'; |
| | | import { FitScreen, RotateRight, Flip } from '@mui/icons-material'; |
| | | import MapSearch from "./header/MapSearch"; |
| | | import { startupOrShutdown } from "./http"; |
| | | import PulseSignal from "../page/components/PulseSignal"; |
| | |
| | | color="primary" |
| | | size="small" |
| | | onClick={() => { |
| | | player.flipMapHorizontally(); |
| | | }} |
| | | > |
| | | <Flip /> |
| | | {translate('page.map.action.flip')} |
| | | </Fab> |
| | | <Fab |
| | | variant="extended" |
| | | color="primary" |
| | | size="small" |
| | | onClick={() => { |
| | | player.rotateMap(Math.PI / 2); |
| | | }} |
| | | > |