aboutsummaryrefslogtreecommitdiff
path: root/utils/tilekeys.js
blob: ffdf1683bd755cb322719baf835200f0fab76070 (plain)
1
2
// Gets keys from tiles, like the kind returned from tileUpdate or fetch
module.exports = tiles => Object.keys(tiles).map(coord => coord.split(',').map(num => parseInt(num)));