diff --git a/config.js b/config.js new file mode 100644 index 0000000..d21a673 --- /dev/null +++ b/config.js @@ -0,0 +1,5 @@ +exports.styles = [{ + 'name' : 'testing', + 'file' : 'mapnik.xml', + //add some values for e.g. expire +} ]; diff --git a/main.js b/main.js index 37b3623..3f7e19d 100644 --- a/main.js +++ b/main.js @@ -1,3 +1,4 @@ +var config = require('./config'); //include config file var mapnik = require('mapnik'); var TC = require('./node-tokyocabinet/build/default/tokyocabinet');