Merged in feat/SW-2041-map-zoom-buttons (pull request #2550)
Feat(SW-661): Hotel page map zoom restrictions * fix(SW-2041): update tokens * chore(SW-2041): restrict zooming * fix(SW-2041): remove ref * fix(SW-2041): create map zoom hook Approved-by: Erik Tiekstra Approved-by: Hrishikesh Vaipurkar
This commit is contained in:
@@ -3,3 +3,7 @@ export const MAP_RESTRICTIONS = {
|
||||
// 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
|
||||
|
||||
Reference in New Issue
Block a user