diff --git a/frontend/src/pages/MapPage/RoadInfo.tsx b/frontend/src/pages/MapPage/RoadInfo.tsx index 1d1a0b5..ebbf07b 100644 --- a/frontend/src/pages/MapPage/RoadInfo.tsx +++ b/frontend/src/pages/MapPage/RoadInfo.tsx @@ -11,7 +11,16 @@ import api from 'api' import styles from './styles.module.less' const UNITS = {distanceOvertaker: 'm', distanceStationary: 'm', speed: 'km/h'} -const LABELS = {distanceOvertaker: 'Overtaker', distanceStationary: 'Stationary', speed: 'Speed'} +const LABELS = { + distanceOvertaker: 'Left', + distanceStationary: 'Right', + speed: 'Speed', + count: 'No. of Measurements', + min: 'Minimum', + median: 'Median', + max: 'Maximum', + mean: 'Average', +} const ZONE_COLORS = {urban: 'olive', rural: 'brown', motorway: 'purple'} const CARDINAL_DIRECTIONS = ['north', 'north-east', 'east', 'south-east', 'south', 'south-west', 'west', 'north-west'] const getCardinalDirection = (bearing) => @@ -26,23 +35,26 @@ function RoadStatsTable({data}) {