Skip to content

Commit

Permalink
Merge pull request #1280 from jcardus/master
Browse files Browse the repository at this point in the history
Better icon for trip finish
  • Loading branch information
tananaev authored Oct 10, 2024
2 parents 6b443a5 + b6e4a26 commit a4caf0c
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 2 deletions.
4 changes: 4 additions & 0 deletions src/map/core/preloadImages.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ import carSvg from '../../resources/images/icon/car.svg';
import camperSvg from '../../resources/images/icon/camper.svg';
import craneSvg from '../../resources/images/icon/crane.svg';
import defaultSvg from '../../resources/images/icon/default.svg';
import startSvg from '../../resources/images/icon/start.svg';
import finishSvg from '../../resources/images/icon/finish.svg';
import helicopterSvg from '../../resources/images/icon/helicopter.svg';
import motorcycleSvg from '../../resources/images/icon/motorcycle.svg';
import offroadSvg from '../../resources/images/icon/offroad.svg';
Expand All @@ -36,6 +38,7 @@ export const mapIcons = {
camper: camperSvg,
crane: craneSvg,
default: defaultSvg,
finish: finishSvg,
helicopter: helicopterSvg,
motorcycle: motorcycleSvg,
offroad: offroadSvg,
Expand All @@ -44,6 +47,7 @@ export const mapIcons = {
plane: planeSvg,
scooter: scooterSvg,
ship: shipSvg,
start: startSvg,
tractor: tractorSvg,
train: trainSvg,
tram: tramSvg,
Expand Down
4 changes: 2 additions & 2 deletions src/reports/TripReportPage.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -62,12 +62,12 @@ const TripReportPage = () => {
{
latitude: selectedItem.startLat,
longitude: selectedItem.startLon,
image: 'default-error',
image: 'start-success',
},
{
latitude: selectedItem.endLat,
longitude: selectedItem.endLon,
image: 'default-success',
image: 'finish-error',
},
]);

Expand Down
1 change: 1 addition & 0 deletions src/resources/images/icon/finish.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions src/resources/images/icon/start.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit a4caf0c

Please sign in to comment.