Skip to content

Commit

Permalink
Merge branch 'main' of https://github.com/Pax1601/DCSOlympus
Browse files Browse the repository at this point in the history
  • Loading branch information
Pax1601 committed Jul 23, 2024
2 parents 854bef1 + aacf6d9 commit 3e22247
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/server/demo.js
Original file line number Diff line number Diff line change
Expand Up @@ -458,7 +458,7 @@ module.exports = function (configLocation) {
};

mission(req, res){
var ret = {mission: {theatre: "Afghanistan"}};
var ret = {mission: {theatre: "Caucasus"}};
ret.time = Date.now();

ret.mission.dateAndTime = {
Expand Down
5 changes: 5 additions & 0 deletions frontend/website/src/map/map.ts
Original file line number Diff line number Diff line change
Expand Up @@ -343,6 +343,11 @@ export class Map extends L.Map {
} else if (Object.keys(this.#mapMirrors).includes(layerName) ) {
let layers: L.TileLayer[] = [];

layers.push(new L.TileLayer("https://server.arcgisonline.com/ArcGIS/rest/services/World_Imagery/MapServer/tile/{z}/{y}/{x}", {
minZoom: 1,
maxZoom: 19,
}))

/* Load the configuration file */
const mirror = this.#mapMirrors[layerName as any];
const request = new Request(mirror + "/config.json");
Expand Down

0 comments on commit 3e22247

Please sign in to comment.