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:
5
apps/scandic-web/constants/map.ts
Normal file
5
apps/scandic-web/constants/map.ts
Normal file
@@ -0,0 +1,5 @@
|
||||
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 },
|
||||
}
|
||||
Reference in New Issue
Block a user