forked from MapComplete/MapComplete
Small fixes to make MC build on Mac
This commit is contained in:
parent
fe522022b2
commit
52f1d86772
2 changed files with 6 additions and 4 deletions
|
@ -314,9 +314,10 @@ export default class SimpleMetaTaggers {
|
||||||
lat: lat,
|
lat: lat,
|
||||||
lon: lon,
|
lon: lon,
|
||||||
address: {
|
address: {
|
||||||
country_code: tags._country.toLowerCase()
|
country_code: tags._country.toLowerCase(),
|
||||||
|
state: undefined
|
||||||
}
|
}
|
||||||
}, {tag_key: "opening_hours"});
|
}, <any> {tag_key: "opening_hours"});
|
||||||
|
|
||||||
// Recalculate!
|
// Recalculate!
|
||||||
return oh.getState() ? "yes" : "no";
|
return oh.getState() ? "yes" : "no";
|
||||||
|
|
|
@ -477,9 +477,10 @@ export class OH {
|
||||||
lat: tags._lat,
|
lat: tags._lat,
|
||||||
lon: tags._lon,
|
lon: tags._lon,
|
||||||
address: {
|
address: {
|
||||||
country_code: tags._country.toLowerCase()
|
country_code: tags._country.toLowerCase(),
|
||||||
|
state: undefined
|
||||||
},
|
},
|
||||||
}, {tag_key: "opening_hours"});
|
}, <any> {tag_key: "opening_hours"});
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|
Loading…
Reference in a new issue