Merged in feat/SW-2181-adapt-map-zooming (pull request #1781)

fix(SW-2181): use fitted bounds to adapt the zooming of the map

* fix(SW-2181): use fitted bounds to adapt the zooming of the map


Approved-by: Michael Zetterberg
This commit is contained in:
Matilda Landström
2025-04-14 07:48:38 +00:00
parent e372b91356
commit 51a0855fc1
3 changed files with 20 additions and 4 deletions

View File

@@ -11,6 +11,7 @@ export interface InteractiveMapProps {
hotelPins?: HotelPin[]
mapId: string
closeButton: ReactElement
fitBounds?: boolean
onTilesLoaded?: () => void
onActivePoiChange?: (poi: PointOfInterest["name"] | null) => void
}