From 1fc486b1b94ffe62f87913b8c2fa213f58a237e3 Mon Sep 17 00:00:00 2001 From: javi Date: Wed, 1 Jun 2016 14:31:14 +0200 Subject: [PATCH] adds expression: true for attributes supported by turbo --- lib/carto/torque-reference.js | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/lib/carto/torque-reference.js b/lib/carto/torque-reference.js index 4e140c0..f30e0ce 100644 --- a/lib/carto/torque-reference.js +++ b/lib/carto/torque-reference.js @@ -294,7 +294,8 @@ var _mapnik_reference_latest = { "type": "color", "default-value": "rgba(128,128,128,1)", "default-meaning": "gray and fully opaque (alpha = 1), same as rgb(128,128,128)", - "doc": "Fill color to assign to a polygon" + "doc": "Fill color to assign to a polygon", + "expression": true }, "fill-opacity": { "css": "polygon-opacity", @@ -402,13 +403,15 @@ var _mapnik_reference_latest = { "default-value": "rgba(0,0,0,1)", "type": "color", "default-meaning": "black and fully opaque (alpha = 1), same as rgb(0,0,0)", - "doc": "The color of a drawn line" + "doc": "The color of a drawn line", + "expression": true }, "stroke-width": { "css": "line-width", "default-value": 1, "type": "float", - "doc": "The width of a line in pixels" + "doc": "The width of a line in pixels", + "expression": true }, "stroke-opacity": { "css": "line-opacity", @@ -657,7 +660,8 @@ var _mapnik_reference_latest = { "css": "marker-fill", "default-value": "blue", "doc": "The color of the area of the marker.", - "type": "color" + "type": "color", + "expression": true }, "allow-overlap": { "css": "marker-allow-overlap",