From 5048388d1fbfce3f983e6ee0338bafaa90e947ce Mon Sep 17 00:00:00 2001 From: Petr Sloup Date: Thu, 14 Feb 2019 11:10:56 +0100 Subject: [PATCH] Try to reduce number of broken labels on tile edges (#344, #347) --- src/serve_rendered.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/serve_rendered.js b/src/serve_rendered.js index 34583842e..0ec7c998a 100644 --- a/src/serve_rendered.js +++ b/src/serve_rendered.js @@ -146,6 +146,7 @@ module.exports = function(options, repo, params, id, publicUrl, dataResolver) { var createPool = function(ratio, min, max) { var createRenderer = function(ratio, createCallback) { var renderer = new mbgl.Map({ + mode: "tile", ratio: ratio, request: function(req, callback) { var protocol = req.url.split(':')[0];