Adding more locations.

This commit is contained in:
Jorge Bolois Guerrero 2022-10-15 21:55:24 +02:00
parent a8e944534a
commit ba3a6d532b
3 changed files with 29 additions and 1 deletions

View File

@ -0,0 +1,10 @@
{
"name": "Castiello de Jaca",
"bus": true,
"train": false,
"pharmacy": false,
"smoke": false,
"supermarkets": [],
"pool": true,
"gym": false
}

19
locations/Villanúa.json Normal file
View File

@ -0,0 +1,19 @@
{
"name": "Villanúa",
"bus": true,
"train": true,
"pharmacy": true,
"smoke": true,
"supermarkets": [
{
"type": "ALTO_ARAGON",
"url": "https://goo.gl/maps/DKqzDFWMM7ce7n417"
},
{
"type": "CUSTOM",
"url": "https://goo.gl/maps/JR2yKpzoWnzWbdT17"
}
],
"pool": true,
"gym": true
}

View File

@ -21,7 +21,6 @@ export default class Item {
this.meters = this._extractMeters();
this.priceMeter = this._extractPriceMeter();
this.additionalInfo = this._extractAdditionalInfo();
this.hasGarage = this._extractGarage();
this.hasLift = this._extractLift();