diff --git a/main.js b/main.js index 462b9ed..95f11e1 100644 --- a/main.js +++ b/main.js @@ -8,7 +8,6 @@ TODO: params parsing and so on #*/ 'use strict'; -const config = require('./src/config'); const Mapscii = require('./src/Mapscii'); const argv = require('yargs') .option('latitude', { diff --git a/src/config.js b/src/config.js deleted file mode 100644 index dd4edef..0000000 --- a/src/config.js +++ /dev/null @@ -1,59 +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, - - // sf lat: 37.787946, lon: -122.407522 - // iceland lat: 64.124229, lon: -21.811552 - // rgbg - // lat: 49.019493, lon: 12.098341 - initialLat: 52.51298, - initialLon: 13.42012, - - 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: '◉', -};