mirror of
https://github.com/maptiler/tileserver-gl.git
synced 2024-11-10 12:44:22 +03:00
Minor fix for autodetected bounds in tilejson
This commit is contained in:
parent
25c87ccf23
commit
4c2157842c
@ -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 New Issue
Block a user