0

Torque で CartoDB の視覚化を試しています。私のcssファイルには次のものがあります:

Map {
-torque-frame-count:24;
-torque-animation-duration:10;
-torque-time-attribute:"hour";
-torque-aggregation-function:"count(cartodb_id)";
-torque-resolution:2;
-torque-data-aggregation:linear;
}

#sampledata{
  image-filters: colorize-alpha(blue, cyan, lightgreen, yellow , orange, red);
  marker-file: url(http://s3.amazonaws.com/com.cartodb.assets.static/alphamarker.png);
  marker-fill-opacity: 0.4*[value];
  marker-width: 35;
}

しかし、この CSS は次のエラーにつながります: 「15 行目: マーカー フィル 不透明度の値が無効です。タイプ float が必要です。0.4*[値] (タイプ フィールド) が指定されました。」

トルク集約の値に基づいて不透明度を指定する方法はありますか?

どうもありがとうございました、

4

1 に答える 1