Fix bug in bounds calculation for negative lats/lons

This commit is contained in:
Pieter Vander Vennet 2021-09-27 15:38:12 +02:00
parent 215aebce19
commit 38037014b0
6 changed files with 65 additions and 51 deletions

View file

@ -97,6 +97,9 @@ export default class SimpleMetaTagger {
continue;
}
for (const unit of units) {
if(unit === undefined){
continue
}
if (unit.appliesToKeys === undefined) {
console.error("The unit ", unit, "has no appliesToKey defined")
continue