Minor fix for autodetected bounds in tilejson

This commit is contained in:
Petr Sloup 2016-08-24 13:19:36 +02:00
parent 25c87ccf23
commit 4c2157842c

View File

@ -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;