From 4c2157842cd75ea4f826663c032eed6cefa03561 Mon Sep 17 00:00:00 2001 From: Petr Sloup Date: Wed, 24 Aug 2016 13:19:36 +0200 Subject: [PATCH] Minor fix for autodetected bounds in tilejson --- src/main.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/main.js b/src/main.js index 1f93ece..5d55bdc 100644 --- a/src/main.js +++ b/src/main.js @@ -102,7 +102,9 @@ var startWithMBTiles = function(mbtilesFile) { if (styleFilename.endsWith('.json')) { var styleObject = { "style": path.basename(styleFilename), - "bounds": bounds + "tilejson": { + "bounds": bounds + } }; config['styles'][path.basename(styleFilename, '.json')] = styleObject;