🍺 comitting current dev stage of various refactors

This commit is contained in:
Michael Straßburger
2016-11-02 13:19:46 +01:00
parent eb88d231a9
commit da6c398e6d
6 changed files with 186 additions and 87 deletions

View File

@@ -15,9 +15,4 @@ const Termap = require(__dirname+'/src/Termap');
const Tile = require(__dirname+'/src/Tile')
termap = new Termap();
// TODO: abstracing this class, create loader class
data = fs.readFileSync(__dirname+"/tiles/world.pbf.gz");
tile = new Tile(data);
termap.renderer.features = tile.layers
termap._draw();
termap.init();