Merge pull request #888 from Pax1601/kola-map

Kola map
This commit is contained in:
Pax1601
2024-05-29 09:01:08 +02:00
committed by GitHub
4 changed files with 414 additions and 1 deletions

View File

@@ -141,6 +141,7 @@ declare module "constants/constants" {
Falklands: LatLng[];
Normandy: LatLng[];
SinaiMap: LatLng[];
Kola: LatLng[];
};
export const mapBounds: {
Syria: {
@@ -175,6 +176,10 @@ declare module "constants/constants" {
bounds: LatLngBounds;
zoom: number;
};
Kola: {
bounds: LatLngBounds;
zoom: number;
};
};
export const defaultMapLayers: {
"ArcGIS Satellite": {

View File

@@ -140,6 +140,13 @@ export const minimapBoundaries = {
new LatLng(25.946944, 36.897778),
new LatLng(34.312222, 36.897778),
new LatLng(34.312222, 28.523333)
],
"Kola": [ // Kola
new LatLng(72.055300, 4.0140000),
new LatLng(64.421145, 10.353076),
new LatLng(63.570300, 39.364000),
new LatLng(71.48000, 48.091100),
new LatLng(72.055300, 4.01400003)
]
};
@@ -152,6 +159,7 @@ export const mapBounds = {
"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 },
"SinaiMap": { bounds: new LatLngBounds([34.312222, 28.523333], [25.946944, 36.897778]), zoom: 4 },
"Kola": { bounds: new LatLngBounds([61.59999, 4.29982], [75.05179, 44.29982]), zoom: 3}
}
export const DCSMapsZoomLevelsByTheatre: { [key: string]: { minNativeZoom?: number, maxNativeZoom?: number, minZoom?: number }[] } = {