Added automatic read of config file to setup map layers

This commit is contained in:
Davide Passoni
2024-06-06 12:08:34 +02:00
parent 6edcd8a5ce
commit b0ab0ae8cf
4 changed files with 31 additions and 23 deletions

View File

@@ -458,7 +458,7 @@ module.exports = function (configLocation) {
};
mission(req, res){
var ret = {mission: {theatre: "MarianaIslands"}};
var ret = {mission: {theatre: "PersianGulf"}};
ret.time = Date.now();
ret.mission.dateAndTime = {

View File

@@ -33,7 +33,7 @@
<div class="ol-group">
<div id="map-type" class="ol-select">
<div class="ol-select-value"><img src="resources/theme/images/icons/map-source.svg" inject-svg /><span
class="ol-select-value-text">DCS Map</span></div>
class="ol-select-value-text">DCS Map mirror 1</span></div>
<div class="ol-select-options">
<!-- Here the available map sources will be listed-->
</div>