diff --git a/lib/torque/renderer/rectangle.js b/lib/torque/renderer/rectangle.js index e7bc6b7..ff027ce 100644 --- a/lib/torque/renderer/rectangle.js +++ b/lib/torque/renderer/rectangle.js @@ -50,8 +50,8 @@ torque.extend(PixelRenderer.prototype, PointRenderer.prototype, { if (sp) { var x = tile.x[posIdx]- (sp.width >> 1) + anchor; var y = tileMax - tile.y[posIdx] + anchor; // flip mercator - ctx.fillStyle = sp.color; - ctx.fillRect(x, y, sp.width, sp.width); + ctx.fillStyle = sp.color; + ctx.fillRect(x, y, sp.width, sp.width); } } }