🎨 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(); termap = new Termap();
// TODO: abstracing this class, create loader class // 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); tile = new Tile(data);
termap.renderer.features = tile.layers termap.renderer.features = tile.layers
termap._draw(); termap._draw();

View File

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

View File

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