mirror of
https://github.com/rastapasta/mapscii.git
synced 2025-06-20 01:37:40 +02:00
deleted config.js and the requirement of the file
This commit is contained in:
parent
23a4174bc9
commit
1bffc8e7b1
1
main.js
1
main.js
@ -8,7 +8,6 @@
|
|||||||
TODO: params parsing and so on
|
TODO: params parsing and so on
|
||||||
#*/
|
#*/
|
||||||
'use strict';
|
'use strict';
|
||||||
const config = require('./src/config');
|
|
||||||
const Mapscii = require('./src/Mapscii');
|
const Mapscii = require('./src/Mapscii');
|
||||||
const argv = require('yargs')
|
const argv = require('yargs')
|
||||||
.option('latitude', {
|
.option('latitude', {
|
||||||
|
@ -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: '◉',
|
|
||||||
};
|
|
Loading…
x
Reference in New Issue
Block a user