aboutsummaryrefslogtreecommitdiff
path: root/modern/src/map/core/preloadImages.js
diff options
context:
space:
mode:
Diffstat (limited to 'modern/src/map/core/preloadImages.js')
-rw-r--r--modern/src/map/core/preloadImages.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/modern/src/map/core/preloadImages.js b/modern/src/map/core/preloadImages.js
index 8649a347..770c1c57 100644
--- a/modern/src/map/core/preloadImages.js
+++ b/modern/src/map/core/preloadImages.js
@@ -49,6 +49,8 @@ export const mapIcons = {
van: vanSvg,
};
+export const mapIconKey = (category) => (mapIcons.hasOwnProperty(category) ? category : 'default');
+
export const mapImages = {};
export default async () => {