({
+ .map(({ hotel, url }) => ({
id: hotel.id,
type: hotel.hotelType || "regular",
name: hotel.name,
@@ -40,7 +40,20 @@ export function getHotelMapMarkers(hotels: HotelDataWithUrl[]) {
lng: hotel.location.longitude,
}
: null,
+ url: url,
+ tripadvisor: hotel.ratings?.tripAdvisor.rating,
+ amenities: hotel.detailedFacilities.slice(0, 3),
+ image:
+ hotel.galleryImages && hotel.galleryImages[0]
+ ? {
+ src: hotel.galleryImages[0].imageSizes.medium,
+ alt:
+ hotel.galleryImages[0].metaData.altText ||
+ hotel.galleryImages[0].metaData.altText_En,
+ }
+ : null,
}))
+
.filter((item): item is DestinationMarker => !!item.coordinates)
return markers
diff --git a/i18n/dictionaries/da.json b/i18n/dictionaries/da.json
index 7618ac3d1..949849a86 100644
--- a/i18n/dictionaries/da.json
+++ b/i18n/dictionaries/da.json
@@ -519,6 +519,7 @@
"See destination": "Se destination",
"See details": "Se detaljer",
"See hotel details": "Se hoteloplysninger",
+ "See hotel information": "Se hoteloplysninger",
"See map": "Vis kort",
"See on map": "Se på kort",
"See results ({ count })": "Se resultater ({ count })",
diff --git a/i18n/dictionaries/de.json b/i18n/dictionaries/de.json
index 37418dbad..e7c8abf1d 100644
--- a/i18n/dictionaries/de.json
+++ b/i18n/dictionaries/de.json
@@ -520,6 +520,7 @@
"See destination": "Siehe Ziel",
"See details": "Siehe Einzelheiten",
"See hotel details": "Hotelinformationen ansehen",
+ "See hotel information": "Siehe Hotelinformationen",
"See map": "Karte anzeigen",
"See on map": "Karte ansehen",
"See results ({ count })": "Ergebnisse anzeigen ({ count })",
diff --git a/i18n/dictionaries/en.json b/i18n/dictionaries/en.json
index e99b966f2..5f8fd673a 100644
--- a/i18n/dictionaries/en.json
+++ b/i18n/dictionaries/en.json
@@ -526,6 +526,7 @@
"See destination": "See destination",
"See details": "See details",
"See hotel details": "See hotel details",
+ "See hotel information": "See hotel information",
"See map": "See map",
"See on map": "See on map",
"See results ({ count })": "See results ({ count })",
diff --git a/i18n/dictionaries/fi.json b/i18n/dictionaries/fi.json
index df57296bb..3cb044153 100644
--- a/i18n/dictionaries/fi.json
+++ b/i18n/dictionaries/fi.json
@@ -520,6 +520,7 @@
"See destination": "Katso kohde",
"See details": "Katso tiedot",
"See hotel details": "Katso hotellin tiedot",
+ "See hotel information": "Katso hotellin tiedot",
"See map": "Näytä kartta",
"See on map": "Näytä kartalla",
"See results ({ count })": "Katso tulokset ({ count })",
diff --git a/i18n/dictionaries/no.json b/i18n/dictionaries/no.json
index b049c8baf..6e4a9c15c 100644
--- a/i18n/dictionaries/no.json
+++ b/i18n/dictionaries/no.json
@@ -518,6 +518,7 @@
"See destination": "Se destinasjon",
"See details": "Se detaljer",
"See hotel details": "Se hotellinformasjon",
+ "See hotel information": "Se hotellinformasjon",
"See map": "Vis kart",
"See on map": "Se på kart",
"See results ({ count })": "Se resultater ({ count })",
diff --git a/i18n/dictionaries/sv.json b/i18n/dictionaries/sv.json
index 23de44b1f..a4790b948 100644
--- a/i18n/dictionaries/sv.json
+++ b/i18n/dictionaries/sv.json
@@ -518,6 +518,7 @@
"See destination": "Se destination",
"See details": "Se detaljer",
"See hotel details": "Se hotellinformation",
+ "See hotel information": "Se hotellinformation",
"See map": "Visa karta",
"See on map": "Se på karta",
"See results ({ count })": "Se resultat ({ count })",
diff --git a/types/components/maps/destinationMarkers.ts b/types/components/maps/destinationMarkers.ts
index aa37debb5..2cd0eab76 100644
--- a/types/components/maps/destinationMarkers.ts
+++ b/types/components/maps/destinationMarkers.ts
@@ -1,10 +1,17 @@
import type { FeatureCollection, Point } from "geojson"
+import type { Amenities } from "@/types/hotel"
+import type { GalleryImage } from "../imageGallery"
+
export interface DestinationMarker {
id: string
type: string
name: string
coordinates: google.maps.LatLngLiteral
+ url: string
+ tripadvisor: number | undefined
+ amenities: Amenities
+ image: GalleryImage
}
export type MarkerProperties = Omit