Skip to content

Commit

Permalink
Ignore tiling scheme of the source for internal meta urls (#54)
Browse files Browse the repository at this point in the history
  • Loading branch information
petrsloup committed Sep 30, 2016
1 parent 820dbdd commit 18ba6f5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/serve_rendered.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 18ba6f5

Please sign in to comment.