Merged in fix/SW-1168-list-correct-hotels-for-map (pull request #1076)

fix(SW-1168) Show only hotel cards that are visible on map

Approved-by: Michael Zetterberg
This commit is contained in:
Pontus Dreij
2024-12-13 07:13:33 +00:00
6 changed files with 222 additions and 120 deletions

View File

@@ -1,8 +1,6 @@
import { ReactElement } from "react"
import { HotelData } from "../../hotelReservation/selectHotel/hotelCardListingProps"
import { HotelPin } from "../../hotelReservation/selectHotel/map"
import type { ReactElement } from "react"
import type { HotelPin } from "@/types/components/hotelReservation/selectHotel/map"
import type { Coordinates } from "@/types/components/maps/coordinates"
import type { PointOfInterest } from "@/types/hotel"
@@ -13,5 +11,6 @@ export interface InteractiveMapProps {
hotelPins?: HotelPin[]
mapId: string
closeButton: ReactElement
onTilesLoaded?: () => void
onActivePoiChange?: (poi: PointOfInterest["name"] | null) => void
}