Minor fix for autodetected bounds in tilejson
This commit is contained in:
+3
-1
@@ -102,7 +102,9 @@ var startWithMBTiles = function(mbtilesFile) {
|
|||||||
if (styleFilename.endsWith('.json')) {
|
if (styleFilename.endsWith('.json')) {
|
||||||
var styleObject = {
|
var styleObject = {
|
||||||
"style": path.basename(styleFilename),
|
"style": path.basename(styleFilename),
|
||||||
"bounds": bounds
|
"tilejson": {
|
||||||
|
"bounds": bounds
|
||||||
|
}
|
||||||
};
|
};
|
||||||
config['styles'][path.basename(styleFilename, '.json')] =
|
config['styles'][path.basename(styleFilename, '.json')] =
|
||||||
styleObject;
|
styleObject;
|
||||||
|
|||||||
Reference in New Issue
Block a user