feat(SW-552): add fitbounds

This commit is contained in:
Fredrik Thorsson
2024-10-21 14:43:37 +02:00
parent 0a76d043c1
commit 9a398feb52
3 changed files with 21 additions and 8 deletions

View File

@@ -1,8 +1,10 @@
import type { PointOfInterest } from "@/types/hotel"
import type { Coordinates } from "../../maps/coordinates"
export interface SidebarProps {
hotelName: string
pointsOfInterest: PointOfInterest[]
activePoi: PointOfInterest["name"] | null
onActivePoiChange: (poi: PointOfInterest["name"] | null) => void
coordinates: Coordinates
}