Fixed demo data

This commit is contained in:
dpassoni
2023-03-15 15:12:07 +01:00
parent 6c1195d077
commit f26e9e94fa

View File

@@ -538,20 +538,20 @@ class DemoDataGenerator {
var ret = {airbases: { var ret = {airbases: {
["0"]: { ["0"]: {
callsign: "Neutral", callsign: "Neutral",
lat: 37.3, latitude: 37.3,
lng: -115.8, longitude: -115.8,
coalition: "neutral" coalition: "neutral"
}, },
["1"]: { ["1"]: {
callsign: "Red", callsign: "Red",
lat: 37.3, latitude: 37.3,
lng: -115.75, longitude: -115.75,
coalition: "red" coalition: "red"
}, },
["2"]: { ["2"]: {
callsign: "Blue", callsign: "Blue",
lat: 37.3, latitude: 37.3,
lng: -115.7, longitude: -115.7,
coalition: "blue" coalition: "blue"
} }
}}; }};
@@ -561,16 +561,16 @@ class DemoDataGenerator {
bullseyes(req, res){ bullseyes(req, res){
var ret = {bullseyes: { var ret = {bullseyes: {
"0": { "0": {
lat: 37.25, latitude: 37.25,
lng: -115.8 longitude: -115.8
}, },
"1": { "1": {
lat: 37.25, latitude: 37.25,
lng: -115.75 longitude: -115.75
}, },
"2": { "2": {
lat: 37.25, latitude: 37.25,
lng: -115.7 longitude: -115.7
} }
}}; }};
res.send(JSON.stringify(ret)); res.send(JSON.stringify(ret));