mirror of
https://github.com/rastapasta/mapscii.git
synced 2024-11-21 15:43:08 +01:00
Decaffeinate config
This commit is contained in:
parent
ac784977d9
commit
48367926c2
@ -1,41 +0,0 @@
|
||||
module.exports =
|
||||
language: "en"
|
||||
|
||||
# TODO: adapt to osm2vectortiles successor openmaptiles v3)
|
||||
# mapscii.me hosts the last available version, 2016-06-20
|
||||
source: "http://mapscii.me/"
|
||||
|
||||
#source: __dirname+"/../mbtiles/regensburg.mbtiles"
|
||||
|
||||
styleFile: __dirname+"/../styles/dark.json"
|
||||
|
||||
initialZoom: null
|
||||
maxZoom: 18
|
||||
zoomStep: 0.2
|
||||
|
||||
simplifyPolylines: false
|
||||
|
||||
useBraille: true
|
||||
|
||||
# Downloaded files get persisted in ~/.mapscii
|
||||
persistDownloadedTiles: true
|
||||
|
||||
tileRange: 14
|
||||
projectSize: 256
|
||||
|
||||
labelMargin: 5
|
||||
|
||||
layers:
|
||||
housenum_label: margin: 4
|
||||
poi_label: cluster: true, margin: 5
|
||||
place_label: cluster: true
|
||||
state_label: cluster: true
|
||||
|
||||
input: process.stdin
|
||||
output: process.stdout
|
||||
|
||||
headless: false
|
||||
|
||||
delimeter: "\n\r"
|
||||
|
||||
poiMarker: "◉"
|
52
src/config.js
Normal file
52
src/config.js
Normal file
@ -0,0 +1,52 @@
|
||||
module.exports = {
|
||||
language: 'en',
|
||||
|
||||
// TODO: adapt to osm2vectortiles successor openmaptiles v3)
|
||||
// mapscii.me hosts the last available version, 2016-06-20
|
||||
source: 'http://mapscii.me/',
|
||||
|
||||
//source: __dirname+"/../mbtiles/regensburg.mbtiles",
|
||||
|
||||
styleFile: __dirname+'/../styles/dark.json',
|
||||
|
||||
initialZoom: null,
|
||||
maxZoom: 18,
|
||||
zoomStep: 0.2,
|
||||
|
||||
simplifyPolylines: false,
|
||||
|
||||
useBraille: true,
|
||||
|
||||
// Downloaded files get persisted in ~/.mapscii
|
||||
persistDownloadedTiles: true,
|
||||
|
||||
tileRange: 14,
|
||||
projectSize: 256,
|
||||
|
||||
labelMargin: 5,
|
||||
|
||||
layers: {
|
||||
housenum_label: {
|
||||
margin: 4
|
||||
},
|
||||
poi_label: {
|
||||
cluster: true,
|
||||
margin: 5,
|
||||
},
|
||||
place_label: {
|
||||
cluster: true,
|
||||
},
|
||||
state_label: {
|
||||
cluster: true,
|
||||
},
|
||||
},
|
||||
|
||||
input: process.stdin,
|
||||
output: process.stdout,
|
||||
|
||||
headless: false,
|
||||
|
||||
delimeter: '\n\r',
|
||||
|
||||
poiMarker: '◉',
|
||||
};
|
Loading…
Reference in New Issue
Block a user