feat(SW-325): added pois to the list and dynamic map

This commit is contained in:
Erik Tiekstra
2024-09-17 16:13:22 +02:00
parent 1729f4b9c7
commit e79f413003
44 changed files with 1078 additions and 318 deletions

View File

@@ -0,0 +1,18 @@
import { IconName } from "@/types/components/icon"
export function getIconByPoiCategory(category: string) {
switch (category) {
case "Transportations":
return IconName.Train
case "Shopping":
return IconName.Shopping
case "Museum":
return IconName.Museum
case "Tourist":
return IconName.Cultural
case "Restaurant":
return IconName.Restaurant
default:
return null
}
}