From 47be9a242524caf0d0f4ab4fdf0c47fa464daef8 Mon Sep 17 00:00:00 2001 From: Florian Gareis Date: Thu, 23 Nov 2023 14:02:19 +0000 Subject: Add camper SVG icon and device category --- modern/src/common/util/deviceCategories.js | 1 + modern/src/map/core/preloadImages.js | 2 ++ modern/src/resources/images/icon/camper.svg | 2 ++ modern/src/resources/l10n/en.json | 1 + 4 files changed, 6 insertions(+) create mode 100644 modern/src/resources/images/icon/camper.svg (limited to 'modern') diff --git a/modern/src/common/util/deviceCategories.js b/modern/src/common/util/deviceCategories.js index f5d749aa..a991e505 100644 --- a/modern/src/common/util/deviceCategories.js +++ b/modern/src/common/util/deviceCategories.js @@ -5,6 +5,7 @@ export default [ 'boat', 'bus', 'car', + 'camper', 'crane', 'helicopter', 'motorcycle', diff --git a/modern/src/map/core/preloadImages.js b/modern/src/map/core/preloadImages.js index 10d61a3b..19c3c35e 100644 --- a/modern/src/map/core/preloadImages.js +++ b/modern/src/map/core/preloadImages.js @@ -9,6 +9,7 @@ import bicycleSvg from '../../resources/images/icon/bicycle.svg'; import boatSvg from '../../resources/images/icon/boat.svg'; import busSvg from '../../resources/images/icon/bus.svg'; 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 helicopterSvg from '../../resources/images/icon/helicopter.svg'; @@ -32,6 +33,7 @@ export const mapIcons = { boat: boatSvg, bus: busSvg, car: carSvg, + camper: camperSvg, crane: craneSvg, default: defaultSvg, helicopter: helicopterSvg, diff --git a/modern/src/resources/images/icon/camper.svg b/modern/src/resources/images/icon/camper.svg new file mode 100644 index 00000000..6dda9259 --- /dev/null +++ b/modern/src/resources/images/icon/camper.svg @@ -0,0 +1,2 @@ + + \ No newline at end of file diff --git a/modern/src/resources/l10n/en.json b/modern/src/resources/l10n/en.json index d2e9c7ca..ccbfde6a 100644 --- a/modern/src/resources/l10n/en.json +++ b/modern/src/resources/l10n/en.json @@ -569,6 +569,7 @@ "categoryBoat": "Boat", "categoryBus": "Bus", "categoryCar": "Car", + "categoryCamper": "Camper", "categoryCrane": "Crane", "categoryHelicopter": "Helicopter", "categoryMotorcycle": "Motorcycle", -- cgit v1.2.3 From 6515beb41f666c632bbb87c9bded51986105f645 Mon Sep 17 00:00:00 2001 From: Florian Gareis Date: Fri, 24 Nov 2023 00:08:24 +0000 Subject: Update camper --- modern/src/resources/images/icon/camper.svg | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modern') diff --git a/modern/src/resources/images/icon/camper.svg b/modern/src/resources/images/icon/camper.svg index 6dda9259..19e95cc5 100644 --- a/modern/src/resources/images/icon/camper.svg +++ b/modern/src/resources/images/icon/camper.svg @@ -1,2 +1,2 @@ - \ No newline at end of file + -- cgit v1.2.3