Trying to figure out why raster isn't working.
This commit is contained in:
parent
59210b0c8b
commit
bb3fb5ba3b
1 changed files with 1 additions and 3 deletions
|
@ -139,7 +139,6 @@ module.exports = function(options, repo, params, id, dataResolver) {
|
||||||
var createPool = function(ratio, min, max) {
|
var createPool = function(ratio, min, max) {
|
||||||
var createRenderer = function(ratio, createCallback) {
|
var createRenderer = function(ratio, createCallback) {
|
||||||
var renderer = new mbgl.Map({
|
var renderer = new mbgl.Map({
|
||||||
debug: { parseStatus: true, tileBorders: true},
|
|
||||||
ratio: ratio,
|
ratio: ratio,
|
||||||
request: function(req, callback) {
|
request: function(req, callback) {
|
||||||
var protocol = req.url.split(':')[0];
|
var protocol = req.url.split(':')[0];
|
||||||
|
@ -393,8 +392,7 @@ module.exports = function(options, repo, params, id, dataResolver) {
|
||||||
bearing: bearing,
|
bearing: bearing,
|
||||||
pitch: pitch,
|
pitch: pitch,
|
||||||
width: width,
|
width: width,
|
||||||
height: height,
|
height: height
|
||||||
debug: { parseStatus: true, tileBorders: true}
|
|
||||||
};
|
};
|
||||||
if (z == 0) {
|
if (z == 0) {
|
||||||
params.width *= 2;
|
params.width *= 2;
|
||||||
|
|
Loading…
Reference in a new issue