diff --git a/src/renderer/components/AirportEdit.vue b/src/renderer/components/AirportEdit.vue
index 6ef813a..e6cff2e 100644
--- a/src/renderer/components/AirportEdit.vue
+++ b/src/renderer/components/AirportEdit.vue
@@ -29,6 +29,10 @@
Groundnet :
{{groundnet}}
+
+ Parking Positions :
+ {{ this.$store.state.Editable.data.airports[this.$store.state.Editable.index].parking }}
+
@@ -46,3 +50,9 @@
}
}
+
+
\ No newline at end of file
diff --git a/src/renderer/components/FlightgearMap.vue b/src/renderer/components/FlightgearMap.vue
index 406556e..e8fb646 100644
--- a/src/renderer/components/FlightgearMap.vue
+++ b/src/renderer/components/FlightgearMap.vue
@@ -88,12 +88,13 @@
bounds.getSouthWest().lng < Number(coordinates[0])
return ret && ret2
},
+ // Triggered by adding airports to the map
addEvent (event, item) {
// console.log(event, item)
if (item.properties.groundnet === 0) {
- event.target.setStyle({color: 'red', fillcolor: 'red'})
- } else if ((item.properties.flights / item.properties.parking) > 10) {
- event.target.setStyle({color: 'yellow', fillcolor: 'yellow'})
+ event.target.setStyle({color: 'red', fillColor: 'red'})
+ } else if ((item.properties.flights / item.properties.parking) > 40) {
+ event.target.setStyle({color: 'yellow', fillColor: 'yellow'})
}
},
onClick (item) {