Minor fix for autodetected bounds in tilejson
This commit is contained in:
parent
25c87ccf23
commit
4c2157842c
1 changed files with 3 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue