SW-3270 move interactive map to design system or booking flow * wip * wip * merge * wip * add support for locales in design-system * add story for HotelCard * setup alias * . * remove tracking from design-system for hotelcard * pass isUserLoggedIn * export design-system-new-deprecated.css from design-system * Add HotelMarkerByType to Storybook * Add interactive map to Storybook * fix reactintl in vitest * rename env variables * . * fix background colors * add storybook stories for <Link /> * merge * fix tracking for when clicking 'See rooms' in InteractiveMap * Merge branch 'master' of bitbucket.org:scandic-swap/web into SW-3270-move-interactive-map-to-design-system-or-booking-flow * remove deprecated comment Approved-by: Anton Gunnarsson
10 lines
374 B
TypeScript
10 lines
374 B
TypeScript
export const MAP_RESTRICTIONS = {
|
|
// Restrict the map to the entire world, this avoids showing a grey area.
|
|
// See https://developers.google.com/maps/documentation/javascript/reference/map#MapRestriction.latLngBounds
|
|
latLngBounds: { north: 85, south: -85, west: -180, east: 180 },
|
|
}
|
|
|
|
export const DEFAULT_ZOOM = 14
|
|
export const MAX_ZOOM = 18
|
|
export const MIN_ZOOM = 8
|