Skip to content

Commit

Permalink
Try to reduce number of broken labels on tile edges (#344, #347)
Browse files Browse the repository at this point in the history
  • Loading branch information
petrsloup committed Dec 30, 2019
1 parent 4c7a227 commit 5048388
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 @@ -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];
Expand Down

0 comments on commit 5048388

Please sign in to comment.