diff --git a/lib/torque/renderer/point.js b/lib/torque/renderer/point.js index 5130133..e7db7cd 100644 --- a/lib/torque/renderer/point.js +++ b/lib/torque/renderer/point.js @@ -110,13 +110,13 @@ var carto = global.carto || require('carto'); return null; } - if (st['marker-opacity'] === 0 && !st['line-opacity']) { + if (st['marker-opacity'] === 0 && !st['marker-line-opacity']) { return null; } var canvas = this._createCanvas(); // take into account the exterior ring to calculate the size - var canvasSize = (st['line-width'] || 0) + pointSize*2; + var canvasSize = (st['marker-line-width'] || 0) + pointSize*2; var ctx = canvas.getContext('2d'); var w = ctx.width = canvas.width = ctx.height = canvas.height = Math.ceil(canvasSize); ctx.translate(w/2, w/2);