From 4421294a4e76be45d0a097a2128313b815c593be Mon Sep 17 00:00:00 2001 From: javi Date: Tue, 1 Dec 2015 20:10:58 +0100 Subject: [PATCH] fixed marker-opacity --- lib/torque/renderer/rectangle.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/torque/renderer/rectangle.js b/lib/torque/renderer/rectangle.js index b9bc4b1..d61be59 100644 --- a/lib/torque/renderer/rectangle.js +++ b/lib/torque/renderer/rectangle.js @@ -24,7 +24,7 @@ torque.extend(PixelRenderer.prototype, PointRenderer.prototype, { return { width: st['marker-width'], color: st['marker-fill'], - fill_opacity: st['marker-fill-opacity'] + fill_opacity: st['marker-fill-opacity'] === undefined ? 1.0: st['marker-fill-opacity'] } },