🎨 setting bright's background to black

This commit is contained in:
Michael Straßburger 2016-09-28 22:51:28 +02:00
parent a7c8a4206b
commit 814d698203
3 changed files with 3 additions and 3 deletions

View File

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

View File

@ -15,7 +15,7 @@ utils = require './utils'
module.exports = class Termap
config:
styleFile: __dirname+"/../styles/basic.json"
styleFile: __dirname+"/../styles/bright.json"
zoomStep: 0.4
width: null

View File

@ -5,7 +5,7 @@
"type": "background",
"id": "background",
"paint": {
"background-color": "#f8f4f0"
"background-color": "#000"
}
},
{