I am trying to make a map that would show the total load of a bus. I have plotted the route and set up the time constraints. The ellipse is moving and seems to work fine, but when I try to style the ellipses based on the amount of load the marker-fill is completely removed.
Has anyone had this problem before?
/** torque visualization */
Map {
-torque-aggregation-function:"round(avg(load))";
-torque-resolution: 2;
}
#table_14{
comp-op: lighter;
marker-fill-opacity: 0.9;
marker-line-color: #FFFFFF;
marker-line-width: 0.5;
marker-line-opacity: 1;
marker-type: ellipse;
marker-width: 6;
}
#table_11
[value >10] { marker-fill: #000; }
#table_11
[value > 8] { marker-fill: #400; }
#table_11
[value > 3] { marker-fill: #800; }
#table_11
[value > 0] { marker-fill: #F00; }
No comments:
Post a Comment