Merge pull request #605 from Pax1601/594-bounds-for-normandy-map-are-missing

Bounds added for Normandy theatre
This commit is contained in:
Pax1601 2023-11-29 11:54:33 +01:00 committed by GitHub
commit f4388a2cff
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 9 additions and 1 deletions

View File

@ -446,7 +446,7 @@ class DemoDataGenerator {
};
mission(req, res){
var ret = {mission: {theatre: "Nevada"}};
var ret = {mission: {theatre: "Normandy"}};
ret.time = Date.now();
ret.mission.dateAndTime = {

View File

@ -109,6 +109,13 @@ export const minimapBoundaries = [
new LatLng(-56.874517, -43.316433),
new LatLng(-49.097217, -43.316433),
new LatLng(-49.097217, -79.418267)
],
[ // Normandy
new LatLng(50.44, -3.29),
new LatLng(48.12,-3.29),
new LatLng(48.12, 3.70),
new LatLng(50.44, 3.70),
new LatLng(50.44, -3.29)
]
];
@ -119,6 +126,7 @@ export const mapBounds = {
"PersianGulf": { bounds: new LatLngBounds([21.729393, 47.572675], [33.131584, 64.7313594]), zoom: 5 },
"Caucasus": { bounds: new LatLngBounds([39.6170191, 27.634935], [47.3907982, 49.3101946]), zoom: 4 },
"Falklands": { bounds: new LatLngBounds([-49.097217, -79.418267], [-56.874517, -43.316433]), zoom: 3 },
"Normandy": { bounds: new LatLngBounds([50.44, -3.29], [48.12, 3.70]), zoom: 5 },
}
export const mapLayers = {