forked from MapComplete/MapComplete
Feature(offline): add management module for offline basemaps
This commit is contained in:
parent
31eb9b5587
commit
2dd0240ce8
9 changed files with 171 additions and 41 deletions
|
@ -1882,6 +1882,14 @@ In the case that MapComplete is pointed to the testing grounds, the edit will be
|
|||
return [].concat(...param)
|
||||
}
|
||||
|
||||
public static sum(list: number[]): number {
|
||||
let total = 0
|
||||
for (const number of list) {
|
||||
total += number
|
||||
}
|
||||
return total
|
||||
}
|
||||
|
||||
/**
|
||||
*
|
||||
* JSON.stringify(Utils.reorder({b: "0", a: "1"}, ["a", "b"])) // => '{"a":"1","b":"0"}'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue