Merge 5dad07c589 into 1243405807
This commit is contained in:
commit
adf7e65119
2 changed files with 2 additions and 0 deletions
|
|
@ -145,6 +145,7 @@ export const serve_data = {
|
||||||
Object.assign(tileJSON, info);
|
Object.assign(tileJSON, info);
|
||||||
|
|
||||||
tileJSON['tilejson'] = '2.0.0';
|
tileJSON['tilejson'] = '2.0.0';
|
||||||
|
tileJSON['id'] = id;
|
||||||
delete tileJSON['filesize'];
|
delete tileJSON['filesize'];
|
||||||
delete tileJSON['mtime'];
|
delete tileJSON['mtime'];
|
||||||
delete tileJSON['scheme'];
|
delete tileJSON['scheme'];
|
||||||
|
|
|
||||||
|
|
@ -1063,6 +1063,7 @@ export const serve_rendered = {
|
||||||
const tileJSON = {
|
const tileJSON = {
|
||||||
'tilejson': '2.0.0',
|
'tilejson': '2.0.0',
|
||||||
'name': styleJSON.name,
|
'name': styleJSON.name,
|
||||||
|
'id': id,
|
||||||
'attribution': '',
|
'attribution': '',
|
||||||
'minzoom': 0,
|
'minzoom': 0,
|
||||||
'maxzoom': 20,
|
'maxzoom': 20,
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue