fix(SW-2378): Added restriction to the map options to avoid showing grey area in the map
Approved-by: Christian Andolf
This commit is contained in:
@@ -6,6 +6,8 @@ import { useIntl } from "react-intl"
|
||||
|
||||
import { MaterialIcon } from "@scandic-hotels/design-system/Icons/MaterialIcon"
|
||||
|
||||
import { MAP_RESTRICTIONS } from "@/constants/map"
|
||||
|
||||
import Button from "@/components/TempDesignSystem/Button"
|
||||
|
||||
import HotelListingMapContent from "./HotelListingMapContent"
|
||||
@@ -38,6 +40,7 @@ export default function InteractiveMap({
|
||||
clickableIcons: false,
|
||||
mapId,
|
||||
gestureHandling: "greedy",
|
||||
restriction: MAP_RESTRICTIONS,
|
||||
}
|
||||
|
||||
function zoomIn() {
|
||||
|
||||
Reference in New Issue
Block a user