fix(SW-1014): Fixed issue where google didn't found city.

This commit is contained in:
Pontus Dreij
2024-11-25 15:38:08 +01:00
parent 0a35243d88
commit 0ef12d4a29
7 changed files with 50 additions and 9 deletions

View File

@@ -58,7 +58,10 @@ export default async function SelectHotelMapPage({
const hotelPins = getHotelPins(hotels)
const filterList = getFiltersFromHotels(hotels)
const cityCoordinates = await getCityCoordinates({ city: city.name })
const cityCoordinates = await getCityCoordinates({
city: city.name,
hotel: { address: hotels[0].hotelData.address.streetAddress },
})
return (
<MapModal>