Ignore tiling scheme of the source for internal meta urls (#54)
This commit is contained in:
parent
820dbdd3dd
commit
18ba6f5059
1 changed files with 1 additions and 0 deletions
|
@ -202,6 +202,7 @@ module.exports = function(options, repo, params, id, dataResolver) {
|
|||
// meta url which will be detected when requested
|
||||
'mbtiles://' + name + '/{z}/{x}/{y}.' + (info.format || 'pbf')
|
||||
];
|
||||
delete source.scheme;
|
||||
if (source.format == 'pbf') {
|
||||
map.sources[name].emptyTile = new Buffer(0);
|
||||
} else {
|
||||
|
|
Loading…
Reference in a new issue