mirror of
https://github.com/rastapasta/mapscii.git
synced 2024-11-21 23:53:08 +01:00
🎨 setting bright's background to black
This commit is contained in:
parent
a7c8a4206b
commit
814d698203
2
main.js
2
main.js
@ -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();
|
||||
|
@ -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
|
||||
|
@ -5,7 +5,7 @@
|
||||
"type": "background",
|
||||
"id": "background",
|
||||
"paint": {
|
||||
"background-color": "#f8f4f0"
|
||||
"background-color": "#000"
|
||||
}
|
||||
},
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user